CommandBands_Height (Windows CE 5.0)

Send Feedback

This macro retrieves the height in pixels of a command bands control.

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_Create function.

Return Values

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

OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.

See Also

CommandBands_Create

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.