Can I know Height of VB MDI Form 's Client Area ?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: Can I know Height of VB MDI Form 's Client Area ?

  1. #1
    Matty Guest

    Can I know Height of VB MDI Form 's Client Area ?


    Can I know Height of VB MDI Form 's Client Area ?
    and what api function that can get Active Title bar and menu bar 's height
    ?

    Thank in advance




  2. #2
    Matthew Curland Guest

    Re: Can I know Height of VB MDI Form 's Client Area ?

    ScaleHeight will give you the client height in twips on an MDIForm. Why do
    you need the other measurements if you know the client area? An idea of what
    you're trying to do or calculate (the end result, not the intermediate
    steps) might be useful here. -Matt

    > Can I know Height of VB MDI Form 's Client Area ?
    > and what api function that can get Active Title bar and menu bar 's height
    > ?





  3. #3
    Matthew Curland Guest

    Re: Can I know Height of VB MDI Form 's Client Area ?

    ScaleHeight will give you the client height in twips on an MDIForm. Why do
    you need the other measurements if you know the client area? An idea of what
    you're trying to do or calculate (the end result, not the intermediate
    steps) might be useful here. -Matt

    > Can I know Height of VB MDI Form 's Client Area ?
    > and what api function that can get Active Title bar and menu bar 's height
    > ?





  4. #4
    Karl E. Peterson Guest

    Re: Can I know Height of VB MDI Form 's Client Area ?

    You might find the NCMetrics.zip sample on my site useful.
    --
    http://www.mvps.org/vb


    "Matty" <yutthasak@hotmail.com> wrote in message news:3b0e30df$1@news.devx.com...
    >
    > Can I know Height of VB MDI Form 's Client Area ?
    > and what api function that can get Active Title bar and menu bar 's height
    > ?
    >
    > Thank in advance
    >
    >
    >



  5. #5
    Karl E. Peterson Guest

    Re: Can I know Height of VB MDI Form 's Client Area ?

    You might find the NCMetrics.zip sample on my site useful.
    --
    http://www.mvps.org/vb


    "Matty" <yutthasak@hotmail.com> wrote in message news:3b0e30df$1@news.devx.com...
    >
    > Can I know Height of VB MDI Form 's Client Area ?
    > and what api function that can get Active Title bar and menu bar 's height
    > ?
    >
    > Thank in advance
    >
    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center