IShellLink::SetShowCmd

Syntax:

SetShowCmd (int iShowCmd);

Parameter:

Description:

Sets the Show command for the shortcut object. The Show command is the show state of the window and can be one of the following:

SW_HIDE Hides the window.
SW_MINIMIZE Minimizes the window.
SW_RESTORE Activates and displays the window, restoring it to its original size and position if it has been previously maximized or minimized.
SW_SHOW Activates the window in its current size and position.
SW_SHOWMAXIMIZED Activates and maximizes the window.
SW_SHOWMINIMIZED Activates and minimizes the window.
SW_SHOWNA Shows the window in its current state but does not activate it.
SW_SHOWNOACTIVE Shows the window in its most recent size and position but does not activate it.
SW_SHOWNORMAL Activates and displays the window. This style also includes the SW_RESTORE option and will restore the window to its original size and position.