separator separator

ShowSysCommands (Property)

Returns or sets a value that determines which commands will be displayed in the window system menu besides of the ones that the window displays by default. It is available at design and at run time.

Syntax

object.ShowSysCommands [= value]

The ShowSysCommands property syntax has these parts:

Part Description
object An object expression referencing to a vbSkinner object.
value A long value that specifies which menu command will the window (form) show in the system menu.

Settings

The settings for value are:

Value Description
skSysNo (0) Only the default Windows commands will be displayed.
skAll (1) All the command options will be displayed. The ones corresponding to the buttons added to the title bar, the default system command, and the command for enabling/disabling the skin.
skOnlyDisableSkin (2) In addition to the ones that Windows display by default, it will be available the option to enable/disable the skin. It correspond with a change of the Enabled property.
skOnlyButtonsCommands (3) (Default) In addition to the ones that Windows display by default, it will be available the options corresponding to the buttons added to the title bar.


Remarks:
The system menu appear right clicking on the title bar (see image) or right clicking on the task bar.

 

separator

See also: Enabled (property)
To customize the buttons that appear in the title bar
vbSkinner constants 

separator

ActiveX controls for Visual Basic 6 - homevbSkinner help main page Beginning   Go back Back