www.icetips.com  Icetips Utilities Documentation 5/9/2015    

Windows Class: GetTaskbarHeight

Previous  Top  Next  


Prototype: (),Long

 

ReturnsReturn the height of the Windows taskbar in pixels

 

This method uses the FindWindow and GetWindowRect api functions to get the height of the shell tray window and thus the taskbar.  There are other ways to do this that can also take into account other dockable toolbars such as MS Office etc. and we may add those later if there is interest.

 

Example:

 

ITW ITWindowsClass

TBH  Long

Code

TBH = ITW.GetTaskBarHeight()

Message('Toolbar Height: ' & TBH)

 

See also:

FindWindow

GetWindowRect

 

 

 



Direct link to this page: http://www.icetips.com/manuals/utilities/gettaskbarheight_window.htm