Contents Index Topic Contents | ||
Previous Topic: DL_BEGINDRAG Next Topic: DL_DRAGGING |
DL_CANCELDRAG
DL_CANCELDRAG idCtl = (WPARAM)(int) wParam; pDragInfo = (LPARAM)(LPDRAGLISTINFO) lParam;Signals that the user has canceled a drag operation by clicking the right mouse button or pressing the ESC key. A drag list box sends DL_CANCELDRAG to its parent window in the form of a drag list message.
- No return value.
- idCtl
- Control identifier of the drag list box.
- pDragInfo
- Address of a DRAGLISTINFO structure that contains the DL_CANCELDRAG notification code, the handle to the drag list box, and the cursor position.
By processing the DL_CANCELDRAG notification message, an application can reset its internal state to indicate that dragging is not in effect.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.