DrgCancelLazyDrag: Difference between revisions
Appearance
Created page with "This function is called to cancel the current drag operation. ==Syntax== DrgCancelLazyDrag() ==Returns== ;rc (BOOL) - returns: Success indicator. :: TRUE - Lazy drag is successfully canceled. :: FALSE - An error occurred. ==Remarks== This function posts the DM_DROPNOTIFY message to the source window, specifying a target window handle of zero in hwndTarget. The source window must then free DRAGINFO using DrgFreeDraginfo. ==Example Code== <pre> #define INCL_WI..." |
(No difference)
|
Latest revision as of 23:07, 7 April 2025
This function is called to cancel the current drag operation.
Syntax
DrgCancelLazyDrag()
Returns
- rc (BOOL) - returns
- Success indicator.
- TRUE - Lazy drag is successfully canceled.
- FALSE - An error occurred.
Remarks
This function posts the DM_DROPNOTIFY message to the source window, specifying a target window handle of zero in hwndTarget. The source window must then free DRAGINFO using DrgFreeDraginfo.
Example Code
#define INCL_WINSTDDRAG #include <os2.h> BOOL bResult; /* Return code from API */ bResult=DrgCancelLazyDrag();