🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1832

How Do You Calculate Menu Height?

#1832
From: Todd J Dukes
Date: Wed, 11 Nov 1992 06:07
12 lines
1142 bytes
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
Technical Details
Message-ID: <tdukes.921111000734@hopper.ee.eng.auburn.edu>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!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