home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / programm / 6331 < prev    next >
Encoding:
Text File  |  1992-11-10  |  1.1 KB  |  24 lines

  1. Newsgroups: comp.os.os2.programmer
  2. 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
  3. From: tdukes@eng.auburn.edu (Todd J Dukes)
  4. Subject: How Do You Calculate Menu Height?
  5. Message-ID: <tdukes.921111000734@hopper.ee.eng.auburn.edu>
  6. Sender: usenet@news.duc.auburn.edu (News Account)
  7. Nntp-Posting-Host: hopper.ee.eng.auburn.edu
  8. Organization: Auburn University Engineering
  9. Date: Wed, 11 Nov 1992 06:07:34 GMT
  10. Lines: 12
  11.  
  12. I am trying to calculate the size of the drawing area in a window. I 
  13. can get the total size, but this seems to include the menu area. I 
  14. thought about subtracting a constant size for the menu but when the user
  15. makes the window narrower the menu may become two or more lines. Is there 
  16. any way to find the current size (verticle height) of a window's menu? 
  17. The only references I saw in the on-line documentation that comes with the 
  18. beta OS/2 developer's toolkit is about returning the menu height in responce 
  19. to a particular message.
  20.  
  21. Thanks
  22. Todd
  23. tdukes@eng.auburn.edu
  24.