Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This macro retrieves the height in pixels of a command bands control.
Syntax
UINT CommandBands_Height( HWND hwndCmdBands ); |
Parameters
- hwndCmdBands
-
Window handle to the command bands control. This handle is returned when the command bands control is created by the CommandBands_Createfunction.
Return Value
The height, in pixels, of the command bands control.
Remarks
Because the command bar occupies part of the client area of an application's main window, you should call this macro to determine the actual size of the client area.
Requirements
Header | commctrl.h |
Windows Embedded CE | Windows CE 2.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |