Results 1 to 2 of 2

Thread: Need to retrieve WIndows Title Bar Height!!!

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2003
    Posts
    16

    Question Need to retrieve WIndows Title Bar Height!!!

    I am writing an application in VB.NET and would like to retrieve the Windows Title Bar height.

    I have found that between Windows 2000 and Windows XP they have a different height as Windows XP seems to be a little larger.

    Can anybody help me please???

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    See this :
    VB Code:
    1. MessageBox.Show(Me.Height - Me.ClientSize.Height)
    It calculates the size of the form excluding title bar .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width