Original Article Date: Nov 14, 2002
The title says it all. With thanks to none other than Sean Forward for sharing this stuff! Note: This information is also available if you open the following file: ...\Bentley\Program\Microstation\mdl\include\cmdlist.h (Thanks to Eric Bridwell for pointing out this out!)
Useful DMSG keyins
Useful dialog based keyins
Description
DMSG DIALOGDEBUG TOGGLE
Used to find a dialogId
DMSG FOCUSDIALOG (dialogId) (taskId)
Send focus to a specific dialog
DMSG FOCUSITEM (itemId)
Send focus to a specific dialog item index
DMSG CLOSEDIALOG (dialogId) (taskId)
Close a specific dialog or tool box
Keyboard Equivilants
DMSG ACTION OKAY
Enter
DMSG ACTION CANCEL
Esc
DMSG CLIPBOARD CUT
Ctrl + X
DMSG CLIPBOARD COPY
Ctrl + C
DMSG CLIPBOARD PASTE
Ctrl + V
DMSG CLIPBOARD UNDO
Ctrl + Z
DMSG CLIPBOARD REDO
Ctrl + R
DMSG CLIPBOARD CLEAR
Ctrl + C (with nothing selected)
DMSG CLIPBOARD DELETE
DMSG CLIPBOARD INSERTTEXT
No equivilant
DMSG CURSOR PREVIOUSPRIORITYWINDOW
Shift + Esc
DMSG CURSOR LEFT
Arrow Key - left
DMSG CURSOR RIGHT
Arrow Key - right
DMSG CURSOR UP
Arrow Key - up
DMSG CURSOR DOWN
Arrow Key - down
DMSG CURSOR DATABEGIN
Ctrl + Home(select from cursor to beginning of line)
DMSG CURSOR DATAEND
Ctrl + End(select from cursor to end of line)
DMSG CURSOR DELETELEFT
Delete all to the left of the cursor
DMSG CURSOR DELETERIGHT
Delete all to the right of the cursor
DMSG CURSOR DELETELEFTWORD
Delete word left of the cursor
DMSG CURSOR DELETERIGHTWORD
Delete word right of the cursor
DMSG CURSOR DELETEDATABEGIN
Delete from cursor to the beginning of line
DMSG CURSOR DELETEDATAEND
Delete from cursor to the end of line
DMSG CURSOR WORDLEFT
Ctrl + Arrow Key Left (select word to left of cursor)
DMSG CURSOR WORDRIGHT
Ctrl + Arrow Key Right (select word to left of cursor)
DMSG CURSOR FOCUSDOWN
Ctrl + Arrow Key Down
DMSG CURSOR FOCUSUP
Ctrl + Arrow Key Up
DMSG CURSOR LINEBEGIN
Home (top of list or selection)
DMSG CURSOR LINEEND
End (bottom of list or selection)
DMSG CURSOR PAGEUP
Page Up
DMSG CURSOR PAGEDOWN
Page Down
DMSG CURSOR NEXTFIELD
Tab
DMSG CURSOR PREVIOUSFIELD
Shift + Tab
DMSG CURSOR SELECTALL
Ctrl + A
DMSG CURSOR DESELECTALL
DMSG CURSOR TOGGLEINSERTMODE
Insert Key
DMSG CURSOR NEXTWINDOW
Focus to next window
DMSG CURSOR PREVIOUSWINDOW
Focus to previous window
Misc. Dialog Messages
DMSG GUIMODE MOTIF
Change look of MicroStation to MOTIF
DMSG GUIMODE WINDOWS
Change look of MicroStation to WINDOWS
DMSG GUIMODE MACINTOSH
Change look of MicroStation to MACINTOSH
DMSG SINKALL TOGGLE
Sends dialog boxes to very bottom or very top layer
MDL Debugging
DMSG ITEMDEBUG TOGGLE
Dialog item hook debugging
DMSG HANDLERDEBUG TOGGLE
Dialog item handler debugging
DMSG CLEARDEBUG
Clears information displayed in the dialog messages window
DMSG ACTION SHOWACCELERATORS
"List of: Accelerator keys, virtual and raw key code, DMSG keyin and command number"
DMSG ACTION SHOWMNEMONICS
Lists mnemonics of dialog box in focus. (i.e. DMSG FOCUSDIALOG 1 myapp;DMSG ACTION SHOWMNEMONICS)
DMSG SHOWVERSIONS
List of dialog item compent version numbers
DMSG HANDLERDEBUG BEFORE TOGGLE
Handler pre messages
DMSG HANDLERDEBUG AFTER TOGGLE
Handler post messages
DMSG OPENMSGFILE drive:\path\output.txt
Specifies file to capture DMSG messages to
DMSG APPENDMSGFILE drive:\path\output.txt
Specifies point at which to start recording to file
DMSG CLOSEMSGFILE
Stops recording and closes file
AskInga Article #131