|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| -
| Header File
| commctrl.h
| Unicode
| No
| Platform Notes
| None
|
|
|
DL_DRAGGING
The DL_DRAGGING notification message signals that the user has moved the mouse
while dragging an item. DL_DRAGGING is also sent periodically during dragging
even if the mouse is not moved. A drag list box sends this notification to its
parent window in the form of a drag list message.
DL_DRAGGING
idCtl = (int) wParam;
pDragInfo = (LPDRAGLISTINFO) lParam;
Parameters
idCtl
Control identifier of the drag list box.
pDragInfo
Pointer to a DRAGLISTINFO structure that contains the DL_DRAGGING notification code, the handle to the
drag list box, and the cursor position.
Return Values
The return value determines the type of mouse cursor that the drag list should
set; it can be the DL_STOPCURSOR, DL_COPYCURSOR, or DL_MOVECURSOR value. If
any other value is returned, the cursor does not change.
Remarks
A window procedure typically processes the DL_DRAGGING notification message by
determining the item under the cursor and then drawing an insert icon. To get
the item under the cursor, use the LBItemFromPt function, specifying TRUE for the bAutoScroll parameter. This option causes the drag list box to scroll periodically if the
cursor is above or below its client area. To draw the insert icon, use the DrawInsert function.
See Also
DrawInsert, DRAGLISTINFO, LBItemFromPt
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|