| View previous topic :: View next topic |
| Author |
Message |
filip Valued Contributor


Joined: 07 Aug 2004 Posts: 340
|
Posted: Mon Nov 08, 2004 3:13 pm Post subject: Dialog Title on Center window |
|
|
| Can Dialog use Title on Center window like Win 3.11 or MAC style.... |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Mon Nov 08, 2004 4:09 pm Post subject: |
|
|
I don't know if it's possible. There is certainly no style in VDS to do this. Centered titles were the standard in Windows 3. Left justified has been the standard since Windows 95, and applications should stick to these standards to avoid confusing or annoying users. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Tue Nov 09, 2004 12:59 am Post subject: |
|
|
I do believe there is an api call floating around for this.
Yes, in a way this is available through an API. Codescript did an example
for a MAC style window, it does center the text of the title bar, but it also
reverses the buttons of the title bar from the right side to the left side.
I imagine though that with some research and experimenting that you may
find a way to leave the title bar buttons alone and just center the text.
http://codescript.vdsworld.com/Webpages/SourceCodes.htm
http://codescript.vdsworld.com/VDS5src/Funny%20(Mac%20Style)%20Window.zip _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
SnarlingSheep Professional Member


Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Wed Nov 10, 2004 2:04 am Post subject: |
|
|
CodeScript's example doesn't actually center the title, it's just long enough to appear centered.. Change it to something shorter and it's on the right. _________________ -Sheep
My pockets hurt... |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Wed Nov 10, 2004 5:31 pm Post subject: |
|
|
Sorry  _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
|