The information in this article applies to:
SYMPTOMSA drag list box in an improperly coded dialog box sends DL_BEGINDRAG and DL_DROPPED notifications, but no DL_DRAGGING notifications. CAUSEThe DragList control relies on the value that is returned in response to its DL_BEGINDRAG notification in order to acknowledge the start of the drag. If this value is not returned properly, the further drag messages will not be sent. RESOLUTIONIn a Dialog Box, the value returned from the dialog box procedure is a BOOL that tells DefDlgProc whether or not the message has been handled. The returned value is not the value that is returned as the result of a sent message. To properly return a value from a dialog box procedure, the return value needs to be placed in the DWL_MSGRESULT window long position, and then TRUE must be returned from the dialog box procedure:
STATUSThis behavior is by design. Additional query words:
Keywords : kbCtrl kbDragList kbNTOS kbGrpUser kbWinOS |
Last Reviewed: December 7, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |