The CommandBands_Height macro retrieves the height in pixels of a command bands control.
UINT CommandBands_Height (HWND hwndCmdBands);
Header file: | Commctrl.h |
Platforms: | H/PC |
Windows CE versions: | 2.0 and later |
The height, in pixels, of the command bands control.
Because the command bar occupies part of the client area of an application's main window, you should call this function to determine the actual size of the client area.