System::Windows::Forms Namespace Reference

Classes

class  Control
 
class  Form
 
class  IButtonControl
 
class  Screen
 
struct  SystemInformation
 

Enumerations

enum  Appearance { Appearance::Normal = 0, Appearance::Button = 1 }
 Defines how the control looks. More...
 
enum  AutoSizeMode { AutoSizeMode::GrowAndShrink = 0, AutoSizeMode::GrowOnly = 1 }
 Defines how autosize works. More...
 
enum  CheckState { CheckState::Unchecked = 0, CheckState::Checked = 1, CheckState::Indeterminate = 2 }
 State of checkable control (e. g. checkbox). More...
 
enum  DialogResult {
  DialogResult::None = 0, DialogResult::OK = 1, DialogResult::Cancel = 2, DialogResult::Abort = 3,
  DialogResult::Retry = 4, DialogResult::Ignore = 5, DialogResult::Yes = 6, DialogResult::No = 7
}
 Result of dialog interaction with user. More...
 
enum  FlatStyle { FlatStyle::Flat = 0, FlatStyle::Popup = 1, FlatStyle::Standard = 2, FlatStyle::System = 3 }
 Defines whether the control is drawn flat or three-dimentional. More...
 
enum  FormBorderStyle {
  FormBorderStyle::None = 0, FormBorderStyle::FixedSingle = 1, FormBorderStyle::Fixed3D = 2, FormBorderStyle::FixedDialog = 3,
  FormBorderStyle::Sizable = 4, FormBorderStyle::FixedToolWindow = 5, FormBorderStyle::SizableToolWindow = 6
}
 Defines how the border is drawn. More...
 
enum  Keys {
  Keys::Modifiers = -65536, Keys::None = 0, Keys::LButton = 1, Keys::RButton = 2,
  Keys::Cancel = 3, Keys::MButton = 4, Keys::XButton1 = 5, Keys::XButton2 = 6,
  Keys::Back = 8, Keys::Tab = 9, Keys::LineFeed = 10, Keys::Clear = 12,
  Keys::Return = 13, Keys::Enter = 13, Keys::ShiftKey = 16, Keys::ControlKey = 17,
  Keys::Menu = 18, Keys::Pause = 19, Keys::Capital = 20, Keys::CapsLock = 20,
  Keys::KanaMode = 21, Keys::HanguelMode = 21, Keys::HangulMode = 21, Keys::JunjaMode = 23,
  Keys::FinalMode = 24, Keys::HanjaMode = 25, Keys::KanjiMode = 25, Keys::Escape = 27,
  Keys::IMEConvert = 28, Keys::IMENonconvert = 29, Keys::IMEAccept = 30, Keys::IMEAceept = 30,
  Keys::IMEModeChange = 31, Keys::Space = 32, Keys::Prior = 33, Keys::PageUp = 33,
  Keys::Next = 34, Keys::PageDown = 34, Keys::End = 35, Keys::Home = 36,
  Keys::Left = 37, Keys::Up = 38, Keys::Right = 39, Keys::Down = 40,
  Keys::Select = 41, Keys::Print = 42, Keys::Execute = 43, Keys::Snapshot = 44,
  Keys::PrintScreen = 44, Keys::Insert = 45, Keys::Delete = 46, Keys::Help = 47,
  Keys::D0 = 48, Keys::D1 = 49, Keys::D2 = 50, Keys::D3 = 51,
  Keys::D4 = 52, Keys::D5 = 53, Keys::D6 = 54, Keys::D7 = 55,
  Keys::D8 = 56, Keys::D9 = 57, Keys::A = 65, Keys::B = 66,
  Keys::C = 67, Keys::D = 68, Keys::E = 69, Keys::F = 70,
  Keys::G = 71, Keys::H = 72, Keys::I = 73, Keys::J = 74,
  Keys::K = 75, Keys::L = 76, Keys::M = 77, Keys::N = 78,
  Keys::O = 79, Keys::P = 80, Keys::Q = 81, Keys::R = 82,
  Keys::S = 83, Keys::T = 84, Keys::U = 85, Keys::V = 86,
  Keys::W = 87, Keys::X = 88, Keys::Y = 89, Keys::Z = 90,
  Keys::LWin = 91, Keys::RWin = 92, Keys::Apps = 93, Keys::Sleep = 95,
  Keys::NumPad0 = 96, Keys::NumPad1 = 97, Keys::NumPad2 = 98, Keys::NumPad3 = 99,
  Keys::NumPad4 = 100, Keys::NumPad5 = 101, Keys::NumPad6 = 102, Keys::NumPad7 = 103,
  Keys::NumPad8 = 104, Keys::NumPad9 = 105, Keys::Multiply = 106, Keys::Add = 107,
  Keys::Separator = 108, Keys::Subtract = 109, Keys::Decimal = 110, Keys::Divide = 111,
  Keys::F1 = 112, Keys::F2 = 113, Keys::F3 = 114, Keys::F4 = 115,
  Keys::F5 = 116, Keys::F6 = 117, Keys::F7 = 118, Keys::F8 = 119,
  Keys::F9 = 120, Keys::F10 = 121, Keys::F11 = 122, Keys::F12 = 123,
  Keys::F13 = 124, Keys::F14 = 125, Keys::F15 = 126, Keys::F16 = 127,
  Keys::F17 = 128, Keys::F18 = 129, Keys::F19 = 130, Keys::F20 = 131,
  Keys::F21 = 132, Keys::F22 = 133, Keys::F23 = 134, Keys::F24 = 135,
  Keys::NumLock = 144, Keys::Scroll = 145, Keys::LShiftKey = 160, Keys::RShiftKey = 161,
  Keys::LControlKey = 162, Keys::RControlKey = 163, Keys::LMenu = 164, Keys::RMenu = 165,
  Keys::BrowserBack = 166, Keys::BrowserForward = 167, Keys::BrowserRefresh = 168, Keys::BrowserStop = 169,
  Keys::BrowserSearch = 170, Keys::BrowserFavorites = 171, Keys::BrowserHome = 172, Keys::VolumeMute = 173,
  Keys::VolumeDown = 174, Keys::VolumeUp = 175, Keys::MediaNextTrack = 176, Keys::MediaPreviousTrack = 177,
  Keys::MediaStop = 178, Keys::MediaPlayPause = 179, Keys::LaunchMail = 180, Keys::SelectMedia = 181,
  Keys::LaunchApplication1 = 182, Keys::LaunchApplication2 = 183, Keys::OemSemicolon = 186, Keys::Oem1 = 186,
  Keys::Oemplus = 187, Keys::Oemcomma = 188, Keys::OemMinus = 189, Keys::OemPeriod = 190,
  Keys::OemQuestion = 191, Keys::Oem2 = 191, Keys::Oemtilde = 192, Keys::Oem3 = 192,
  Keys::OemOpenBrackets = 219, Keys::Oem4 = 219, Keys::OemPipe = 220, Keys::Oem5 = 220,
  Keys::OemCloseBrackets = 221, Keys::Oem6 = 221, Keys::OemQuotes = 222, Keys::Oem7 = 222,
  Keys::Oem8 = 223, Keys::OemBackslash = 226, Keys::Oem102 = 226, Keys::ProcessKey = 229,
  Keys::Packet = 231, Keys::Attn = 246, Keys::Crsel = 247, Keys::Exsel = 248,
  Keys::EraseEof = 249, Keys::Play = 250, Keys::Zoom = 251, Keys::NoName = 252,
  Keys::Pa1 = 253, Keys::OemClear = 254, Keys::KeyCode = 65535, Keys::Shift = 65536,
  Keys::Control = 131072, Keys::Alt = 262144
}
 Known keys. More...
 

Enumeration Type Documentation

◆ Appearance

Defines how the control looks.

Enumerator
Normal 

The default appearance defined by the control class.

Button 

The appearance of a Windows button.

◆ AutoSizeMode

Defines how autosize works.

Enumerator
GrowAndShrink 

Control grows and shrinks as neccessary. It can not be resized manually.

GrowOnly 

Control grows as neccessary but can't shrink below minimal size. It can be resized manually.

◆ CheckState

State of checkable control (e. g. checkbox).

Enumerator
Unchecked 

Unchecked.

Checked 

Checked.

Indeterminate 

Transition state which is most commonly depicted as shaded.

◆ DialogResult

Result of dialog interaction with user.

Enumerator
None 

Still running.

OK 

OK button pressed.

Cancel 

Cancel button pressed.

Abort 

Abort button pressed.

Retry 

Retry button pressed.

Ignore 

Ignore button pressed.

Yes 

Yes button pressed.

No 

No button pressed.

◆ FlatStyle

Defines whether the control is drawn flat or three-dimentional.

Enumerator
Flat 

Control is drawn flat.

Popup 

Control is drawn flat unless the mouse moves over it when it is drawn 3D-like.

Standard 

Control is drawn 3D-like.

System 

Style is controlled by OS.

◆ FormBorderStyle

Defines how the border is drawn.

Enumerator
None 

No border at all.

FixedSingle 

Single border.

Fixed3D 

3D-like border.

FixedDialog 

Dialog style border.

Sizable 

Resizable border.

FixedToolWindow 

Unresizable tool window border.

SizableToolWindow 

Resizable tool window border.

◆ Keys

Known keys.

Enumerator
Modifiers 

Modifiers mask.

None 

No key.

LButton 

Left mouse button.

RButton 

Right mouse button.

Cancel 

Cancel key.

MButton 

Medium mouse button.

XButton1 

Extra mouse button 1.

XButton2 

Extra mouse button 2.

Back 

Back key.

Tab 

Tab key.

LineFeed 

Line feed key.

Clear 

Clear key.

Return 

Return key.

Enter 

Enter key.

ShiftKey 

Shift key.

ControlKey 

Control key.

Menu 

Menu key.

Pause 

Pause key.

Capital 

Capital key.

CapsLock 

Caps Lock key.

KanaMode 

Kana mode key.

HanguelMode 

Hanguel mode key.

HangulMode 

Hangul mode key.

JunjaMode 

Junja mode key.

FinalMode 

Final mode key.

HanjaMode 

Hanja mode key.

KanjiMode 

Kanji mode key.

Escape 

Escape key.

IMEConvert 

IME convert key.

IMENonconvert 

IME non-convert key.

IMEAccept 

IME accept key.

IMEAceept 

IME accept key - variant with a typo.

IMEModeChange 

IME mode change key.

Space 

Space key.

Prior 

Prior key.

PageUp 

Page up key.

Next 

Next key.

PageDown 

Page down key.

End 

End key.

Home 

Home key.

Left 

Left key.

Up 

Up key.

Right 

Right key.

Down 

Down key.

Select 

Select key.

Print 

Print key.

Execute 

Execute key.

Snapshot 

Snapshot key.

PrintScreen 

Print screen key.

Insert 

Insert key.

Delete 

Delete key.

Help 

Help key.

D0 

0 key.

D1 

1 key.

D2 

2 key.

D3 

3 key.

D4 

4 key.

D5 

5 key.

D6 

6 key.

D7 

7 key.

D8 

8 key.

D9 

9 key.

A key.

B key.

C key.

D key.

E key.

F key.

G key.

H key.

I key.

J key.

K key.

L key.

M key.

N key.

O key.

P key.

Q key.

R key.

S key.

T key.

U key.

V key.

W key.

X key.

Y key.

Z key.

LWin 

Left Windows key.

RWin 

Right Windows key.

Apps 

Applications key.

Sleep 

Sleep key.

NumPad0 

Numpad 0 key.

NumPad1 

Numpad 1 key.

NumPad2 

Numpad 2 key.

NumPad3 

Numpad 3 key.

NumPad4 

Numpad 4 key.

NumPad5 

Numpad 5 key.

NumPad6 

Numpad 6 key.

NumPad7 

Numpad 7 key.

NumPad8 

Numpad 8 key.

NumPad9 

Numpad 9 key.

Multiply 

Multiply key.

Add 

Add key.

Separator 

Separator key.

Subtract 

Substract key.

Decimal 

Decimal point key.

Divide 

Divide key.

F1 

F1 key.

F2 

F2 key.

F3 

F3 key.

F4 

F4 key.

F5 

F5 key.

F6 

F6 key.

F7 

F7 key.

F8 

F8 key.

F9 

F9 key.

F10 

F10 key.

F11 

F11 key.

F12 

F12 key.

F13 

F13 key.

F14 

F14 key.

F15 

F15 key.

F16 

F16 key.

F17 

F17 key.

F18 

F18 key.

F19 

F19 key.

F20 

F20 key.

F21 

F21 key.

F22 

F22 key.

F23 

F23 key.

F24 

F24 key.

NumLock 

Numeric lock key.

Scroll 

Scroll key.

LShiftKey 

Left shift key.

RShiftKey 

Right shift key.

LControlKey 

Left control key.

RControlKey 

Right control key.

LMenu 

Left menu key.

RMenu 

Right menu key.

BrowserBack 

Browser back key.

BrowserForward 

Browser forward key.

BrowserRefresh 

Browser refresh key.

BrowserStop 

Browser stop key.

BrowserSearch 

Browser search key.

BrowserFavorites 

Browser favorites key.

BrowserHome 

Browser home key.

VolumeMute 

Volume mute key.

VolumeDown 

Volume down key.

VolumeUp 

Volume up key.

MediaNextTrack 

Media next track key.

MediaPreviousTrack 

Media previous track key.

MediaStop 

Media stop key.

MediaPlayPause 

Media play/pause key.

LaunchMail 

Launch mail key.

SelectMedia 

Select media key.

LaunchApplication1 

Launch application key 1.

LaunchApplication2 

Launch application key 2.

OemSemicolon 

OEM semicolon key.

Oem1 

OEM key 1.

Oemplus 

OEM plus key.

Oemcomma 

OEM comma key.

OemMinus 

OEM minus key.

OemPeriod 

OEM period key.

OemQuestion 

OEM question key.

Oem2 

OEM key 2.

Oemtilde 

OEM tilde key.

Oem3 

OEM key 3.

OemOpenBrackets 

OEM open brackets key.

Oem4 

OEM key 4.

OemPipe 

OEM pipe key.

Oem5 

OEM key 5.

OemCloseBrackets 

OEM close brackets key.

Oem6 

OEM key 6.

OemQuotes 

OEM quotes key.

Oem7 

OEM key 7.

Oem8 

OEM key 8.

OemBackslash 

OEM backslash key.

Oem102 

OEM key 102.

ProcessKey 

Process key.

Packet 

Packet key.

Attn 

Attention key.

Crsel 

CRSEL key.

Exsel 

EXSEL key.

EraseEof 

EOF erase key.

Play 

Play key.

Zoom 

Zoom key.

NoName 

No name key.

Pa1 

Pal key.

OemClear 

OEM clear key.

KeyCode 

Key code mask.

Shift 

Shift key code.

Control 

Control key code.

Alt 

Alt key code.