CHeaderCtrl::SetHotDivider

int SetHotDivider( CPoint pt );

int SetHotDivider( int nIndex );

Return Value

The index of the highlighted divider.

Parameters

pt

The position of the pointer. The header control highlights the appropriate divider based on the pointer’s position.

nIndex

The index of the highlighted divider.

Remarks

This member function implements the behavior of the Win32 message HDM_SETHOTDIVIDER, as described in the Platform SDK. It is provided to support header item drag and drop.

Example

// The pointer to my header control.
extern CHeaderCtrl* pmyHeaderCtrl;
// The point where the mouse cursor is at.
extern CPoint myPoint;

pmyHeaderCtrl->SetHotDivider(myPoint);

CHeaderCtrl OverviewClass MembersHierarchy Chart