Typedefs | Enumerations | Functions

Typedefs

typedef CommandFilterReturnValue(* InputFunc_CommandFilter )(Inputq_element *iqelP)
 Callback that is called for each command queue element before dispatching the command queue element to the proper command processor. More...
 
typedef void(* InputFunc_MessageReceived )(Inputq_element *queueElement)
 Callback that is called when a queue element other than a command queue element is directed to the task. More...
 
typedef InputFilterReturnValue(* InputFunc_PreprocessKeyin )(WCharP keyinP)
 Callback that is called for each key-in. More...
 
typedef InputFilterReturnValue(* InputFunc_Monitor )(Inputq_element *queueElementP)
 Callback that is called for every queue element that the command processors will process. More...
 
typedef int(* DigitizeFunc_Setup )(Transform *digTrans, DPoint3dCP monumentPoints, DPoint3dCP tabletPoints, int numPoints)
 Callback that is called when the user finishes entering monument points pairs during the DIGITIZER SETUP command. More...
 
typedef bool(* DigitizeFunc_Transform )(DPoint3dP outPoint, DPoint3dCP inPoint)
 Callback That is called whenever MicroStation has a point in tablet coordinates that it needs to be transformed to design file coordinates (UORS). More...
 
typedef int(* DigitizeFunc_UorInput )(DPoint3dP uorPoint, int *newData, int *inputCode, int *buttonTrans, int *shiftStat, UInt32 *time, bool shouldBuffer)
 Callback that is called whenever MicroStation needs to know what the user-controlled input position is. More...
 

Enumerations

enum  CommandFilterReturnValue { INPUT_COMMAND_ACCEPT = 0, INPUT_COMMAND_REJECT = 1, INPUT_COMMAND_CHANGED = 2 }
 Values returned by command filters. More...
 
enum  InputFilterReturnValue { INPUT_ACCEPT = 0, INPUT_REJECT = 1 }
 Values returned by input filters. More...
 
enum  InputMonitorFilter { MONITOR_NOT_FROM_APP = 0x01, MONITOR_FROM_APP = 0x02, MONITOR_ALL = 0x03 }
 Values used to filter which queue elements are passed to input monitors. More...
 

Functions

void mdlInput_endCommand (void)
 Relinquishes "active command" status. More...
 
void mdlInput_getMessage (Inputq_element *iqel)
 Causes MDL to copy the most recently received queue element into the area specified by queueElementP. More...
 
int mdlInput_pause ()
 Stops MicroStation completely until a keystroke or button is entered. More...
 
void mdlInput_requeueLastInput (MSInputQueuePos position)
 Sends the last queue element received by the sending task to MicroStation. More...
 
void mdlInput_sendCommand (CommandNumber commandNumber, WCharCP unparsedP, MSInputQueuePos queuePosition, WCharCP taskIdP, int commandClass)
 Creates a CMDNUM queue element with the command number designated by commandNumber. More...
 
void mdlInput_sendSynchronizedCommand (CommandNumber commandNumber, WCharCP unparsedP, MSInputQueuePos queuePosition, WCharCP taskIdP, int commandClass)
 Creates a CMDNUM queue element with the command number designated by commandNumber. More...
 
void mdlInput_sendCommandJournaled (CommandNumber commandNumber, WCharCP unparsedP, MSInputQueuePos queuePosition, WCharCP taskIdP, int commandClass)
 Creates a CMDNUM queue element with the command number designated by commandNumber. More...
 
void mdlInput_sendCommandFrom (CommandNumber commandNumber, WCharCP unparsedP, MSInputQueuePos queuePosition, WCharCP taskIdP, int commandClass, int from)
 Creates a CMDNUM queue element with the command number designated by commandNumber. More...
 
void mdlInput_sendSynchronizedCommandJournaled (CommandNumber commandNumber, WCharCP unparsedP, MSInputQueuePos queuePosition, WCharCP taskIdP, int commandClass)
 Creates a CMDNUM queue element with the command number designated by commandNumber. More...
 
void mdlInput_sendSynchronizedCommandFrom (CommandNumber commandNumber, WCharCP unparsedP, MSInputQueuePos queuePosition, WCharCP taskIdP, int commandClass, int from)
 Creates a CMDNUM queue element with the command number designated by commandNumber. More...
 
void mdlInput_sendKeystroke (int keyStroke, int qualifierMask, MSInputQueuePos queuePosition, WCharCP taskIdP)
 Places a keystroke into MicroStation's input queue. More...
 
void mdlInput_sendSynchronizedKeystroke (int keyStroke, int qualifierMask, MSInputQueuePos position, WCharCP taskIdP)
 Places a keystroke into MicroStation's input queue. More...
 
void mdlInput_sendKeyin (WCharCP stringP, bool literal, MSInputQueuePos position, WCharCP taskIdP)
 Creates a KEYIN queue element with the string designated by stringP. More...
 
void mdlInput_sendKeyinJournaled (WCharCP stringP, bool literal, MSInputQueuePos position, WCharCP taskIdP)
 Creates a KEYIN queue element with the string designated by stringP. More...
 
void mdlInput_sendSynchronizedKeyin (WCharCP stringP, bool literal, MSInputQueuePos position, WCharCP taskIdP)
 Creates a KEYIN queue element with the string designated by stringP. More...
 
void mdlInput_sendSynchronizedKeyinJournaled (WCharCP stringP, bool literal, MSInputQueuePos position, WCharCP taskIdP)
 Creates a KEYIN queue element with the string designated by stringP. More...
 
void mdlInput_sendKeyinFrom (WCharCP stringP, bool literal, MSInputQueuePos position, WCharCP taskIdP, int from)
 Creates a KEYIN queue element with the string designated by stringP. More...
 
void mdlInput_sendSynchronizedKeyinFrom (WCharCP stringP, bool literal, MSInputQueuePos position, WCharCP taskIdP, int from)
 Creates a KEYIN queue element with the string designated by stringP. More...
 
void mdlInput_sendMessage (Inputq_element *iqel, MSInputQueuePos position)
 Queues the element specified by queueElementP. More...
 
void mdlInput_sendSynchronizedMessage (Inputq_element *iqel, MSInputQueuePos position)
 Queues the element specified by queueElementP. More...
 
void mdlInput_sendReset (MSInputQueuePos position, WCharCP taskIdP)
 Creates a RESET queue element and inserts it in the queue. More...
 
void mdlInput_sendSynchronizedReset (MSInputQueuePos position, WCharCP taskIdP)
 Creates a RESET queue element and inserts it in the queue. More...
 
void mdlInput_sendResume (MSInputQueuePos position)
 Creates a NULL queue element with the taskId field set to the task ID of the task that calls mdlInput_sendResume. More...
 
void mdlInput_sendUORPoint (Dpoint3d *dPoint3dP, int view, MSInputQueuePos position, WCharCP taskIdP)
 Creates a data point queue element and inserts it at the head of MicroStation's input queue. More...
 
void mdlInput_sendSynchronizedUORPoint (Dpoint3d *dPoint3dP, int view, MSInputQueuePos position, WCharCP taskIdP)
 Creates a data point queue element and inserts it at the head of MicroStation's input queue. More...
 
void mdlInput_sendTentativeUORPoint (Dpoint3d *dPoint3dP, int view, MSInputQueuePos position, WCharCP taskIdP)
 Creates a tentative point queue element and inserts it at the head of MicroStation's input queue. More...
 
void mdlInput_sendSynchronizedTentativeUORPoint (Dpoint3d *dPoint3dP, int view, MSInputQueuePos position, WCharCP taskIdP)
 Creates a data point queue element and inserts it at the head of MicroStation's input queue. More...
 
static InputFunc_CommandFilter SetCommandFilterFunction (InputFunc_CommandFilter newFunc)
 An MDL application can use this to set a function to be called before command queue elements are dispatched to the appropriate command processor. More...
 
static InputFunc_MessageReceived SetMessageReceivedFunction (InputFunc_MessageReceived newFunc)
 An MDL application can use this to set a function to be called when a queue element other than a command queue element is directed to the task. More...
 
static InputFunc_PreprocessKeyin SetPreprocessKeyinFunction (InputFunc_PreprocessKeyin newFunc)
 An MDL application can use this to set a function to be called before keyin processing. More...
 
static InputFunc_Monitor SetMonitorFunction (InputFunc_Monitor newFunc, InputMonitorFilter filter)
 An MDL application can use this to set a function to inspect queue elements before they are sent to the input processor. More...
 
static DigitizeFunc_Setup SetSetupFunction (DigitizeFunc_Setup newFunc)
 An MDL application can use this to set a function to be called when the user finishes entering monument points pairs during DIGITIZER SETUP command. More...
 
static DigitizeFunc_Transform SetTransformFunction (DigitizeFunc_Transform newFunc)
 An MDL application can use this to set a function to be called when MicroStation needs a point on the digitizer (outside the screen partition) transformed to design file coordinates. More...
 
static DigitizeFunc_UorInput SetUorInputFunction (DigitizeFunc_UorInput newFunc)
 An MDL application can use this to set a function to be called when MicroStation wants position and/or input device information from the user application. More...
 
int mdlDigitize_setModeInt (int type, int value)
 Enables or disables the digitizer input mode, or sets the digitizer input frequency. More...
 
int mdlInput_commandState1 (MdlDesc **primitiveMdlPP, CommandNumber *primitiveCommandNumberP, MdlDesc **viewMdlPP, CommandNumber *viewCommandNumberP)
 Gets the MDL descriptor and command number for the current primitive command and view command. More...
 
bool mdlInput_toggleSelectQualifierOn (CursorInfo *cursorP)
 Sets the state of the select qualifier keyboard key. More...
 
int mdlInput_startCommand (void)
 Requests active command status for the current task. More...
 

Detailed Description

Typedef Documentation

typedef int(* DigitizeFunc_Setup)(Transform *digTrans, DPoint3dCP monumentPoints, DPoint3dCP tabletPoints, int numPoints)

Callback that is called when the user finishes entering monument points pairs during the DIGITIZER SETUP command.

Parameters
[out]digTransThe address where the application program should put the output digitizer transform.
[in]monumentPointsThe address of an array of uor points that the user identified as the monument points in the design file.
[out]tabletPointsThe address of an array of points that the user identified as the points on the tablet that correspond to the monument points in the design file. There is one tablet point for each monument point.
[in]numPointsThe number of points in the monumentPoints and tablePoints arrays.
Returns
Return SUCCESS to indicate that the digitizer transform was calculated.
See also
DigitizeCallback::SetSetupFunction
typedef bool(* DigitizeFunc_Transform)(DPoint3dP outPoint, DPoint3dCP inPoint)

Callback That is called whenever MicroStation has a point in tablet coordinates that it needs to be transformed to design file coordinates (UORS).

Parameters
[out]outPointThe address where the application program should put the transformed point.
[in]inPointThe address of the input point in tablet coordinates.
Returns
Return true if inPoint could be transformed, else false.
See also
DigitizeCallback::SetTransformFunction
typedef int(* DigitizeFunc_UorInput)(DPoint3dP uorPoint, int *newData, int *inputCode, int *buttonTrans, int *shiftStat, UInt32 *time, bool shouldBuffer)

Callback that is called whenever MicroStation needs to know what the user-controlled input position is.

Parameters
[out]uorPointsupplies the address where the application program should put the current user-controlled input position.
[out]newDatais the address where the application program returns whether or not there is new position information in outPoint, and if there is more buffered position information available. If newData is set to NO_UORDATA, the application is indicating that the input position is the same as it was the previous time the callback was called. If newData is set to NEW_UORDATA, the application is indicating that there is new position information, and if newData is set to MORE_UORDATA, the application is indicating that there is more position information that has been buffered as well. The application should buffer position information if it can when it gets called with the shouldBuffer parameter set to TRUE. This occurs only when the user is using one of the stream input MicroStation commands.
[out]buttonCodean address where the application can specify that a button or other actuator has been pressed on the input device. The value should be either DATAPNT, TENTPNT or RESET.
[out]buttonTranswhenever buttonCode is non-zero, buttonTrans buttonTrans must be set to either BUTTONTRANS_UP or BUTTONTRANS_DOWN.
[out]shiftStatwhevever buttonCode is non-zero, shiftStat should be set to either 0, or some OR'ed combination of SHIFTKEY and CTRLKEY.
[out]timewhenever buttonCode is non-zero, time should be set to the time at which the button transition occured as returned by mdlSystem_getTicks.
Returns
Return SUCCESS to indicate that the request was handled.
See also
DigitizeCallback::SetUorInputFunction
typedef CommandFilterReturnValue(* InputFunc_CommandFilter)(Inputq_element *iqelP)

Callback that is called for each command queue element before dispatching the command queue element to the proper command processor.

This callback can disable commands and modify command queue elements. If the command specified in the queue element belongs to a class that mdlInput_disableCommandClass has disabled, then this callback is not called. If a callback indicates that the queue element was modified, MicroStation restarts the validation process. There, the callback will be called again to see the modified queue element.

Parameters
[in,out]iqelPPointer to queue element.
Returns
Return one of CommandFilterReturnValue.
See also
InputCallback::SetCommandFilterFunction
typedef void(* InputFunc_MessageReceived)(Inputq_element *queueElement)

Callback that is called when a queue element other than a command queue element is directed to the task.

Receive user functions are generally used when MDL tasks communicate with each other using APPLICATION_EVENT queue elements.

Parameters
[in,out]keyinPPointer to keyin string.
See also
InputCallback::SetMessageReceivedFunction
typedef InputFilterReturnValue(* InputFunc_Monitor)(Inputq_element *queueElementP)

Callback that is called for every queue element that the command processors will process.

The InputFunc_Monitor function can manipulate the queue element. When the monitor function sees the queue element, the element is in a buffer large enough to hold any legal queue element. Therefore, the queue element can be transformed into any legal queue element. InputFunc_Monitor is called after MicroStation has completed its preprocessing. MicroStation's preprocessing consists of turning RESET commands into RESET queue elements and turning precision key-in commands into DATAPNT queue elements.

Parameters
[in,out]queueElementPPointer to queue element.
Returns
If INPUT_REJECT is returned then the queue element will not be processed.
See also
InputCallback::SetPreProcessKeyinFunction
typedef InputFilterReturnValue(* InputFunc_PreprocessKeyin)(WCharP keyinP)

Callback that is called for each key-in.

This call is MicroStation's first step in processing the key-in before creating the queue elements. The InputFunc_PreprocessKeyin function can tell MicroStation to accept or discard the keyin. If it tells MicroStation to accept the key-in, it can modify the string. MicroStation then uses the modified string for the remainder of the processing. MicroStation skips the preprocessing step if the first character of the string is "`", or if the MicroStation SET PARSEALL OFF command was executed.

Parameters
[in,out]keyinPPointer to keyin string.
Returns
Return one of InputFilterReturnValue.
See also
InputCallback::SetPreProcessKeyinFunction

Enumeration Type Documentation

Values returned by command filters.

See also
InputFunc_CommandFilter

+------------—+------------—+------------—+------------—+------------—+---—

Enumerator
INPUT_COMMAND_ACCEPT 

Indicates that the queue element was not changed.

INPUT_COMMAND_REJECT 

Indicates that the command was rejected.

INPUT_COMMAND_CHANGED 

Indicates that the queue element was changed.

Values returned by input filters.

See also
InputFunc_PreprocessKeyin

+------------—+------------—+------------—+------------—+------------—+---—

Enumerator
INPUT_ACCEPT 
INPUT_REJECT 

Values used to filter which queue elements are passed to input monitors.

See also
InputFunc_Monitor

+------------—+------------—+------------—+------------—+------------—+---—

Enumerator
MONITOR_NOT_FROM_APP 
MONITOR_FROM_APP 
MONITOR_ALL 

Function Documentation

int mdlDigitize_setModeInt ( int  type,
int  value 
)

Enables or disables the digitizer input mode, or sets the digitizer input frequency.

Parameters
[in]typedetermines whether the input mode or digitizer frequency is being set. This value must be either DIGITIZE_SETMODEAUXINPUTSTATE, or DIGITIZE_SETMODEAUXINPUTTIMER.
[in]valueif type is DIGITIZE_SETMODEAUXPUTSTATE, then value is either 0 or 1, setting the auxilliary input state either off or on respectively. If type is DIGITIZE_SETMODEAUXINPUTTIMER, then value is the frequency for the input device, in the range of 0 to AUXINPUT_TIMER_FREQ_MAX (100) in Hz.
Returns
Returns SUCCESS if type and value both have valid values. It return ERROR otherwise.
int mdlInput_commandState1 ( MdlDesc **  primitiveMdlPP,
CommandNumber *  primitiveCommandNumberP,
MdlDesc **  viewMdlPP,
CommandNumber *  viewCommandNumberP 
)

Gets the MDL descriptor and command number for the current primitive command and view command.

Parameters
[in,out]primitiveMdlPPa pointer to the MdlDesc pointer indicating the primitive command that is currently active
[in,out]primitiveCommandNumberPa pointer to a CommandNumber value that is set to the currently active command number
[in,out]viewMdlPPa pointer to the MdlDesc pointer indicating the view command that is currently active
[in,out]viewCommandNumberPa pointer a CommandNumber value that is set to the currently active view command number
Returns
Either PRIMITIVE_COMMAND or VIEW_COMMAND to indicate which is active.
void mdlInput_endCommand ( void  )

Relinquishes "active command" status.

See also
mdlInput_startCommand
void mdlInput_getMessage ( Inputq_element iqel)

Causes MDL to copy the most recently received queue element into the area specified by queueElementP.

Parameters
[in]iqelarea to get the queue element
See also
mdlInput_waitForMessage mdlInput_sendMessage
int mdlInput_pause ( )

Stops MicroStation completely until a keystroke or button is entered.

See also
mdlDialog_openAlert mdlSystem_getChar
Returns
the key that was pressed.
void mdlInput_requeueLastInput ( MSInputQueuePos  position)

Sends the last queue element received by the sending task to MicroStation.

Parameters
[in]positionqueue position, -1 for the end of the queue
Remarks
The element is queued at the position indicated by position. Generally, position 0 is used to place the element at the head of the queue. A value of INPUTQ_EOQ for position tells mdlInput_requeueLastInput to place the queue element at the end of the queue.
The mdlInput_requeueLastInput function sets the task ID in the queue element to the string contained in the built-in variable, ustnTaskId.
Only MicroStation's input processor can receive the queue element. However, the user functions to monitor the queue and validate commands receive the requeued element before MicroStation's input processor does.
See also
userInput_monitor
void mdlInput_sendCommand ( CommandNumber  commandNumber,
WCharCP  unparsedP,
MSInputQueuePos  queuePosition,
WCharCP  taskIdP,
int  commandClass 
)

Creates a CMDNUM queue element with the command number designated by commandNumber.

Parameters
[in]commandNumbercommand number
[in]unparsedPThe string that cmdParamP points to can be in a temporary location. If there is no string to pass to the command, cmdParamP can be NULL. It can also point to a zero-length string.
[in]queuePositionspecifies the queue position. Position 0 places the element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue.
[in]taskIdPspecifies the task to execute the command. The task ID is copied to the taskID field of the input queue element's cmd field. If a MicroStation command is being requested, specify the built-in variable, ustnTaskId, as the task ID. If the queue element is intended for a specific task, specify the task ID. If taskIdP is NULL, the command is interpreted as a MicroStation command.
[in]commandClassshould be a standard command class from cmdclass.r.h.
Remarks
MicroStation command numbers are defined in the cmdlist.r.h header file.
See also
mdlInput_sendKeyin mdlInput_sendReset mdlInput_sendMessage mdlInput_sendUORPoint
void mdlInput_sendCommandFrom ( CommandNumber  commandNumber,
WCharCP  unparsedP,
MSInputQueuePos  queuePosition,
WCharCP  taskIdP,
int  commandClass,
int  from 
)

Creates a CMDNUM queue element with the command number designated by commandNumber.

Parameters
[in]commandNumbercommand number
[in]unparsedPThe string that cmdParamP points to can be in a temporary location. If there is no string to pass to the command, cmdParamP can be NULL. It can also point to a zero-length string.
[in]queuePositionspecifies the queue position. Position 0 places the element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue.
[in]taskIdPspecifies the task to execute the command. The task ID is copied to the taskID field of the input queue element's cmd field. If a MicroStation command is being requested, specify the built-in variable, ustnTaskId, as the task ID. If the queue element is intended for a specific task, specify the task ID. If taskIdP is NULL, the command is interpreted as a MicroStation command.
[in]commandClassshould be a standard command class from cmdclass.r.h.
[in]fromspecifies the source of the command. See msinputq.h.
Remarks
MicroStation command numbers are defined in the cmdlist.r.h header file.
This command will not be journaled.
See also
mdlInput_sendSynchronizedKeyin mdlInput_sendSynchronizedReset mdlInput_sendSynchronizedMessage mdlInput_sendSynchronizedUORPoint
void mdlInput_sendCommandJournaled ( CommandNumber  commandNumber,
WCharCP  unparsedP,
MSInputQueuePos  queuePosition,
WCharCP  taskIdP,
int  commandClass 
)

Creates a CMDNUM queue element with the command number designated by commandNumber.

Parameters
[in]commandNumbercommand number
[in]unparsedPThe string that cmdParamP points to can be in a temporary location. If there is no string to pass to the command, cmdParamP can be NULL. It can also point to a zero-length string.
[in]queuePositionspecifies the queue position. Position 0 places the element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue.
[in]taskIdPspecifies the task to execute the command. The task ID is copied to the taskID field of the input queue element's cmd field. If a MicroStation command is being requested, specify the built-in variable, ustnTaskId, as the task ID. If the queue element is intended for a specific task, specify the task ID. If taskIdP is NULL, the command is interpreted as a MicroStation command.
[in]commandClassshould be a standard command class from cmdclass.r.h.
Remarks
MicroStation command numbers are defined in the cmdlist.r.h header file.
See also
mdlInput_sendSynchronizedKeyin mdlInput_sendSynchronizedReset mdlInput_sendSynchronizedMessage mdlInput_sendSynchronizedUORPoint
void mdlInput_sendKeyin ( WCharCP  stringP,
bool  literal,
MSInputQueuePos  position,
WCharCP  taskIdP 
)

Creates a KEYIN queue element with the string designated by stringP.

Parameters
[in]stringPkey-in string
[in]literalIf literal is true, mdlInput_sendKeyin queues a KEYIN element without first trying to parse the string. If literal is zero, mdlInput_sendKeyin tries to parse the string before queuing it. If the string can be parsed, mdlInput_sendKeyin places a CMDNUM queue element in the queue. Otherwise, it places a KEYIN queue element in the queue.
[in]positionspecifies the queue position. Position 0 places the element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue.
[in]taskIdPspecifies the task to receive the queue element. If the queue element is intended for MicroStation, specify the built-in variable, ustnTaskId, as the task ID. If the queue element is intended for a specific task, specify the task ID. If the queue element will be processed like user input, pass NULL for taskIdP.
Remarks
position is ignored and the key-in is always placed at the beginning of the queue if literal is false (parsing is enabled).
If MicroStation successfully parses the string and creates a command queue element, it ignores the taskIdP parameter.
Keyins sent in this manner are not journaled.
See also
mdlInput_sendKeystroke mdlInput_sendMessage mdlInput_sendCommand
void mdlInput_sendKeyinFrom ( WCharCP  stringP,
bool  literal,
MSInputQueuePos  position,
WCharCP  taskIdP,
int  from 
)

Creates a KEYIN queue element with the string designated by stringP.

It differs from mdlInput_sendKeyin in that a source of the key-in can be specified.

Parameters
[in]stringPkey-in string
[in]literalIf literal is true, mdlInput_sendKeyinFrom queues a KEYIN element without first trying to parse the string. If literal is zero, mdlInput_sendKeyinFrom tries to parse the string before queuing it. If the string can be parsed, mdlInput_sendKeyinFrom places a CMDNUM queue element in the queue. Otherwise, it places a KEYIN queue element in the queue.
[in]positionspecifies the queue position. Position 0 places the element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue. position is ignored and the key-in is always placed at the beginning of the queue if literal is false (parsing is enabled).
[in]taskIdPspecifies the task to receive the queue element. If the queue element is intended for MicroStation, specify the built-in variable, ustnTaskId, as the task ID. If the queue element is intended for a specific task, specify the task ID. If the queue element will be processed like user input, pass NULL for taskIdP.
[in]fromcan be any of the following found in msinputq.h: FROM_KEYBOARD, FROM_CMDFILE, FROM_APP, FROM_UCM, FROM_STARTUP, FROM_DIALOG, FROM_PROCESS, FROM_MDL, FROM_PRDFPI, FROM_OPER_SYSTEM.
Remarks
If MicroStation successfully parses the string and creates a command queue element, it ignores the taskIdP parameter.
Keyins sent in this manner are not journaled.
See also
mdlInput_sendKeystroke mdlInput_sendMessage mdlInput_sendCommand
void mdlInput_sendKeyinJournaled ( WCharCP  stringP,
bool  literal,
MSInputQueuePos  position,
WCharCP  taskIdP 
)

Creates a KEYIN queue element with the string designated by stringP.

This keyin will be passed on to the journaling (macro) system.

Parameters
[in]stringPkey-in string
[in]literalIf literal is true, mdlInput_sendKeyin queues a KEYIN element without first trying to parse the string. If literal is zero, mdlInput_sendKeyin tries to parse the string before queuing it. If the string can be parsed, mdlInput_sendKeyin places a CMDNUM queue element in the queue. Otherwise, it places a KEYIN queue element in the queue.
[in]positionspecifies the queue position. Position 0 places the element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue.
[in]taskIdPspecifies the task to receive the queue element. If the queue element is intended for MicroStation, specify the built-in variable, ustnTaskId, as the task ID. If the queue element is intended for a specific task, specify the task ID. If the queue element will be processed like user input, pass NULL for taskIdP.
Remarks
position is ignored and the key-in is always placed at the beginning of the queue if literal is false (parsing is enabled).
If MicroStation successfully parses the string and creates a command queue element, it ignores the taskIdP parameter.
See also
mdlInput_sendKeystroke mdlInput_sendMessage mdlInput_sendCommand
void mdlInput_sendKeystroke ( int  keyStroke,
int  qualifierMask,
MSInputQueuePos  queuePosition,
WCharCP  taskIdP 
)

Places a keystroke into MicroStation's input queue.

Parameters
[in]keyStrokespecifies a keystroke. It is acceptable to specify any codes that can be generated from the keyboard. Both printable characters and control characters such as the return key can be specified. See the include file keys.r.h for the definition statements for the control characters.
[in]qualifierMaskis used to specify the modifier keys such as shift, control, or alt. An upper case character is normally generated just by specifying the upper case character for the keystroke parameter. It is not necessary to specify the shift qualifierMask to generate an upper case character. The standard qualifier masks SHIFTKEY, CTRLKEY and ALTKEY are defined in keys.r.h.
[in]queuePositionspecifies the location in the input queue for the keystroke queue element. Position 0 places the queue element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue.
[in]taskIdPspecifies the task to receive the queue element. If the queue element is intended for MicroStation, specify the built-in variable ustnTaskId as the task ID. If the queue element is intended for a specific task, specify the task ID. If the queue element is to be processed like user input, pass NULL for the task ID.
See also
mdlInput_sendKeyin
void mdlInput_sendMessage ( Inputq_element iqel,
MSInputQueuePos  position 
)

Queues the element specified by queueElementP.

It is placed at the head of the queue. This is the most powerful function for queuing elements, since the task completely controls the queue element.

Parameters
[in]iqelqueue element
[in]positionspecifies the queue position. Position 0 places the element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue.
Remarks
Before mdlInput_sendMessage is called, the following queue header fields must be filled in: cmdtype, bytes, source and taskId.
In many cases, you can obtain a queue element with mdlInput_getMessage, make minor modifications to the queue element, set the hdr.taskId field to the string specified by the built-in variable ustnTaskId, and then send the message with mdlInput_sendMessage.
void mdlInput_sendReset ( MSInputQueuePos  position,
WCharCP  taskIdP 
)

Creates a RESET queue element and inserts it in the queue.

This function has the same effect as an operator entering a Reset.

Parameters
[in]positionspecifies the queue position. Position 0 places the element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue.
[in]taskIdPspecifies the task to receive the queue element. If the queue element is intended for MicroStation, specify the built-in variable, ustnTaskId as the task ID. If the queue element is intended for a specific task, specify the task ID. If the queue element will be processed like user input, pass NULL for taskIdP.
See also
mdlInput_sendMessage
void mdlInput_sendResume ( MSInputQueuePos  position)

Creates a NULL queue element with the taskId field set to the task ID of the task that calls mdlInput_sendResume.

The task that calls the mdlInput_sendResume function will receive the resulting NULL queue element regardless of whether the task has active command status. This function along with mdlInput_waitForMessage can be used to pause and resume.

Parameters
[in]positionspecifies the queue position. Position 0 places the element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue.
See also
mdlInput_waitForMessage
void mdlInput_sendSynchronizedCommand ( CommandNumber  commandNumber,
WCharCP  unparsedP,
MSInputQueuePos  queuePosition,
WCharCP  taskIdP,
int  commandClass 
)

Creates a CMDNUM queue element with the command number designated by commandNumber.

This function will not return until the command is finished.

Parameters
[in]commandNumbercommand number
[in]unparsedPThe string that cmdParamP points to can be in a temporary location. If there is no string to pass to the command, cmdParamP can be NULL. It can also point to a zero-length string.
[in]queuePositionspecifies the queue position. Position 0 places the element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue.
[in]taskIdPspecifies the task to execute the command. The task ID is copied to the taskID field of the input queue element's cmd field. If a MicroStation command is being requested, specify the built-in variable, ustnTaskId, as the task ID. If the queue element is intended for a specific task, specify the task ID. If taskIdP is NULL, the command is interpreted as a MicroStation command.
[in]commandClassshould be a standard command class from cmdclass.r.h.
Remarks
MicroStation command numbers are defined in the cmdlist.r.h header file.
This command will not be journaled.
See also
mdlInput_sendSynchronizedKeyin mdlInput_sendSynchronizedReset mdlInput_sendSynchronizedMessage mdlInput_sendSynchronizedUORPoint
void mdlInput_sendSynchronizedCommandFrom ( CommandNumber  commandNumber,
WCharCP  unparsedP,
MSInputQueuePos  queuePosition,
WCharCP  taskIdP,
int  commandClass,
int  from 
)

Creates a CMDNUM queue element with the command number designated by commandNumber.

This function will not return until the command is finished.

Parameters
[in]commandNumbercommand number
[in]unparsedPThe string that cmdParamP points to can be in a temporary location. If there is no string to pass to the command, cmdParamP can be NULL. It can also point to a zero-length string.
[in]queuePositionspecifies the queue position. Position 0 places the element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue.
[in]taskIdPspecifies the task to execute the command. The task ID is copied to the taskID field of the input queue element's cmd field. If a MicroStation command is being requested, specify the built-in variable, ustnTaskId, as the task ID. If the queue element is intended for a specific task, specify the task ID. If taskIdP is NULL, the command is interpreted as a MicroStation command.
[in]commandClassshould be a standard command class from cmdclass.r.h.
[in]fromspecifies the source of the command. See msinputq.h.
Remarks
MicroStation command numbers are defined in the cmdlist.r.h header file.
See also
mdlInput_sendSynchronizedKeyin mdlInput_sendSynchronizedReset mdlInput_sendSynchronizedMessage mdlInput_sendSynchronizedUORPoint
void mdlInput_sendSynchronizedCommandJournaled ( CommandNumber  commandNumber,
WCharCP  unparsedP,
MSInputQueuePos  queuePosition,
WCharCP  taskIdP,
int  commandClass 
)

Creates a CMDNUM queue element with the command number designated by commandNumber.

This function will not return until the command is finished.

Parameters
[in]commandNumbercommand number
[in]unparsedPThe string that cmdParamP points to can be in a temporary location. If there is no string to pass to the command, cmdParamP can be NULL. It can also point to a zero-length string.
[in]queuePositionspecifies the queue position. Position 0 places the element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue.
[in]taskIdPspecifies the task to execute the command. The task ID is copied to the taskID field of the input queue element's cmd field. If a MicroStation command is being requested, specify the built-in variable, ustnTaskId, as the task ID. If the queue element is intended for a specific task, specify the task ID. If taskIdP is NULL, the command is interpreted as a MicroStation command.
[in]commandClassshould be a standard command class from cmdclass.r.h.
Remarks
MicroStation command numbers are defined in the cmdlist.r.h header file.
See also
mdlInput_sendSynchronizedKeyin mdlInput_sendSynchronizedReset mdlInput_sendSynchronizedMessage mdlInput_sendSynchronizedUORPoint
void mdlInput_sendSynchronizedKeyin ( WCharCP  stringP,
bool  literal,
MSInputQueuePos  position,
WCharCP  taskIdP 
)

Creates a KEYIN queue element with the string designated by stringP.

This function will not return until the keyin is processed.

Parameters
[in]stringPkey-in string
[in]literalIf literal is true, mdlInput_sendKeyin queues a KEYIN element without first trying to parse the string. If literal is zero, mdlInput_sendKeyin tries to parse the string before queuing it. If the string can be parsed, mdlInput_sendKeyin places a CMDNUM queue element in the queue. Otherwise, it places a KEYIN queue element in the queue.
[in]positionspecifies the queue position. Position 0 places the element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue.
[in]taskIdPspecifies the task to receive the queue element. If the queue element is intended for MicroStation, specify the built-in variable, ustnTaskId, as the task ID. If the queue element is intended for a specific task, specify the task ID. If the queue element will be processed like user input, pass NULL for taskIdP.
Remarks
position is ignored and the key-in is always placed at the beginning of the queue if literal is false (parsing is enabled).
If MicroStation successfully parses the string and creates a command queue element, it ignores the taskIdP parameter.
Keyins sent in this manner are not journaled.
See also
mdlInput_sendSynchronizedKeystroke mdlInput_sendSynchronizedMessage mdlInput_sendSynchronizedCommand
void mdlInput_sendSynchronizedKeyinFrom ( WCharCP  stringP,
bool  literal,
MSInputQueuePos  position,
WCharCP  taskIdP,
int  from 
)

Creates a KEYIN queue element with the string designated by stringP.

It differs from mdlInput_sendKeyin in that a source of the key-in can be specified. This function will not return until the keyin is processed.

Parameters
[in]stringPkey-in string
[in]literalIf literal is true, mdlInput_sendKeyinFrom queues a KEYIN element without first trying to parse the string. If literal is zero, mdlInput_sendKeyinFrom tries to parse the string before queuing it. If the string can be parsed, mdlInput_sendKeyinFrom places a CMDNUM queue element in the queue. Otherwise, it places a KEYIN queue element in the queue.
[in]positionspecifies the queue position. Position 0 places the element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue. position is ignored and the key-in is always placed at the beginning of the queue if literal is false (parsing is enabled).
[in]taskIdPspecifies the task to receive the queue element. If the queue element is intended for MicroStation, specify the built-in variable, ustnTaskId, as the task ID. If the queue element is intended for a specific task, specify the task ID. If the queue element will be processed like user input, pass NULL for taskIdP.
[in]fromcan be any of the following found in msinputq.h: FROM_KEYBOARD, FROM_CMDFILE, FROM_APP, FROM_UCM, FROM_STARTUP, FROM_DIALOG, FROM_PROCESS, FROM_MDL, FROM_PRDFPI, FROM_OPER_SYSTEM.
Remarks
If MicroStation successfully parses the string and creates a command queue element, it ignores the taskIdP parameter.
Keyins sent in this manner are not journaled.
See also
mdlInput_sendSynchronizedKeystroke mdlInput_sendSynchronizedMessage mdlInput_sendSynchronizedCommand
void mdlInput_sendSynchronizedKeyinJournaled ( WCharCP  stringP,
bool  literal,
MSInputQueuePos  position,
WCharCP  taskIdP 
)

Creates a KEYIN queue element with the string designated by stringP.

This function will not return until the keyin is processed. The keyin will be processed by the journalling (macro) system.

Parameters
[in]stringPkey-in string
[in]literalIf literal is true, mdlInput_sendKeyin queues a KEYIN element without first trying to parse the string. If literal is zero, mdlInput_sendKeyin tries to parse the string before queuing it. If the string can be parsed, mdlInput_sendKeyin places a CMDNUM queue element in the queue. Otherwise, it places a KEYIN queue element in the queue.
[in]positionspecifies the queue position. Position 0 places the element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue.
[in]taskIdPspecifies the task to receive the queue element. If the queue element is intended for MicroStation, specify the built-in variable, ustnTaskId, as the task ID. If the queue element is intended for a specific task, specify the task ID. If the queue element will be processed like user input, pass NULL for taskIdP.
Remarks
position is ignored and the key-in is always placed at the beginning of the queue if literal is false (parsing is enabled).
If MicroStation successfully parses the string and creates a command queue element, it ignores the taskIdP parameter.
See also
mdlInput_sendSynchronizedKeystroke mdlInput_sendSynchronizedMessage mdlInput_sendSynchronizedCommand
void mdlInput_sendSynchronizedKeystroke ( int  keyStroke,
int  qualifierMask,
MSInputQueuePos  position,
WCharCP  taskIdP 
)

Places a keystroke into MicroStation's input queue.

Parameters
[in]keyStrokespecifies a keystroke. It is acceptable to specify any codes that can be generated from the keyboard. Both printable characters and control characters such as the return key can be specified. See the include file keys.r.h for the definition statements for the control characters. This function will not return until the keystroke is processed.
[in]qualifierMaskis used to specify the modifier keys such as shift, control, or alt. An upper case character is normally generated just by specifying the upper case character for the keystroke parameter. It is not necessary to specify the shift qualifierMask to generate an upper case character. The standard qualifier masks SHIFTKEY, CTRLKEY and ALTKEY are defined in keys.r.h.
[in]positionspecifies the location in the input queue for the keystroke queue element. Position 0 places the queue element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue.
[in]taskIdPspecifies the task to receive the queue element. If the queue element is intended for MicroStation, specify the built-in variable ustnTaskId as the task ID. If the queue element is intended for a specific task, specify the task ID. If the queue element is to be processed like user input, pass NULL for the task ID.
See also
mdlInput_sendSynchronizedKeyin
void mdlInput_sendSynchronizedMessage ( Inputq_element iqel,
MSInputQueuePos  position 
)

Queues the element specified by queueElementP.

It is placed at the head of the queue. This is the most powerful function for queuing elements, since the task completely controls the queue element. This function will not return until until the message is processed.

Parameters
[in]iqelqueue element
[in]positionspecifies the queue position. Position 0 places the element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue.
Remarks
Before mdlInput_sendMessage is called, the following queue header fields must be filled in: cmdtype, bytes, source and taskId.
In many cases, you can obtain a queue element with mdlInput_getMessage, make minor modifications to the queue element, set the hdr.taskId field to the string specified by the built-in variable ustnTaskId, and then send the message with mdlInput_sendMessage.
void mdlInput_sendSynchronizedReset ( MSInputQueuePos  position,
WCharCP  taskIdP 
)

Creates a RESET queue element and inserts it in the queue.

This function has the same effect as an operator entering a Reset. This function will not return until the reset is processed.

Parameters
[in]positionspecifies the queue position. Position 0 places the element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue.
[in]taskIdPspecifies the task to receive the queue element. If the queue element is intended for MicroStation, specify the built-in variable, ustnTaskId as the task ID. If the queue element is intended for a specific task, specify the task ID. If the queue element will be processed like user input, pass NULL for taskIdP.
See also
mdlInput_sendMessage
void mdlInput_sendSynchronizedTentativeUORPoint ( Dpoint3d dPoint3dP,
int  view,
MSInputQueuePos  position,
WCharCP  taskIdP 
)

Creates a data point queue element and inserts it at the head of MicroStation's input queue.

It applies the current transformation to the point specified by pointP. It then converts this point to an integer point and stores it in the queue element. This function will not return until the point is processed.

Parameters
[in]dPoint3dPdata point to be placed
[in]viewspecifies the view number and is stored in the queue element. Since the value is zero-based, the view numbers are 0 through 7. Typically, a command uses either the data point or the view number. For example, the data point is important for an element creation command. The view number is important for an update command.
[in]positionspecifies the location in the input queue for the keystroke queue element. Position 0 places the queue element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue.
[in]taskIdPspecifies the task to receive the queue element. If the queue element is intended for MicroStation, specify the built-in variable ustnTaskId as the task ID. If the queue element is intended for a specific task, specify the task ID. If the queue element is to be processed like user input, pass NULL for taskIdP.
Remarks
MicroStation commands require the viewNumber value or the value specified by pointP (but MicroStation does not require both values). When MicroStation needs a UOR point, it ignores the viewNumber value. When MicroStation needs a view specified, it ignores the pointP value.
See also
mdlInput_sendSynchronizedMessage
void mdlInput_sendSynchronizedUORPoint ( Dpoint3d dPoint3dP,
int  view,
MSInputQueuePos  position,
WCharCP  taskIdP 
)

Creates a data point queue element and inserts it at the head of MicroStation's input queue.

It applies the current transformation to the point specified by pointP. It then converts this point to an integer point and stores it in the queue element. This function will not return until the point is processed.

Parameters
[in]dPoint3dPdata point to be placed
[in]viewspecifies the view number and is stored in the queue element. Since the value is zero-based, the view numbers are 0 through 7. Typically, a command uses either the data point or the view number. For example, the data point is important for an element creation command. The view number is important for an update command.
[in]positionspecifies the location in the input queue for the keystroke queue element. Position 0 places the queue element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue.
[in]taskIdPspecifies the task to receive the queue element. If the queue element is intended for MicroStation, specify the built-in variable ustnTaskId as the task ID. If the queue element is intended for a specific task, specify the task ID. If the queue element is to be processed like user input, pass NULL for taskIdP.
Remarks
MicroStation commands require the viewNumber value or the value specified by pointP (but MicroStation does not require both values). When MicroStation needs a UOR point, it ignores the viewNumber value. When MicroStation needs a view specified, it ignores the pointP value.
See also
mdlInput_sendSynchronizedMessage
void mdlInput_sendTentativeUORPoint ( Dpoint3d dPoint3dP,
int  view,
MSInputQueuePos  position,
WCharCP  taskIdP 
)

Creates a tentative point queue element and inserts it at the head of MicroStation's input queue.

It applies the current transformation to the point specified by pointP. It then converts this point to an integer point and stores it in the queue element.

Parameters
[in]dPoint3dPdata point to be placed
[in]viewspecifies the view number and is stored in the queue element. Since the value is zero-based, the view numbers are 0 through 7. Typically, a command uses either the data point or the view number. For example, the data point is important for an element creation command. The view number is important for an update command.
[in]positionspecifies the location in the input queue for the keystroke queue element. Position 0 places the queue element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue.
[in]taskIdPspecifies the task to receive the queue element. If the queue element is intended for MicroStation, specify the built-in variable ustnTaskId as the task ID. If the queue element is intended for a specific task, specify the task ID. If the queue element is to be processed like user input, pass NULL for taskIdP.
Remarks
MicroStation commands require the viewNumber value or the value specified by pointP (but MicroStation does not require both values). When MicroStation needs a UOR point, it ignores the viewNumber value. When MicroStation needs a view specified, it ignores the pointP value.
See also
mdlInput_sendMessage
void mdlInput_sendUORPoint ( Dpoint3d dPoint3dP,
int  view,
MSInputQueuePos  position,
WCharCP  taskIdP 
)

Creates a data point queue element and inserts it at the head of MicroStation's input queue.

It applies the current transformation to the point specified by pointP. It then converts this point to an integer point and stores it in the queue element.

Parameters
[in]dPoint3dPdata point to be placed
[in]viewspecifies the view number and is stored in the queue element. Since the value is zero-based, the view numbers are 0 through 7. Typically, a command uses either the data point or the view number. For example, the data point is important for an element creation command. The view number is important for an update command.
[in]positionspecifies the location in the input queue for the keystroke queue element. Position 0 places the queue element at the head of the queue. A value of INPUTQ_EOQ for position tells MicroStation to place the queue element at the end of the queue.
[in]taskIdPspecifies the task to receive the queue element. If the queue element is intended for MicroStation, specify the built-in variable ustnTaskId as the task ID. If the queue element is intended for a specific task, specify the task ID. If the queue element is to be processed like user input, pass NULL for taskIdP.
Remarks
MicroStation commands require the viewNumber value or the value specified by pointP (but MicroStation does not require both values). When MicroStation needs a UOR point, it ignores the viewNumber value. When MicroStation needs a view specified, it ignores the pointP value.
See also
mdlInput_sendMessage
int mdlInput_startCommand ( void  )

Requests active command status for the current task.

If the current task acquires active command status, this task receives most queue elements.

Returns
mdlInput_startCommand returns true if active command status is granted.
See also
mdlInput_endCommand
bool mdlInput_toggleSelectQualifierOn ( CursorInfo cursorP)

Sets the state of the select qualifier keyboard key.

Parameters
[in]cursorPa pointer to the CursorInfo structure containing information about the select qualifier key. The qualifer key mask is used in a bitwise AND with the current state of the qualifier key
Returns
The state of the select qualifier key, either true or false indicating whether the key is enabled or not.
static InputFunc_CommandFilter SetCommandFilterFunction ( InputFunc_CommandFilter  newFunc)
static

An MDL application can use this to set a function to be called before command queue elements are dispatched to the appropriate command processor.

Parameters
[in]newFuncThe new function to call, or NULL.
Returns
The return value is the previous function that was set for this MdlApp, or NULL.
See also
InputFunc_CommandFilter
static InputFunc_MessageReceived SetMessageReceivedFunction ( InputFunc_MessageReceived  newFunc)
static

An MDL application can use this to set a function to be called when a queue element other than a command queue element is directed to the task.

Parameters
[in]newFuncThe new function to call, or NULL.
Returns
The return value is the previous function that was set for this MdlApp, or NULL.
See also
InputFunc_MessageReceived
static InputFunc_Monitor SetMonitorFunction ( InputFunc_Monitor  newFunc,
InputMonitorFilter  filter 
)
static

An MDL application can use this to set a function to inspect queue elements before they are sent to the input processor.

Parameters
[in]newFuncThe new function to call, or NULL.
[in]filterUsed to limit which queue elements are passed to the callback. The filter argument is ignored if newFunc is NULL.
Returns
The return value is the previous function that was set for this MdlApp, or NULL.
See also
InputFunc_Monitor
static InputFunc_PreprocessKeyin SetPreprocessKeyinFunction ( InputFunc_PreprocessKeyin  newFunc)
static

An MDL application can use this to set a function to be called before keyin processing.

Parameters
[in]newFuncThe new function to call, or NULL.
Returns
The return value is the previous function that was set for this MdlApp, or NULL.
See also
InputFunc_PreprocessKeyin
static DigitizeFunc_Setup SetSetupFunction ( DigitizeFunc_Setup  newFunc)
static

An MDL application can use this to set a function to be called when the user finishes entering monument points pairs during DIGITIZER SETUP command.

Parameters
[in]newFuncThe new function to call, or NULL.
Returns
The return value is the previous function that was set for this MdlApp, NULL if no previous function was defined or -1 if the callback is not allowed.
See also
DigitizeFunc_Setup
static DigitizeFunc_Transform SetTransformFunction ( DigitizeFunc_Transform  newFunc)
static

An MDL application can use this to set a function to be called when MicroStation needs a point on the digitizer (outside the screen partition) transformed to design file coordinates.

Parameters
[in]newFuncThe new function to call, or NULL.
Returns
The return value is the previous function that was set for this MdlApp, NULL if no previous function was defined or -1 if the callback is not allowed.
See also
DigitizeFunc_Transform
static DigitizeFunc_UorInput SetUorInputFunction ( DigitizeFunc_UorInput  newFunc)
static

An MDL application can use this to set a function to be called when MicroStation wants position and/or input device information from the user application.

Parameters
[in]newFuncThe new function to call, or NULL.
Returns
The return value is the previous function that was set for this MdlApp, NULL if no previous function was defined or -1 if the callback is not allowed.
See also
DigitizeFunc_Transform

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