Static Public Member Functions | List of all members
StateCallback Class Reference

Static methods on this class are used to designate user-supplied functions that are called by MicroStation for certain user events. More...

Static Public Member Functions

static StateFunc_DataPoint SetDataPointFunction (StateFunc_DataPoint newFunc)
 An MDL application can use this to set a function to be called when the user enters a data point. More...
 
static StateFunc_Reset SetResetFunction (StateFunc_Reset newFunc)
 An MDL application can use this to set a function to be called when the user enters a Reset. More...
 
static StateFunc_Keyin SetKeyinFunction (StateFunc_Keyin newFunc)
 An MDL application can use this to set a function to be called when the user enters a key-in. More...
 
static StateFunc_ComplexDynamics SetComplexDynamicsFunction (StateFunc_ComplexDynamics newFunc)
 An MDL application can use this to set a function to be called when the cursor is moved. More...
 
static StateFunc_CommandCleanup SetCommandCleanupFunction (StateFunc_CommandCleanup newFunc)
 An MDL application can use this to set a function to be called when a command is terminated. More...
 
static StateFunc_Oops SetOopsFunction (StateFunc_Oops newFunc)
 An MDL application can use this to set a function to be called when NEEDSWORK_VANCOUVER_DOC. More...
 
static StateFunc_DragInit SetDragInitFunction (StateFunc_DragInit newFunc)
 An MDL application can use this to set a function to be called when NEEDSWORK_VANCOUVER_DOC. More...
 
static StateFunc_Redo SetRedoFunction (StateFunc_Redo newFunc)
 An MDL application can use this to set a function to be called when NEEDSWORK_VANCOUVER_DOC. More...
 

Detailed Description

Static methods on this class are used to designate user-supplied functions that are called by MicroStation for certain user events.

The designated function becomes associated with the current MicroStation state. If a StateCallback method is used with a function (such as mdlState_startPrimitive or mdlState_startViewCommand) that starts commands, the StateCallback method must be called after that function since these functions also set the MicroStation state.


The documentation for this class was generated from the following file:

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.