171)+ How can I disable Drag and Drop in my Motif 1.2 client ?
[Last modified: December]
Answer: Set the XmDisplay drag-protocol resources to XmDRAG_NONE.
The following code fragment demonstrates this:
#include <Xm/Display.h>
dw = XmGetXmDisplay(XtDisplay(shell));
/* where "shell" is your client's top-level shell. */
XtVaSetValues(dw, XmNdragInitiatorProtocolStyle, XmDRAG_NONE, NULL);
XtVaSetValues(dw, XmNdragReceiverProtocolStyle, XmDRAG_NONE, NULL);
thanks to Lance Purple (purple@austin.ibm.com)
Go Back Up
Go To Previous
Go To Next