home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sdd.hp.com!swrinde!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!darwin.sura.net!news.duc.auburn.edu!eng.auburn.edu!tdukes
- From: tdukes@eng.auburn.edu (Todd J Dukes)
- Subject: How Do You Calculate Menu Height?
- Message-ID: <tdukes.921111000734@hopper.ee.eng.auburn.edu>
- Sender: usenet@news.duc.auburn.edu (News Account)
- Nntp-Posting-Host: hopper.ee.eng.auburn.edu
- Organization: Auburn University Engineering
- Date: Wed, 11 Nov 1992 06:07:34 GMT
- Lines: 12
-
- I am trying to calculate the size of the drawing area in a window. I
- can get the total size, but this seems to include the menu area. I
- thought about subtracting a constant size for the menu but when the user
- makes the window narrower the menu may become two or more lines. Is there
- any way to find the current size (verticle height) of a window's menu?
- The only references I saw in the on-line documentation that comes with the
- beta OS/2 developer's toolkit is about returning the menu height in responce
- to a particular message.
-
- Thanks
- Todd
- tdukes@eng.auburn.edu
-