Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
Windows Controls
Control Library
Header Control
Macros
 Header_GetItemDropDownRect Macro

  Switch on low bandwidth view
Header_GetItemDropDownRect Macro

Gets the coordinates of the drop-down button for a specfied item in a header control. The header control must be of type HDF_SPLITBUTTON. Use this macro or send the HDM_GETITEMDROPDOWNRECT message explicitly.

Syntax

BOOL Header_GetItemDropDownRect(

    HWND hwnd,     int iItem,     LPRECT lpItemRect );

Parameters

hwnd
[in] A handle to the header control.
iItem
[in] The zero-based index of the header control item for which to retrieve the bounding rectangle.
lpItemRect
[in, out] A pointer to a RECT structure to receive the bounding rectangle information. The message sender is responsible for allocating this structure. The coordinates returned in the RECT structure are expressed as screen coordinates.

Return Value

Macro Information

Minimum DLL Versioncomctl32.dll
Headercommctrl.h
Minimum operating systems Windows Vista
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker