Functions | |
int | mdlSystem_checkExtendedAbort (int completeValue, int currentValue) |
Queries MicroStation for whether the user has requested an abort. More... | |
int | mdlSystem_abortRequested () |
The callbacks that can be set using mdlSystem_setFunction . More... | |
void | mdlSystem_cancelTimer (int timerHandle) |
Halt the timer action that was previously set with mdlSystem_setTimerFunction. More... | |
MSTNTOOLS_EXPORT unsigned long | mdlSystem_getTicks () |
Gets a tick count from an arbitrary start time. More... | |
void | mdlSystem_closeDesignFile () |
Close the current design file. More... | |
void | mdlSystem_freeFileThumbnail (byte **imagePP) |
Free the memory occupied by the specified thumbnail image. More... | |
void | mdlSystem_displayFileThumbnail (MSWindowP gwP, BSIRect *rectP, byte *imageP) |
Display the specified thumbnail image in the given rectangle. More... | |
bool | mdlSystem_openFileThumbnail (DgnPlatform::DgnFileFormatType *pFormat, int *pMajorVersion, int *pMinorVersion, bool *pDefaultModelIs3D, WCharCP fileName, byte **image, int *imageSize) |
Open the thumbnail image for the specified file. More... | |
void | mdlSystem_compressDgnFile () |
Compress the master DGN file. More... | |
void | mdlSystem_compressLibrary () |
Compress the currently attached cell library. More... | |
int | mdlSystem_createStartupElement (MSElementP outElemP, char *startupString) |
Create a MicroStation start-up element to be placed in the design file. More... | |
int | mdlSystem_deleteStartupElement (char *programNameP) |
Find all start-up elements in the current DGN file that start programNameP. More... | |
bool | mdlSystem_isGraphicsInitialized () |
Check if graphics have been initialized. More... | |
void | mdlSystem_enterGraphics () |
Initialize graphics. More... | |
void | mdlSystem_enterGraphicsExtended (int flags) |
Serves the same purpose as mdlSystem_enterGraphics, except that it allows applications to initialize MicroStation's graphics environment without displaying design files. More... | |
void | mdlSystem_exit (int exitStatus, int exit) |
Terminate the current MDL task. More... | |
void | mdlSystem_scheduleUnload (MdlDesc *mdlDescriptor, bool silent, int unloadStatus) |
Immediately disconnects nearly all hook functions for the current MDL application so the application will not be called again, and queues an CMD_MDL_UNLOAD command so the application will be unloaded as soon as possible. More... | |
int | mdlSystem_fileDesign () |
The mdlSystem_fileDesign function produces the same result as selecting Save Settings from the File menu. More... | |
UInt32 | mdlSystem_updateGraphicGroup () |
Updates the current graphic group number. More... | |
int | mdlSystem_updateCurrentNode () |
Updates the current text node number and saves the new value to the design file. More... | |
MdlDesc * | mdlSystem_findMdlDesc (WCharCP nameP) |
The mdlSystem_findMdlDesc function gets a pointer to the MDL descriptor with given task ID. More... | |
int | mdlSystem_getChar () |
The mdlSystem_getChar function polls the keyboard looking for a character. More... | |
MdlDesc * | mdlSystem_getCurrMdlDesc () |
The mdlSystem_getCurrMdlDesc gets a pointer to the MDL descriptor of the currently active MDL application. More... | |
WCharCP | mdlSystem_getCurrTaskID () |
The mdlSystem_getCurrTaskID function returns a pointer to the task ID of the application that calls it. More... | |
WCharCP | mdlSystem_getMdlTaskID (MdlDesc *mdlDescP) |
The mdlSystem_getMdlTaskID function gets a pointer to the task ID of the application identified by mdlDescP. More... | |
void | mdlSystem_getMdlTaskList (bvector< WString > &taskList) |
The mdlSystem_getMdlTaskList function generates a list of installed MDL task names. More... | |
int | mdlSystem_getTaskStatistics (MdlAppStatistics *statisticsP, WCharCP taskIdP) |
The mdlSystem_getTaskStatistics function collects statistics on the task specified by taskIdP. More... | |
int | mdlSystem_createCfgVarDump () |
the function mdlSystem_createCfgVarDump() allows developers and administrators to produce live/point-in-time MicroStation configuration text dump files. More... | |
int | mdlSystem_loadMdlProgram (WCharCP pathP, WCharCP taskIdP, WCharCP pArgument) |
Load the program specified by taskIdP from the resource file specified by appFileP. More... | |
MdlDesc * | mdlSystem_getMdlDescFromProcessNumber (long processNumber) |
Return the process number of the specified MDL task. More... | |
MdlDesc * | mdlSystem_nextMdlApp (MdlDesc *descP) |
Allow an MDL program to step through MicroStation's list of MDL tasks. More... | |
int | mdlSystem_newDesignFile (WCharCP fileName) |
Open a Design File after closing the open (active) design file. More... | |
int | mdlSystem_newDesignFileAndModel (WCharCP fileName, WCharCP modelName) |
Open the specified model in the specified design file after closing the open (active) design file. More... | |
int | mdlSystem_exchangeDesignFile (WCharCP fileName, UInt32 option) |
Open a file as the master file while retaining the view configuration of the current master file. More... | |
int | mdlSystem_exchangeDesignFileAndModel (WCharCP fileName, WCharCP modelName, UInt32 option) |
Open a file as the master file while retaining the view configuration of the current master file. More... | |
int | mdlSystem_exchangeToReference (DgnModelRefP modelRef, UInt32 option) |
Opens the file and model as specified by the reference modelRef as the master file, while retaining the view configuration of the current master file. More... | |
int | mdlSystem_saveDesignFile () |
Save all pending changes to the active design file. More... | |
StatusInt | mdlSystem_upgradeDesignFile (WCharCP designFileName) |
Upgrade a DGN file from a previous version to the current version. More... | |
void | mdlSystem_pauseTicks (int sixtieths) |
Pause the MDL program and MicroStation for at least the specified interval. More... | |
long | mdlSystem_getProcessNumberFromMdlDesc (MdlDesc *mdlDesc) |
Return the process number of the specified MDL task. More... | |
static SystemFunc_UnloadProgram | SetUnloadProgramFunction (SystemFunc_UnloadProgram unloadFunction) |
An MDL application can use this to set a function to be called when the application is about to be unloaded. More... | |
static SystemFunc_ReloadProgram | SetReloadProgramFunction (SystemFunc_ReloadProgram newFunc) |
An MDL application can use this to set a function to be called when there is another request to load it. More... | |
static SystemFunc_MdlChildTerminated | SetMdlChildTerminatedFunction (SystemFunc_MdlChildTerminated unloadFunction) |
An MDL application can use this to set a function to be called when the a child MDL application is unloaded. More... | |
static SystemFunc_AllMdlUnloads | SetAllMdlUnloadsFunction (SystemFunc_AllMdlUnloads unloadFunction) |
An MDL application can use this to set a function to be called whenever any MDL application unloads. More... | |
static SystemFunc_MenuBarChange | SetMenuBarChangeFunction (SystemFunc_MenuBarChange newFunc) |
Set a function that is called when the main menu bar is changed via a call to mdlDialog_menuBarActivate. More... | |
static SystemFunc_WindowClose | SetWindowCloseFunction (SystemFunc_WindowClose newFunc) |
Set a function that is called when a window is about to be closed. More... | |
static SystemFunc_CmdWindowOpen | SetCmdWindowOpenFunction (SystemFunc_CmdWindowOpen newFunc) |
Set a function that is called when the Status Bar or Command Window has been opened. More... | |
static SystemFunc_WindowsKeystrokeMessage | SetWindowsKeystrokeMessageFunction (SystemFunc_WindowsKeystrokeMessage newFunc) |
Set a function that is called for all keystroke related messages from Windows. More... | |
static SystemFunc_MessageCenterWrite | SetMessageCenterWriteFunction (SystemFunc_MessageCenterWrite newFunc) |
Set a function that is called when a message is written to the Message Center. More... | |
static SystemFunc_PromptOutput | SetPromptOutputFunction (SystemFunc_PromptOutput newFunc) |
Set a function that is called when a prompt is output to the Status Bar. More... | |
static SystemFunc_StatusOutput | SetStatusOutputFunction (SystemFunc_StatusOutput newFunc) |
Set a function that is called when a status message is output to the Status Bar. More... | |
static SystemFunc_ApplicationAreaChange | SetApplicationAreaChangeFunction (SystemFunc_ApplicationAreaChange newFunc) |
Set a function that is called when the Application Area has changed. More... | |
static SystemFunc_DialogFind | SetDialogFindFunction (SystemFunc_DialogFind newFunc) |
Set a function that is called during a mdlDialog_findByTypeAndId call. More... | |
static SystemFunc_ElmDscrToFile | SetElmDscrToFileFunction (SystemFunc_ElmDscrToFile newFunc) |
Set a function that is called before an element descriptor is written to a model to allow applications to modify the element or block the operation. More... | |
static SystemFunc_ColorMapChange | SetColorMapChangeFunction (SystemFunc_ColorMapChange newFunc) |
Set a function that is called when a color table is attached or modified. More... | |
static SystemFunc_FenceChanged | SetFenceChangedFunction (SystemFunc_FenceChanged newFunc) |
Set a function that is called when a fence is defined or cleared. More... | |
static SystemFunc_ElmDscrCopy | SetElmDscrCopyFunction (SystemFunc_ElmDscrCopy newFunc) |
Set a function that is called when an element is being copied between models. More... | |
static SystemFunc_CreateLibraryCell | SetCreateLibraryCellFunction (SystemFunc_CreateLibraryCell newFunc) |
Set a function that is called whenever someone creates a cell in a cell library using the old method of placing a fence and orign and creating a cell. More... | |
static SystemFunc_CellLibraryChange | SetCellLibraryChangeFunction (SystemFunc_CellLibraryChange newFunc) |
Set a function that is called whenever a cell library is attached or detached. More... | |
static SystemFunc_AcsOperation | SetAcsOperationFunction (SystemFunc_AcsOperation newFunc) |
Set a function that is called when an ACS is created, deleted, or modified. More... | |
static SystemFunc_LockChanged | SetLockChangedFunction (SystemFunc_LockChanged newFunc) |
Set a function that is called when the state of an active lock changes. More... | |
static SystemFunc_ActiveParamChanged | SetActiveParamChangedFunction (SystemFunc_ActiveParamChanged newFunc) |
Set a function that is called when the state of an active parameter changes. More... | |
static SystemFunc_UpdateSequenceChanged | SetUpdateSequenceChangedFunction (SystemFunc_UpdateSequenceChanged newFunc) |
Set a function that is called when the model update sequence is defined or modified. More... | |
static SystemFunc_MultilineStyleChanged | SetMultilineStyleChangedFunction (SystemFunc_MultilineStyleChanged newFunc) |
Set a function that is called each time a multi-line style is added, deleted, or updated in a file. More... | |
static SystemFunc_DimStyleChange | SetDimStyleChangeFunction (SystemFunc_DimStyleChange newFunc) |
Set a function that is called each time a dimension style is added, deleted, or updated in a file. More... | |
static SystemFunc_TextStyleChange | SetTextStyleChangeFunction (SystemFunc_TextStyleChange newFunc) |
Set a function that is called each time a text style is added, deleted, or updated in a file. More... | |
static SystemFunc_SymbologyChanged | SetSymbologyChangedFunction (SystemFunc_SymbologyChanged newFunc) |
Set a function that is called whenever the active symbology (color, style, weight) is changed. More... | |
static SystemFunc_WorkspaceChanged | SetWorkspaceChangedFunction (SystemFunc_WorkspaceChanged newFunc) |
Set a function that is called when the workspace, project, or interface changes. More... | |
static SystemFunc_TaskNavigationTaskChanged | SetTaskNavigationTaskChangedFunction (SystemFunc_TaskNavigationTaskChanged newFunc) |
Allows you to be notified after the current UI task (e.g. More... | |
static SystemFunc_MainToolBoxTaskChanged | SetMainToolBoxTaskChangedFunction (SystemFunc_MainToolBoxTaskChanged newFunc) |
Allows you to be notified after the current UI "main" task (e.g. More... | |
static SystemFunc_TaskNavigationTaskChanging | SetTaskNavigationTaskChangingFunction (SystemFunc_TaskNavigationTaskChanging newFunc) |
Allows you to be notified before the current UI task is changed. More... | |
static SystemFunc_ActiveElementTemplateChanged | SetActiveElementTemplateChangedFunction (SystemFunc_ActiveElementTemplateChanged newFunc) |
Allows you to be notified after the active Element Template is changed. More... | |
static SystemFunc_ClipboardUpdated | SetClipboardUpdatedFunction (SystemFunc_ClipboardUpdated newFunc) |
Allows you to be notified when the Clipboard has been updated. More... | |
static SystemFunc_DgnLibsChanged | SetDgnLibsChangedFunction (SystemFunc_DgnLibsChanged newFunc) |
Allows you to be notified when the set of DgnLibs has changed. More... | |
static SystemFunc_RibbonBackstageOpened | SetRibbonBackstageOpenedFunction (SystemFunc_RibbonBackstageOpened newFunc) |
Allows you to be notified when the Ribbon's Backstage is opened. More... | |
MdlApplicationClass | mdlSystem_setMdlAppClass (WCharCP taskIdP, MdlApplicationClass newClass) |
Modify the application class of a loaded MDL application. More... | |
MdlApplicationClass | mdlSystem_getMdlAppClass (MdlDescP mdlDesc) |
Retrieves the application class of the specified MDL application. More... | |
int | mdlSystem_setTimerFunction (int *timerHandleP, long duration, MdlTimerFuncP funcP, intptr_t argument, int continuous) |
Designate a timer function to be called after duration timer ticks. More... | |
int | mdlSystem_unloadMdlProgram (WCharCP pName) |
Unload the MDL program specified by taskIdP. More... | |
int | mdlSystem_userAbortEnable (int enable) |
Control whether the user can abort an MDL task. More... | |
void | mdlSystem_startBusyCursor () |
Change the graphical cursor to a form which indicates to the user that work is in progress and that the user should wait for the operation to complete More... | |
void | mdlSystem_stopBusyCursor () |
Change the cursor back to normal following a call to mdlSystem_startBusyCursor. More... | |
int | mdlSystem_getCursorPosition (DPoint3dP position, int *qualifierMaskP, MSWindowP *gwP, int *region, DPoint3dP dpUorsP) |
Return information about the current position of the cursor. More... | |
int | mdlSystem_checkButtonHit () |
Determine whether a mouse button has been pressed. More... | |
int | mdlSystem_checkKeyHit () |
Determines whether a keyboard key has been pressed. More... | |
bool | mdlSystem_checkMouseMove (Point2d *newPoint) |
Determines whether the mouse has been moved. More... | |
void | mdlSystem_extendedAbortEnable (bool enable) |
mdlSystem_extendedAbortEnable and mdlSystem_extendedAbortRequested allow an MDL application to check for a user abort using the same mechanism as MicroStation's update and fence processing. More... | |
int | mdlSystem_extendedAbortRequested () |
mdlSystem_extendedAbortEnable and mdlSystem_extendedAbortRequested allow an MDL application to check for a user abort using the same mechanism as MicroStation's update and fence processing. More... | |
int | mdlSystem_computeDesignRange (Dpoint3d *minP, Dpoint3d *maxP, bool *elementFoundP, int view, RotMatrixP rotMatrixP, DgnModelRefListP fitList) |
Compute the range of design file geometry. More... | |
int | mdlSystem_getFreeDiskSpace (Int64 *pTotalBytes, Int64 *pFreeBytes, WCharCP fileSys) |
Get the amount of available disk space from the specified system drive volume. More... | |
void | mdlSystem_setApplicationTitle (WCharCP fileName) |
Set the title string in the main application window title bar. More... | |
int | mdlSystem_registerCommandNumbers (MdlCommandNumber *pNumbers) |
Register functions with the mdl runtime engine. More... | |
int | mdlSystem_registerCommandNumbersByDesc (struct mdlDesc *pDesc, MdlCommandNumber *pNumbers) |
Register functions with the mdl runtime engine. More... | |
int | mdlSystem_registerCommandNames (MdlCommandName *pNamess) |
Register functions with the mdl runtime engine. More... | |
int | mdlSystem_registerCommandNamesByDesc (struct mdlDesc *pDesc, MdlCommandName *pNames) |
Register functions with the mdl runtime engine. More... | |
bool | mdlSystem_startedAsAutomationServer () |
Determine whether MicroStation was started as an Automation Server. More... | |
StatusInt | mdlSystem_saveDesignFileAs (WCharCP pFileName, DgnFileP dgnFileObj, DgnPlatform::DgnFileFormatType format, bool convertRefs) |
Save a file file object to a different file or a different format. More... | |
void | mdlSystem_setMdlAppVersionNumber (MdlDesc *mdlDescP, VersionNumber *pVersionNumber) |
Sets an MDL application's version number. More... | |
void | mdlSystem_getMdlAppVersionNumber (MdlDesc *mdlDescP, VersionNumber *pVersionNumber) |
Retrieves an MDL application's version number. More... | |
void | mdlSystem_getBatchProcessingFile (WCharP fileName, int bufferLength) |
This function is meant to be called during the Batch Processing "Analyze File" state. More... | |
WCharCP | mdlSystem_getApplicationPath (WCharCP taskIdP) |
Returns a pointer to the full path of the MicroStation resource file that contains the MDL application. More... | |
bool | mdlSystem_isRunningWinXPorLater () |
Checks if the operating system is Windows XP or later. More... | |
bool | mdlSystem_isRunningVistaorLater () |
Checks if the operating system is Windows Vista or later. More... | |
bool | mdlSystem_isRunningWin7orLater () |
Checks if the operating system is Windows 7 or later. More... | |
bool | mdlSystem_isRunningWin8orLater () |
Checks if the operating system is Windows 8 or later. More... | |
bool | mdlSystem_isRunningWin10orLater () |
Checks if the operating system is Windows 10 or later. More... | |
bool | mdlSystem_isRunningInRemoteSession () |
Detects whether the product is running in a Remote Desktop Services client session. More... | |
bool | mdlSystem_isDropShadowSupported () |
Detects whether drop-shadows are supported by the OS. More... | |
void | mdlSystem_pumpMessages () |
Enters a message pumping loop to be used during long processes, indicating to the OS that the application is still responsive. More... | |
void | mdlSystem_pumpMessagesEx (unsigned long minTicks) |
Identical to mdlSystem_pumpMessages except that the message pumping loop is only executed if at least minTicks ticks have elapsed since the last message pump More... | |
void | mdlSystem_ignoreNextEraseBkGnd () |
Ignores the next WM_ERASEBKGND Windows message for a child window. More... | |
UInt32 | mdlSystem_incrementLockCount (MdlDesc *mdlDesc) |
Increments a lock count. More... | |
UInt32 | mdlSystem_decrementLockCount (MdlDesc *mdlDesc) |
Decrements a lock count. More... | |
IGlobalPositionSourceP | mdlSystem_getGlobalPositionSource () |
Retrieves the C++ object that implements the IGlobalPositionSource interface. More... | |
StatusInt | mdlWindow_getDefaultDialogFont (WStringR fontName, int &fontHeight, int &fontWeight, bool &fontFixed) |
Gets the default dialog font taking the locale into account. More... | |
StatusInt | mdlWindow_getDefaultCaptionFont (WStringR fontName, int &fontHeight, int &fontWeight, bool &fontFixed) |
Gets the default caption font taking the locale into account. More... | |
int mdlSystem_abortRequested | ( | ) |
The callbacks that can be set using mdlSystem_setFunction
.
Controls whether the user can abort an MDL task. If an MDL task never calls mdlSystem_userAbortEnable, the user can abort the MDL task by pressing <Ctrl-C>. The MDL task can disable this capability by calling mdlSystem_userAbortEnable with an argument of 0. The MDL task can enable this capability by calling mdlSystem_userAbortEnable with a non-zero argument. By default, this capability is enabled.
void mdlSystem_cancelTimer | ( | int | timerHandle | ) |
Halt the timer action that was previously set with mdlSystem_setTimerFunction.
[in] | timerHandle | a unique integer handle for the timer to be canceled. |
int mdlSystem_checkButtonHit | ( | ) |
Determine whether a mouse button has been pressed.
int mdlSystem_checkExtendedAbort | ( | int | completeValue, |
int | currentValue | ||
) |
Queries MicroStation for whether the user has requested an abort.
int mdlSystem_checkKeyHit | ( | ) |
Determines whether a keyboard key has been pressed.
bool mdlSystem_checkMouseMove | ( | Point2d * | newPoint | ) |
Determines whether the mouse has been moved.
[out] | newPoint | the new position of the mouse pointer. |
void mdlSystem_closeDesignFile | ( | ) |
Close the current design file.
If no MS_INITAPPS applications are installed, mdlSystem_closeDesignFile terminates MicroStation. Otherwise, the MS_INITAPPS task is resumed.
void mdlSystem_compressDgnFile | ( | ) |
Compress the master DGN file.
This action frees wasted disk space for the DGN file. This is equivalent to executing the MicroStation COMPRESS DESIGN command.
void mdlSystem_compressLibrary | ( | ) |
Compress the currently attached cell library.
The mdlSystem_compressDgnFile function does the same thing for the current master DGN file.
int mdlSystem_computeDesignRange | ( | Dpoint3d * | minP, |
Dpoint3d * | maxP, | ||
bool * | elementFoundP, | ||
int | view, | ||
RotMatrixP | rotMatrixP, | ||
DgnModelRefListP | fitList | ||
) |
Compute the range of design file geometry.
This function scans through the file(s) and computes the union of the element range blocks, in a similar manner to the MicroStation "fit" command.
[out] | minP | points to the range minimum |
[out] | maxP | points to the range maximum. |
[out] | elementFoundP | points to an integer that is set to true if an element is found. If no elements are found, the range values are not valid. |
[in] | view | if it is not negative, only elements displayed in view are processed. The range calculations are performed in a coordinate system rotated by the inverse of the view rotation matrix (unless overridden with rotMatrixP). |
[in] | rotMatrixP | is a pointer to a rotation matrix for the range calculations. If NULL is passed (and view is negative), the range calculations are performed in design file coordinates (no rotation). |
[in] | fitList | if it is NULL, the master file and all reference files are processed, otherwise it points to a BitMask that controls the files that are processed. |
int mdlSystem_createCfgVarDump | ( | ) |
the function mdlSystem_createCfgVarDump() allows developers and administrators to produce live/point-in-time MicroStation configuration text dump files.
int mdlSystem_createStartupElement | ( | MSElementP | outElemP, |
char * | startupString | ||
) |
Create a MicroStation start-up element to be placed in the design file.
After creating a startup element, use the mdlElement_add function to add it to the design file.
[out] | outElemP | the created element |
[in] | startupString | should contain the exact string the user needs to start the program. It can contain command line arguments that are passed to the MDL program when it is started. |
Decrements a lock count.
If the MDL application's lock count is greater than zero, MicroStation will not unload it unless MicroStation is shutting down
[in] | mdlDesc | points to an MDL descriptor; cannot be NULL |
int mdlSystem_deleteStartupElement | ( | char * | programNameP | ) |
Find all start-up elements in the current DGN file that start programNameP.
The function then deletes these elements.
[in] | programNameP | program name |
void mdlSystem_displayFileThumbnail | ( | MSWindowP | gwP, |
BSIRect * | rectP, | ||
byte * | imageP | ||
) |
Display the specified thumbnail image in the given rectangle.
[in] | gwP | the MSWindow pointer indicating the window to display the image in |
[in] | rectP | the rectangle in which to display the image |
[in] | imageP | the image to display. Must be a pointer to a BITMAPFO structure. |
void mdlSystem_enterGraphics | ( | ) |
Initialize graphics.
If graphics have been initialized, mdlSystem_enterGraphics returns. This function is intended for programs started before MicroStation initializes graphics.
void mdlSystem_enterGraphicsExtended | ( | int | flags | ) |
Serves the same purpose as mdlSystem_enterGraphics, except that it allows applications to initialize MicroStation's graphics environment without displaying design files.
This is useful, for example, in INITAPPS applications that process design files and want to display dialog boxes, but don't want the drawing displayed on the screen.
[in] | flags | Whether MicroStation displays design file views or not. If flags is 0, MicroStation does display them, if flags is 1 it does not. Other values for flags are reserved. |
int mdlSystem_exchangeDesignFile | ( | WCharCP | fileName, |
UInt32 | option | ||
) |
Open a file as the master file while retaining the view configuration of the current master file.
This provides a convenient way to switch the role of master and reference files without changing the view configuration. mdlSystem_exchangeDesignFile provides the same functionality as the EXCHANGEFILE command (XD=).
[in] | fileName | parameter specifies the name of the file which is to be opened as the master file. |
[in] | option | parameter specifies options for the function. At present there are no options. |
int mdlSystem_exchangeDesignFileAndModel | ( | WCharCP | fileName, |
WCharCP | modelName, | ||
UInt32 | option | ||
) |
Open a file as the master file while retaining the view configuration of the current master file.
This provides a convenient way to switch the role of master and reference files without changing the view configuration. mdlSystem_exchangeDesignFile provides the same functionality as the EXCHANGEFILE command (XD=).
[in] | fileName | parameter specifies the name of the file which is to be opened as the master file. |
[in] | modelName | specifies the model within the file. If this modelName is NULL, the model that was active during the most recent "save settings" operation is opened. |
[in] | option | parameter specifies options for the function. At present there is only one option supported. Set option to 1 to indicate that an update is not to be performed. |
int mdlSystem_exchangeToReference | ( | DgnModelRefP | modelRef, |
UInt32 | option | ||
) |
Opens the file and model as specified by the reference modelRef as the master file, while retaining the view configuration of the current master file.
This provides a convenient way to switch the role of master and reference files without changing the view configuration. mdlSystem_exchangeDesignFile provides the same functionality as the REFERENCE EXCHANGE command.
[in] | modelRef | parameter specifies the name reference file that is to be opened as the master file. |
[in] | option | parameter specifies options for the function. At present there is only one option supported. Set option to 1 to indicate that an update is not to be performed. |
void mdlSystem_exit | ( | int | exitStatus, |
int | exit | ||
) |
Terminate the current MDL task.
MDL does not return to the MDL task. An MDL task can use this function to abort regardless of how deeply it is nested in function calls.
[in] | exitStatus | is the function's exit status. If the MDL task was started by another MDL task, the exit status is returned to the parent task. |
[in] | exit | 1 means unload |
void mdlSystem_extendedAbortEnable | ( | bool | enable | ) |
mdlSystem_extendedAbortEnable and mdlSystem_extendedAbortRequested allow
an MDL application to check for a user abort using the same mechanism as MicroStation's update and fence processing.
This lets the user abort a process using Escape, Reset or <Ctrl-C>. The other methods of signaling abort limit the user to pressing <Ctrl-C> to abort the application.
[out] | enable | true to enable, false to disable |
int mdlSystem_extendedAbortRequested | ( | ) |
mdlSystem_extendedAbortEnable and mdlSystem_extendedAbortRequested allow
an MDL application to check for a user abort using the same mechanism as MicroStation's update and fence processing.
This lets the user abort a process using Escape, Reset or <Ctrl-C>. The other methods of signaling abort limit the user to pressing <Ctrl-C> to abort the application.
int mdlSystem_fileDesign | ( | ) |
The mdlSystem_fileDesign function produces the same result
as selecting Save Settings from the File menu.
All savable settings (those stored in the type 9 and 66 elements) are saved in the design file.
MdlDesc* mdlSystem_findMdlDesc | ( | WCharCP | nameP | ) |
The mdlSystem_findMdlDesc function gets a pointer to the
MDL descriptor with given task ID.
[in] | nameP | descriptor with the task ID |
void mdlSystem_freeFileThumbnail | ( | byte ** | imagePP | ) |
Free the memory occupied by the specified thumbnail image.
[in] | imagePP | a pointer to the image pointer indicating the thumbnail image to be freed. |
WCharCP mdlSystem_getApplicationPath | ( | WCharCP | taskIdP | ) |
Returns a pointer to the full path of the MicroStation resource file that contains the MDL application.
[in] | taskIdP | Points to the task ID that identifies the application being queried. If taskIdP is NULL, mdlSystem_getApplicationPath returns the path of the currently executing MDL application. |
void mdlSystem_getBatchProcessingFile | ( | WCharP | fileName, |
int | bufferLength | ||
) |
This function is meant to be called during the Batch Processing "Analyze File" state.
During this state, Batch Process will open the file and determine the file type as well as the model list. This function allows apps that care about doing something prior to this pre-processing to know which file is about to be worked on. Other Microstation asyncs can be monitored to know which file is being processed during the other Batch Processing states, including SYSTEM_NEW_DESIGN_FILE and SYSTEM_DESIGN_FIND.
[out] | fileName | This buffer receives the file that is currently being analyzed. This is not the script file or file list - rather the actual file that will be opened and processed. If Batch Process is inactive or not in the file analyze section, it will be filled with an empty string. |
[in] | bufferLength | The maximum size of the fileName buffer. |
int mdlSystem_getChar | ( | ) |
The mdlSystem_getChar function polls the keyboard looking for a character.
It returns immediately, regardless of whether a character is available.
MdlDesc* mdlSystem_getCurrMdlDesc | ( | ) |
The mdlSystem_getCurrMdlDesc gets a pointer to the MDL descriptor of
the currently active MDL application.
That is, it returns a pointer to the MDL descriptor of the application that makes the call to mdlSystem_getCurrMdlDesc.
WCharCP mdlSystem_getCurrTaskID | ( | ) |
The mdlSystem_getCurrTaskID function returns a pointer to the task ID of the
application that calls it.
Applications that require a task ID should use this function rather than relying on a hard-coded value.
int mdlSystem_getCursorPosition | ( | DPoint3dP | position, |
int * | qualifierMaskP, | ||
MSWindowP * | gwP, | ||
int * | region, | ||
DPoint3dP | dpUorsP | ||
) |
Return information about the current position of the cursor.
[out] | position | position of the pointer in input device space |
[out] | qualifierMaskP | whether CTRL, ALT or SHIFT keys are pressed |
[out] | gwP | the GUIWindow the pointer is currently in |
[out] | dpUorsP | the datapoint Uors, set by auxInput |
[out] | region | the region the cursor is in |
Get the amount of available disk space from the specified system drive volume.
[out] | pTotalBytes | is the total capacity of the given drive. |
[out] | pFreeBytes | is the amount of available space on the given drive volume. |
[in] | fileSys | is a valid drive letter for the current system. |
IGlobalPositionSourceP mdlSystem_getGlobalPositionSource | ( | ) |
Retrieves the C++ object that implements the IGlobalPositionSource interface.
MdlApplicationClass mdlSystem_getMdlAppClass | ( | MdlDescP | mdlDesc | ) |
Retrieves the application class of the specified MDL application.
[in] | mdlDesc | points to an MDL descriptor; pass NULL to get the application class of the current MDL descriptor. |
void mdlSystem_getMdlAppVersionNumber | ( | MdlDesc * | mdlDescP, |
VersionNumber * | pVersionNumber | ||
) |
Retrieves an MDL application's version number.
This is the version number that MicroStation displays in the MDL application detail dialog.
[in] | mdlDescP | points to an MDL descriptor. An application can pass NULL to get its own version number. |
[in] | pVersionNumber | points to a structure to receive the version number. |
MdlDesc* mdlSystem_getMdlDescFromProcessNumber | ( | long | processNumber | ) |
Return the process number of the specified MDL task.
The mdlSystem_getMdlDescFromProcessNumber function returns a pointer to the MDL descriptor corresponding to the specified process number.
[in] | processNumber | is a number that uniquely identifies an MDL task. |
WCharCP mdlSystem_getMdlTaskID | ( | MdlDesc * | mdlDescP | ) |
The mdlSystem_getMdlTaskID function gets a pointer to the task ID of the
application identified by mdlDescP.
[in] | mdlDescP | task whose taskID is wanted |
void mdlSystem_getMdlTaskList | ( | bvector< WString > & | taskList | ) |
The mdlSystem_getMdlTaskList function generates a list of installed MDL task
names.
long mdlSystem_getProcessNumberFromMdlDesc | ( | MdlDesc * | mdlDesc | ) |
Return the process number of the specified MDL task.
The mdlSystem_getMdlDescFromProcessNumber function returns a pointer to the MDL descriptor corresponding to the specified process number.
[in] | mdlDesc | is a pointer to an MDL descriptor. |
int mdlSystem_getTaskStatistics | ( | MdlAppStatistics * | statisticsP, |
WCharCP | taskIdP | ||
) |
The mdlSystem_getTaskStatistics function collects statistics on the task specified
by taskIdP.
It returns them in the structure that statisticsP points to. taskIdP points to the task ID of the desired MDL task.
[out] | statisticsP | can be NULL if mdlSystem_getTaskStatistics is used only to determine whether a program is installed. |
[in] | taskIdP | NULL for current task |
MSTNTOOLS_EXPORT unsigned long mdlSystem_getTicks | ( | ) |
Gets a tick count from an arbitrary start time.
Each tick is approximately 1/60 of a second.
void mdlSystem_ignoreNextEraseBkGnd | ( | ) |
Ignores the next WM_ERASEBKGND Windows message for a child window.
Should only be used when an MDL dialog is hosting a WinForms control.
Increments a lock count.
If the MDL application's lock count is greater than zero, MicroStation will not unload it unless MicroStation is shutting down
[in] | mdlDesc | points to an MDL descriptor; cannot be NULL |
bool mdlSystem_isDropShadowSupported | ( | ) |
Detects whether drop-shadows are supported by the OS.
bool mdlSystem_isGraphicsInitialized | ( | ) |
Check if graphics have been initialized.
bool mdlSystem_isRunningInRemoteSession | ( | ) |
Detects whether the product is running in a Remote Desktop Services client session.
bool mdlSystem_isRunningVistaorLater | ( | ) |
Checks if the operating system is Windows Vista or later.
bool mdlSystem_isRunningWin10orLater | ( | ) |
Checks if the operating system is Windows 10 or later.
bool mdlSystem_isRunningWin7orLater | ( | ) |
Checks if the operating system is Windows 7 or later.
bool mdlSystem_isRunningWin8orLater | ( | ) |
Checks if the operating system is Windows 8 or later.
bool mdlSystem_isRunningWinXPorLater | ( | ) |
Checks if the operating system is Windows XP or later.
int mdlSystem_loadMdlProgram | ( | WCharCP | pathP, |
WCharCP | taskIdP, | ||
WCharCP | pArgument | ||
) |
Load the program specified by taskIdP from the resource file specified by appFileP.
If appFileP is NULL, the new program is loaded from the same resource file as the parent task. If the task has a function main, main is executed before the calling function is resumed. argumentP is passed to main.
[in] | pathP | File containing the program. It is common to only specify the main part of the file name. mdlSystem_loadMdlProgram appends the .ma and finds the file in one of the locations that the MS_MDL environment variable specifies. Do not specify NULL unless the program to be loaded and the program making the call are loaded from the same resource file. |
[in] | taskIdP | Specifies which program is to be loaded. NULL is normally used for this parameter. It is only necessary to specify the task ID if the file contains more than one MDL application. |
[in] | pArgument | Argument passed to MDL Program's main. |
int mdlSystem_newDesignFile | ( | WCharCP | fileName | ) |
Open a Design File after closing the open (active) design file.
[in] | fileName | specifies the name of the file. The filename path or extension does not need to be supplied. MicroStation assumes the .dgn extension. It searches all directories specified by the MicroStation environment variable MS_DEF. |
int mdlSystem_newDesignFileAndModel | ( | WCharCP | fileName, |
WCharCP | modelName | ||
) |
Open the specified model in the specified design file after closing the open (active) design file.
[in] | fileName | specifies the name of the file. The filename path or extension does not need to be supplied. MicroStation assumes the .dgn extension. It searches all directories specified by the MicroStation environment variable MS_DEF. |
[in] | modelName | specifies the model within the file. If this modelName is NULL, the model that was active during the most recent "save settings" operation is opened. |
Allow an MDL program to step through MicroStation's list of MDL tasks.
[in] | descP | points to an MDL descriptor. It typically is NULL, or the value returned from the previous call to mdlSystem_nextMdlApp. |
bool mdlSystem_openFileThumbnail | ( | DgnPlatform::DgnFileFormatType * | pFormat, |
int * | pMajorVersion, | ||
int * | pMinorVersion, | ||
bool * | pDefaultModelIs3D, | ||
WCharCP | fileName, | ||
byte ** | image, | ||
int * | imageSize | ||
) |
Open the thumbnail image for the specified file.
[out] | pFormat | a pointer to an integer indicating the format of the file. This value will be DgnFileFormatType::V8, DgnFileFormatType::V7, DgnFileFormatType::DWG or DgnFileFormatType::DXF. |
[out] | pMajorVersion | a pointer to an integer indicating the major version of the software that wrote the file. |
[out] | pMinorVersion | a pointer to an integer indicating the minor version of the software that wrote the file. |
[out] | pDefaultModelIs3D | indicates whether the default model in the file is three dimensional. |
[in] | fileName | the name of the file to validate and open the thumbnail for. |
[in,out] | image | a pointer to the buffer to receive the image data |
[in] | imageSize | a pointer to an integer indicating the size of the imagePP buffer. |
void mdlSystem_pauseTicks | ( | int | sixtieths | ) |
Pause the MDL program and MicroStation for at least the specified interval.
MicroStation pauses in an idle loop. It is inactive during the interval.
[in] | sixtieths | pause intervals; sixtieths of a second |
void mdlSystem_pumpMessages | ( | ) |
Enters a message pumping loop to be used during long processes, indicating
to the OS that the application is still responsive.
void mdlSystem_pumpMessagesEx | ( | unsigned long | minTicks | ) |
Identical to mdlSystem_pumpMessages except that the message pumping loop
is only executed if at least minTicks ticks have elapsed since the last message pump
[in] | minTicks | Pump messages only if this many ticks have elapsed since last pump |
int mdlSystem_registerCommandNames | ( | MdlCommandName * | pNamess | ) |
Register functions with the mdl runtime engine.
[in] | pNamess | is an array of MdlCommandName that are to be registered. |
int mdlSystem_registerCommandNamesByDesc | ( | struct mdlDesc * | pDesc, |
MdlCommandName * | pNames | ||
) |
Register functions with the mdl runtime engine.
[in] | pDesc | is an MDL descriptor. This is a descriptor that MDL uses to keep track of MDL applications. Use mdlSystem_getCurrMdlDesc to find the MDL descriptor for the current task. |
[in] | pNames | is the array of MdlCommandNames to register with the runtime engine. |
int mdlSystem_registerCommandNumbers | ( | MdlCommandNumber * | pNumbers | ) |
Register functions with the mdl runtime engine.
[in] | pNumbers | is an array of MdlCommandNumbers that are to be registered. |
int mdlSystem_registerCommandNumbersByDesc | ( | struct mdlDesc * | pDesc, |
MdlCommandNumber * | pNumbers | ||
) |
Register functions with the mdl runtime engine.
[in] | pDesc | is an MDL descriptor. This is a descriptor that MDL uses to keep track of MDL applications. Use mdlSystem_getCurrMdlDesc to find the MDL descriptor for the current task. |
[in] | pNumbers | is the array of MdlCommandNumbers to register. |
int mdlSystem_saveDesignFile | ( | ) |
Save all pending changes to the active design file.
It simulates the user selecting "Save" from the "File" menu.
StatusInt mdlSystem_saveDesignFileAs | ( | WCharCP | pFileName, |
DgnFileP | dgnFileObj, | ||
DgnPlatform::DgnFileFormatType | format, | ||
bool | convertRefs | ||
) |
Save a file file object to a different file or a different format.
It is roughly equivalent to the user doing a Save As...
[in] | pFileName | the name of the file to save to. |
[in] | dgnFileObj | the file object to save. |
[in] | format | the format to save to. The formats are defined in msdgnfileobj.h. The currently supported formats include DgnFileFormatType::V7, DgnFileFormatType::V8, DgnFileFormatType::DWG and DgnFileFormatType::DXF. |
[in] | convertRefs | if true and references are created (if they do not already exist in the target format. |
void mdlSystem_scheduleUnload | ( | MdlDesc * | mdlDescriptor, |
bool | silent, | ||
int | unloadStatus | ||
) |
Immediately disconnects nearly all hook functions for the current MDL application
so the application will not be called again, and queues an CMD_MDL_UNLOAD command so the application will be unloaded as soon as possible.
[in] | unloadStatus | is the function's exit status. If the MDL task was started by another MDL task, the exit status is returned to the parent task. |
[in] | mdlDescriptor | specifies the app to be unloaded. If this argument is NULL mdSystem_scheduleUnload uses the MdlDesc of the current MDL application. |
[in] | silent | determines whether MicroStation displays a message indicating that the MDL application was unloaded. |
void mdlSystem_setApplicationTitle | ( | WCharCP | fileName | ) |
Set the title string in the main application window title bar.
[in] | fileName | is usually the name of the current design file. Remarks The system appends the name of the running software product following the file name string passed to this function. |
MdlApplicationClass mdlSystem_setMdlAppClass | ( | WCharCP | taskIdP, |
MdlApplicationClass | newClass | ||
) |
Modify the application class of a loaded MDL application.
[in] | taskIdP | specifies the application to be effected. If an application is modifying its own application class, it can specify NULL for taskIdP. |
[in] | newClass | specifies the new class. It must be one of the APPLICATION_ values defined in msdefs.h. Application programs normally have class MdlApplicationClass::InitApp if the application was started from the MS_INITAPPS environment variable, MdlApplicationClass::DGNApp if the application was started from the MS_DGNAPPS environment variable, or MdlApplicationClass::User if it was started any other way. Some MS_INITAPPS applications that start other MDL applications need the child application to remain loaded. They want to prevent the application from being unloaded if MicroStation exits from the design file state. To prevent this, set the child application's class to MdlApplicationClass::InitApp after starting it. |
void mdlSystem_setMdlAppVersionNumber | ( | MdlDesc * | mdlDescP, |
VersionNumber * | pVersionNumber | ||
) |
Sets an MDL application's version number.
This is the version number that MicroStation displays in the MDL application detail dialog.
[in] | mdlDescP | points to an MDL descriptor. An application can pass NULL to set its own version number. |
[in] | pVersionNumber | points to a structure that contains the version number. |
int mdlSystem_setTimerFunction | ( | int * | timerHandleP, |
long | duration, | ||
MdlTimerFuncP | funcP, | ||
intptr_t | argument, | ||
int | continuous | ||
) |
Designate a timer function to be called after duration timer ticks.
A tick is approximately (but not exactly) one-sixtieth of a second. The output timerHandleP is set to a unique integer handle that cancels the timer using mdlSystem_cancelTimer. When the user-designated function function is called, the long-sized argument userArg is passed to it. If continuous is true, function is called every duration ticks until cancelled.
[out] | timerHandleP | timer handle |
[in] | duration | duration in sixtieths of a second |
[in] | funcP | offset of function to call on timeout |
[in] | argument | argument to send to your function |
[in] | continuous | if true, restart on timeout |
void mdlSystem_startBusyCursor | ( | ) |
Change the graphical cursor to a form which indicates to the user that work is in progress and that the user should
wait for the operation to complete
bool mdlSystem_startedAsAutomationServer | ( | ) |
Determine whether MicroStation was started as an Automation Server.
void mdlSystem_stopBusyCursor | ( | ) |
Change the cursor back to normal following a call to mdlSystem_startBusyCursor.
int mdlSystem_unloadMdlProgram | ( | WCharCP | pName | ) |
Unload the MDL program specified by taskIdP.
The MDL task to be unloaded can reject the unload request by returning a non-zero value from the mdlSystem_unloadProgram user function.
[in] | pName | Name of the program to unload |
int mdlSystem_updateCurrentNode | ( | ) |
Updates the current text node number and saves the new value to the design file.
UInt32 mdlSystem_updateGraphicGroup | ( | ) |
Updates the current graphic group number.
StatusInt mdlSystem_upgradeDesignFile | ( | WCharCP | designFileName | ) |
Upgrade a DGN file from a previous version to the current version.
[in] | designFileName | name of file to upgrade. |
int mdlSystem_userAbortEnable | ( | int | enable | ) |
Control whether the user can abort an MDL task.
If an MDL task never calls mdlSystem_userAbortEnable, the user can abort the MDL task by pressing <Ctrl-C>. The MDL task can disable this capability by calling mdlSystem_userAbortEnable with an argument of 0. The MDL task can enable this capability by calling mdlSystem_userAbortEnable with a non-zero argument. By default, this capability is enabled.
[in] | enable | 0 prevents asynchronous aborts |
StatusInt mdlWindow_getDefaultCaptionFont | ( | WStringR | fontName, |
int & | fontHeight, | ||
int & | fontWeight, | ||
bool & | fontFixed | ||
) |
Gets the default caption font taking the locale into account.
[out] | fontName | the font name/type face of the font |
[out] | fontHeight | the height, in logical units, of the font's character cell or character |
[out] | fontWeight | the weight of the font in the range from 0 through 1000 |
[out] | fontFixed | true if the font is fixed-pitch, or false if it is variable-pitch |
StatusInt mdlWindow_getDefaultDialogFont | ( | WStringR | fontName, |
int & | fontHeight, | ||
int & | fontWeight, | ||
bool & | fontFixed | ||
) |
Gets the default dialog font taking the locale into account.
[out] | fontName | the font name/type face of the font |
[out] | fontHeight | the height, in logical units, of the font's character cell or character |
[out] | fontWeight | the weight of the font in the range from 0 through 1000 |
[out] | fontFixed | true if the font is fixed-pitch, or false if it is variable-pitch |
|
static |
Set a function that is called when an ACS is created, deleted, or modified.
[in] | newFunc | The new function to call. |
|
static |
Allows you to be notified after the active Element Template is changed.
|
static |
Set a function that is called when the state of an active parameter changes.
[in] | newFunc | The new function to call. |
|
static |
An MDL application can use this to set a function to be called whenever any MDL application unloads.
[in] | unloadFunction | The new function to call, or NULL. |
|
static |
Set a function that is called when the Application Area has changed.
[in] | newFunc | The new function to call. |
|
static |
Set a function that is called whenever a cell library is attached or detached.
[in] | newFunc | The new function to call. |
|
static |
Allows you to be notified when the Clipboard has been updated.
|
static |
Set a function that is called when the Status Bar or Command Window has been opened.
[in] | newFunc | The new function to call. |
|
static |
Set a function that is called when a color table is attached or modified.
[in] | newFunc | The new function to call. |
|
static |
Set a function that is called whenever someone creates a cell in a cell library using the old method of placing a fence and orign and creating a cell.
It is not particularly useful because it will not be called when a cell library is opened as a DGN file and a new cell model is created.
[in] | newFunc | The new function to call. |
|
static |
Allows you to be notified when the set of DgnLibs has changed.
|
static |
Set a function that is called during a mdlDialog_findByTypeAndId call.
If the application wants to provide a different dialog, it should be returned; else return NULL.
[in] | newFunc | The new function to call. |
|
static |
Set a function that is called each time a dimension style is added, deleted, or updated in a file.
Also called when the active dimension style changes.
[in] | newFunc | The new function to call. |
|
static |
Set a function that is called when an element is being copied between models.
[in] | newFunc | The new function to call. |
|
static |
Set a function that is called before an element descriptor is written to a model to allow applications to modify the element or block the operation.
[in] | newFunc | The new function to call. |
|
static |
Set a function that is called when a fence is defined or cleared.
[in] | newFunc | The new function to call. |
|
static |
Set a function that is called when the state of an active lock changes.
[in] | newFunc | The new function to call. |
|
static |
Allows you to be notified after the current UI "main" task (e.g.
via task navigation) has changed.
|
static |
An MDL application can use this to set a function to be called when the a child MDL application is unloaded.
[in] | unloadFunction | The new function to call, or NULL. |
|
static |
Set a function that is called when the main menu bar is changed via a call to mdlDialog_menuBarActivate.
[in] | newFunc | The new function to call. |
|
static |
Set a function that is called when a message is written to the Message Center.
[in] | newFunc | The new function to call. |
|
static |
Set a function that is called each time a multi-line style is added, deleted, or updated in a file.
Also called when the active multi-line style changes.
[in] | newFunc | The new function to call. |
|
static |
Set a function that is called when a prompt is output to the Status Bar.
[in] | newFunc | The new function to call. |
|
static |
An MDL application can use this to set a function to be called when there is another request to load it.
[in] | newFunc | The new function to call, or NULL. |
|
static |
Allows you to be notified when the Ribbon's Backstage is opened.
|
static |
Set a function that is called when a status message is output to the Status Bar.
[in] | newFunc | The new function to call. |
|
static |
Set a function that is called whenever the active symbology (color, style, weight) is changed.
[in] | newFunc | The new function to call. |
|
static |
Allows you to be notified after the current UI task (e.g.
via task navigation) has changed.
|
static |
Allows you to be notified before the current UI task is changed.
This allows you to cancel the task change, leaving the current task active.
|
static |
Set a function that is called each time a text style is added, deleted, or updated in a file.
Also called when the active text style changes.
[in] | newFunc | The new function to call. |
|
static |
An MDL application can use this to set a function to be called when the application is about to be unloaded.
[in] | unloadFunction | The new function to call, or NULL. |
|
static |
Set a function that is called when the model update sequence is defined or modified.
[in] | newFunc | The new function to call. |
|
static |
Set a function that is called when a window is about to be closed.
The function set returns true if the window can be closed and false to keep it open.
[in] | newFunc | The new function to call. |
|
static |
Set a function that is called for all keystroke related messages from Windows.
[in] | newFunc | The new function to call. |
|
static |
Set a function that is called when the workspace, project, or interface changes.
[in] | newFunc | The new function to call. |