DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 5 of 5
  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
    >
    >
    >



Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links