Click or drag to resize

_GetCmdShow Function

X#

Note: This API is now obsolete.

Return a constant specifying how the application window is shown.

Namespace:  XSharp.Core
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax
[ObsoleteAttribute]
 FUNCTION _GetCmdShow() AS LONG
Request Example View Source

Return Value

Type: Long
One of the following constants indicating the status of the window: Constant Meaning SW_HIDE The window is hidden and another window activated SW_MINIMIZE The window is minimized and the top-level window in the system's list is activated SW_RESTORE Window is activated and displayed — if minimized or maximized, Windows restores it to its original size and position (same as SW_SHOWNORMAL). SW_SHOW Window is activated and displayed in its current size and position SW_SHOWMAXIMIZED Window is activated and displayed as maximized SW_SHOWMINIMIZED Window is activated and displayed as an icon SW_SHOWMINNOACTIVE Window is displayed as an icon, leaving the currently active window active SW_SHOWNA Window is displayed in its current state, leaving the currently active window active SW_SHOWNOACTIVATE Window is displayed in its most recent size and position, leaving the currently active window active SW_SHOWNORMAL Window is activated and displayed — if minimized or maximized, Windows restores it to its original size and position (same as SW_RESTORE).
Remarks