The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> Micro Focus/Borland/Segue SilkTest

Pages: 1
barrysgil
Newbie


Reged: 03/03/09
Posts: 5
Size of Title Bar and Borders
      #717938 - 10/12/12 02:18 AM

Using a reference to an applications main window, how can I determine the height of the Title Bar or the width of the borders used on the target machine?
I can get the overall size of the Window using RECT, but I can't find the size of the title bar or borders.
Thanks
Barry


Post Extras: Print Post   Remind Me!   Notify Moderator  
eggbox
Advanced Member


Reged: 01/27/02
Posts: 457
Loc: Detroit, Michigan
Re: Size of Title Bar and Borders [Re: barrysgil]
      #718028 - 10/15/12 09:04 AM

GetSystemMetrics() gives you this information.

http://msdn.microsoft.com/en-us/library/windows/desktop/ms724385(v=vs.85).aspx

--------------------
//*eggbox


Post Extras: Print Post   Remind Me!   Notify Moderator  
barrysgil
Newbie


Reged: 03/03/09
Posts: 5
Re: Size of Title Bar and Borders [Re: eggbox]
      #718038 - 10/15/12 11:05 AM

Thanks - Much appreciated.

Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 9 anonymous users are browsing this forum.

Moderator:  AJ, jamesso, DJGray, David Reed 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 1697

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5