dragtrgt.h File Reference

(r1785/r1272)

#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
}


Enumeration Type Documentation

enum DragEventType
 

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

See also:
DragManagerOp; DragTarget; DragManagerOp::ProcessEvent; DragTarget::ProcessEvent
Enumerator:
DRAGEVENT_INITIALISE 
DRAGEVENT_ABORT 
DRAGEVENT_COMPLETED 
DRAGEVENT_MOUSEMOVED 
DRAGEVENT_MOUSESTOPPED 
DRAGEVENT_MOUSEIDLE 
DRAGEVENT_KEYPRESS 
DRAGEVENT_DEINITIALISE 

Definition at line 157 of file dragtrgt.h.

enum ObjectDragTarget
 

Enumerator:
NO_TARGET 
FILL_TARGET 
LINE_TARGET 
STARTCOL_TARGET 
ENDCOL_TARGET 
ENDCOL2_TARGET 
ENDCOL3_TARGET 
MANY_TARGET 

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 };


Generated on Sat Nov 10 03:49:30 2007 for Camelot by  doxygen 1.4.4