|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > CADSystem > ShowMainFrameWindow |
available from build: 20021108 |
It controls the display state of the main application frame window, the one that is currently hosting DBWorks.
call DBWShell("ShowMainFrameWindow mode")
mode |
0:minimize |
Useful for applications using the DBWorks Standalone COM Server, to hide the small frame window normally positioned on the top-left of the screen.
Sub Main()
DBWShell("ShowMainFrameWindow 0")
DBWMsgBox("Minimized")
DBWShell("ShowMainFrameWindow 1")
DBWMsgBox("Restored")
DBWShell("ShowMainFrameWindow 2")
DBWMsgBox("Maximized")
DBWShell("ShowMainFrameWindow 1")
DBWMsgBox("Restored")
DBWShell("ShowMainFrameWindow 3")
DBWMsgBox("Hidden")
DBWShell("ShowMainFrameWindow 4")
DBWMsgBox("Shown")
End Sub