#include "dlgtypes.h"
#include "ops.h"
Go to the source code of this file.
Classes | |
class | DragTarget |
An instantiation of this class is created by each entity which wishes to provide a 'destination' to which the mouse can go to complete a drag. More... | |
class | KernelDragTarget |
An instantiation of this class is created by each entity which wishes to provide a 'destination' to which the mouse can go to complete a drag. KernelDragTargets are used as a base class from which to derive drag targets for KERNEL entities (usually a DialogOp and optional Gadget ID). More... | |
class | OilDragTarget |
An instantiation of this class is created by each entity which wishes to provide a 'destination' to which the mouse can go to complete a drag. OilDragTargets are used as a base class from which to derive drag targets for WINOIL entities (an optional HWND). More... | |
Enumerations | |
enum | ObjectDragTarget { NO_TARGET, FILL_TARGET, LINE_TARGET, STARTCOL_TARGET, ENDCOL_TARGET, ENDCOL2_TARGET, ENDCOL3_TARGET, MANY_TARGET } |
enum | DragEventType { DRAGEVENT_INITIALISE, DRAGEVENT_ABORT, DRAGEVENT_COMPLETED, DRAGEVENT_MOUSEMOVED, DRAGEVENT_MOUSESTOPPED, DRAGEVENT_MOUSEIDLE, DRAGEVENT_KEYPRESS, DRAGEVENT_DEINITIALISE } |
|
Comment: This enumerated type specifies all the drag event types that can be passed to a DragTarget during a global drag operation. The possible events are (prefix with 'DRAGEVENT_'): MonoOn INITIALISE Given to all Targets once all targets have been registered with the drag manager DEINITIALISE Given to all Targets immediately prior to the drag manager closing down ABORT Sent when the drag is aborted COMPLETED Sent when the drag is successfully completed MOUSEMOVED Sent whenever the mouse pointer moves MOUSESTOPPED Sent whenever the mouse pointer stops moving MOUSEIDLE Sent whenever the mouse pointer stays stationary KEYPRESS Sent whenever a key is pressed MonoOff Notes: INITIALISE, ABORT, COMPLETED, MOUSEMOVED should never be claimed by any DragTarget, so that all DragTargets know about the event. Documentation: Docs.doc
Definition at line 157 of file dragtrgt.h. 00158 { 00159 DRAGEVENT_INITIALISE, 00160 DRAGEVENT_ABORT, 00161 DRAGEVENT_COMPLETED, 00162 DRAGEVENT_MOUSEMOVED, 00163 DRAGEVENT_MOUSESTOPPED, 00164 DRAGEVENT_MOUSEIDLE, 00165 DRAGEVENT_KEYPRESS, 00166 DRAGEVENT_DEINITIALISE 00167 } DragEventType;
|
|
Definition at line 113 of file dragtrgt.h. 00114 { 00115 NO_TARGET, 00116 FILL_TARGET, 00117 LINE_TARGET, 00118 STARTCOL_TARGET, 00119 ENDCOL_TARGET, 00120 ENDCOL2_TARGET, 00121 ENDCOL3_TARGET, 00122 MANY_TARGET 00123 };
|