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 message changes the divider color between header items to indicate the destination of an external drag-and-drop operation.

Syntax

HDM_SETHOTDIVIDER 
wParam = (WPARAM) 
flag; 

lParam = (LPARAM) 
dwInputValue;

Parameters

flag

Specifies the type of value represented by dwInputValue. It is one of the following values.

Value Description

TRUE

Indicates that dwInputValueholds the client coordinates of the pointer

FALSE

Indicates that dwInputValueholds a divider index value

dwInputValue

Value held in dwInputValueis interpreted based upon the value of flag.

If flagis TRUE, dwInputValuerepresents the x- and y-coordinates of the pointer. The x-coordinate is in the low-order word, and the y-coordinate is in the high-order word. When the header control receives the message, it highlights the appropriate divider based on the dwInputValuecoordinates.

If flagis FALSE, dwInputValuerepresents the integer index of the divider highlighted.

Return Value

Returns a value equal to the index of the divider that the control highlighted.

Remarks

This message creates an effect that a header control automatically produces when it has the HDS_DRAGDROP style. The HDM_SETHOTDIVIDER message is intended for use when the owner of the control manually handles drag-and-drop operations.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also