RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomFileRun.ShowCmd Property

Specifies how the launched application window appears.

Pascal
property ShowCmd: TShowCmd;
C++
__property TShowCmd ShowCmd;

Use ShowCmd to indicate how you want the application window to appear when TCustomFileRun performs the specified operation on its target file. ShowCmd can have any of the following values:

Value 
Meaning 
scHide  
The external application window is hidden. If it was active, another window is activated.  
scMaximize  
The external application window is maximized (but not necessarily activated)  
scMinimize  
The external application window is minimized (but not necessarily activated).  
scRestore  
The external application window is activated. If it was minimized or maximized, Windows restores it to its original size and position.  
scShow  
The external application window is activated in its current size and position.  
scShowDefault  
The external application window is shown in the default startup state specified by that external application.  
scShowMaximized  
The external application window is activated and maximized.  
scShowMinimized  
The external application window is activated and minimized.  
scShowMinNoActive  
The external application window is minimized. The active window does not change.  
scShowNA  
The external application window is displayed (after being hidden) but activation does not change.  
scShowNoActivate  
The external application window is displayed in its most recent size and position, but activation does not change.  
scShowNormal  
The external application window is activated and restored to its original size and position if it was maximized or minimized.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!