By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,365 Members | 1,387 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,365 IT Pros & Developers. It's quick & easy.

Common Dialog

P: n/a
Hi All,

I am using the common dialog color pallete and open forms in VB6.0.

I have two questions:

1. How can the position of these forms on the screen be specified when
they are loaded. By default they always seem to be located with their
upper left corner coinciding with the upper left corner of the form
that they are loaded from. I would prefer them to have an initial
position in the centre of the screen.

2. The application in which these two forms are used is multi-language
(english/espanol) ..... are there any language options for the common
dialog forms ?. I need to have the text on the open form in espanol
.... i.e. Abrir not Open.

Thanks,

Steve
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Not sure if the common control should automatically present it's buttons
etc. in the appropriate language based on the user's settings, but this code
will show you how to use the API colour picker instead of the common control
version thus enabling you to customize its position, as well as change
button and caption text if desired ...
http://www.mvps.org/vbnet/code/hooks...rcustomize.htm

--

Randy Birch
MVP Visual Basic
http://www.mvps.org/vbnet/
Please respond only to the newsgroups so all can benefit.
"smjmitchell" <sm*********@yahoo.com> wrote in message
news:de**************************@posting.google.c om...
: Hi All,
:
: I am using the common dialog color pallete and open forms in VB6.0.
:
: I have two questions:
:
: 1. How can the position of these forms on the screen be specified when
: they are loaded. By default they always seem to be located with their
: upper left corner coinciding with the upper left corner of the form
: that they are loaded from. I would prefer them to have an initial
: position in the centre of the screen.
:
: 2. The application in which these two forms are used is multi-language
: (english/espanol) ..... are there any language options for the common
: dialog forms ?. I need to have the text on the open form in espanol
: ... i.e. Abrir not Open.
:
: Thanks,
:
: Steve
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.