469,631 Members | 1,521 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,631 developers. It's quick & easy.

Common Dialog

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
1 5294
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.

Similar topics

5 posts views Thread by John Lauwers | last post: by
1 post views Thread by Gord | last post: by
3 posts views Thread by CaribSoft | last post: by
23 posts views Thread by George | last post: by
4 posts views Thread by Adam | last post: by
reply views Thread by Bo Gusman | last post: by
6 posts views Thread by Steve Barnett | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.