[This is preliminary documentation and is subject to change.]

Possible states of system menu

Namespace: Tools.WindowsT.FormsT
Assembly: Tools.Win (in Tools.Win.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public enum SystemMenuState
Visual Basic
Public Enumeration SystemMenuState
Visual C++
public enum class SystemMenuState
F#
type SystemMenuState
JScript
public enum SystemMenuState

Members

Member nameValueDescription
Disabled2Indicates that the menu item is disabled, but not grayed, so it cannot be selected, but visually seems like it can be selected. Button in title bar is greyed. Note: User CANNOT press Alt+F4 (or use another method exluding force methods (kill)) to close window if used by instance member (not static (shared)) CloseBoxEnabled; if used with static (shared) CloseBoxEnabled user CAN use Alt+F4 (or other 'soft' methods) to close window.
Enabled0Indicates that the menu item is enabled and restored from a grayed state so that it can be selected.
Grayed1Indicates that the menu item is disabled and grayed so that it cannot be selected. Button in title bar is greyed. Note: User CANNOT press Alt+F4 (or use another method exluding force methods (kill)) to close window if used by instance member (not static (shared)) CloseBoxEnabled; if used with static (shared) CloseBoxEnabled user CAN use Alt+F4 (or other 'soft' methods) to close window.
IsFlagsGets value indicating if given value is of enum type which has FlagsAttribute applied
GetNameGets name of given enumeration value
GetConstantGets constant field that represents given enum value
GetValueGets value of enum in its unedlying type
IsDefinedGets value idicating if given value is defined as constant in enumeration

See Also