forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Dialog Title on Center window

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
filip
Valued Contributor
Valued Contributor


Joined: 07 Aug 2004
Posts: 340

PostPosted: Mon Nov 08, 2004 3:13 pm    Post subject: Dialog Title on Center window Reply with quote

Can Dialog use Title on Center window like Win 3.11 or MAC style....
Back to top
View user's profile Send private message Send e-mail
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Mon Nov 08, 2004 4:09 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Tue Nov 09, 2004 12:59 am    Post subject: Reply with quote

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
View user's profile Send private message
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Wed Nov 10, 2004 2:04 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Wed Nov 10, 2004 5:31 pm    Post subject: Reply with quote

Sorry Sad
_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group