Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Window Title Bar Q.

Author
Message
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 15th Jun 2003 13:54
Does anyone know how to find the height of the title bar at the top of the Window, such that it works for Windows 98 / XP and all the various themes?, as well as the width of the border.
Do you want Windows menus in your DBP apps? - Get my plugin: http://snow.prohosting.com/~clone99/downloads/tpc_menus_103.zip
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 15th Jun 2003 14:30
There is a API for it (had to use it at work), but I cant for the life of me remember what it is (my Platform SDK is incomplete at the moment).

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 15th Jun 2003 14:45
Yup it's
int GetSystemMetrics(int nIndex);

Delphi example


Ogres have layers.
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 15th Jun 2003 16:13
That's great, thanks.

Do you want Windows menus in your DBP apps? - Get my plugin: http://snow.prohosting.com/~clone99/downloads/tpc_menus_103.zip

Login to post a reply

Server time is: 2024-11-23 07:49:09
Your offset time is: 2024-11-23 07:49:09