LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Get Toolbar height?

I need to know the height of the visible portion of my panel, to properly place items just below the toolbar and not be hidden. I can get the menubar height, but is there a way to determine the height of a toolbar?
0 Kudos
Message 1 of 3
(3,031 Views)
Hello Craig,
Please experiment with the Toolbar_GetAttribute() and Toolbar_SetAttribute() functions. There are mininum and maximum height attributes that I believe come into play when your toolbar is set to auto-scale. Let us know if you have further questions.

Jeremiah Cox
Applications Engineer
National Instruments
http://www.ni.com/ask
0 Kudos
Message 2 of 3
(3,031 Views)
I actually did experiment a bit before posting the question. These give min and max, but not the current height.
0 Kudos
Message 3 of 3
(3,031 Views)