xtd - Reference Guide  0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
keys.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/ustring.h>
6 
8 namespace xtd {
11  namespace forms {
73  enum class keys : long long {
75  none = 0x00000000,
77  lbutton = 0x00000001,
79  rbutton = 0x00000002,
81  cancel = 0x00000003,
83  mbutton = 0x00000004,
85  xbutton1 = 0x00000005,
87  xbutton2 = 0x00000006,
89  back = 0x00000008,
91  tab = 0x00000009,
93  line_feed = 0x0000000A,
95  clear = 0x0000000C,
97  ret = 0x0000000D,
99  enter = 0x0000000D,
101  shift_key = 0x00000010,
103  control_key = 0x00000011,
105  menu = 0x00000012,
107  pause = 0x00000013,
109  caps_lock = 0x00000014,
111  capital = 0x00000014,
113  kana_mode = 0x00000015,
115  hanguel_mode = 0x00000015,
117  hangul_mode = 0x00000015,
119  junja_mode = 0x00000017,
121  final_mode = 0x00000018,
123  kanji_mode = 0x00000019,
125  hanja_mode = 0x00000019,
127  escape = 0x0000001B,
129  ime_convert = 0x0000001C,
131  ime_nonconvert = 0x0000001D,
133  ime_accept = 0x0000001E,
135  ime_mode_change = 0x0000001F,
137  space = 0x00000020,
139  page_up = 0x00000021,
141  prior = 0x00000021,
143  page_down = 0x00000022,
145  next = 0x00000022,
147  end = 0x00000023,
149  home = 0x00000024,
151  left = 0x00000025,
153  up = 0x00000026,
155  right = 0x00000027,
157  down = 0x00000028,
159  select = 0x00000029,
161  print = 0x0000002A,
163  execute = 0x0000002B,
165  print_screen = 0x0000002C,
167  snapshot = 0x0000002C,
169  insert = 0x0000002D,
171  del = 0x0000002E,
173  help = 0x0000002F,
175  d0 = 0x00000030,
177  d1 = 0x00000031,
179  d2 = 0x00000032,
181  d3 = 0x00000033,
183  d4 = 0x00000034,
185  d5 = 0x00000035,
187  d6 = 0x00000036,
189  d7 = 0x00000037,
191  d8 = 0x00000038,
193  d9 = 0x00000039,
195  a = 0x00000041,
197  b = 0x00000042,
199  c = 0x00000043,
201  d = 0x00000044,
203  e = 0x00000045,
205  f = 0x00000046,
207  g = 0x00000047,
209  h = 0x00000048,
211  i = 0x00000049,
213  j = 0x0000004A,
215  k = 0x0000004B,
217  l = 0x0000004C,
219  m = 0x0000004D,
221  n = 0x0000004E,
223  o = 0x0000004F,
225  p = 0x00000050,
227  q = 0x00000051,
229  r = 0x00000052,
231  s = 0x00000053,
233  t = 0x00000054,
235  u = 0x00000055,
237  v = 0x00000056,
239  w = 0x00000057,
241  x = 0x00000058,
243  y = 0x00000059,
245  z = 0x0000005A,
247  lwin = 0x0000005B,
249  rwin = 0x0000005C,
251  apps = 0x0000005D,
253  sleep = 0x0000005F,
255  num_pad0 = 0x00000060,
257  num_pad1 = 0x00000061,
259  num_pad2 = 0x00000062,
261  num_pad3 = 0x00000063,
263  num_pad4 = 0x00000064,
265  num_pad5 = 0x00000065,
267  num_pad6 = 0x00000066,
269  num_pad7 = 0x00000067,
271  num_pad8 = 0x00000068,
273  num_pad9 = 0x00000069,
275  multiply = 0x0000006A,
277  add = 0x0000006B,
279  separator = 0x0000006C,
281  subtract = 0x0000006D,
283  decimal = 0x0000006E,
285  divide = 0x0000006F,
287  f1 = 0x00000070,
289  f2 = 0x00000071,
291  f3 = 0x00000072,
293  f4 = 0x00000073,
295  f5 = 0x00000074,
297  f6 = 0x00000075,
299  f7 = 0x00000076,
301  f8 = 0x00000077,
303  f9 = 0x00000078,
305  f10 = 0x00000079,
307  f11 = 0x0000007A,
309  f12 = 0x0000007B,
311  f13 = 0x0000007C,
313  f14 = 0x0000007D,
315  f15 = 0x0000007E,
317  f16 = 0x0000007F,
319  f17 = 0x00000080,
321  f18 = 0x00000081,
323  f19 = 0x00000082,
325  f20 = 0x00000083,
327  f21 = 0x00000084,
329  f22 = 0x00000085,
331  f23 = 0x00000086,
333  f24 = 0x00000087,
335  num_lock = 0x00000090,
337  scroll = 0x00000091,
339  lshift_key = 0x000000A0,
341  rshift_key = 0x000000A1,
343  lcontrol_key = 0x000000A2,
345  rcontrol_key = 0x000000A3,
347  lmenu = 0x000000A4,
349  rmenu = 0x000000A5,
351  browser_back = 0x000000A6,
353  browser_forward = 0x000000A7,
355  browser_refresh = 0x000000A8,
357  browser_stop = 0x000000A9,
359  browser_search = 0x000000AA,
361  browser_favorites = 0x000000AB,
363  browser_home = 0x000000AC,
365  volume_mute = 0x000000AD,
367  volume_down = 0x000000AE,
369  volume_up = 0x000000AF,
371  media_next_track = 0x000000B0,
373  media_previous_track = 0x000000B1,
375  media_stop = 0x000000B2,
377  media_play_pause = 0x000000B3,
379  launch_mail = 0x000000B4,
381  select_media = 0x000000B5,
383  launch_application1 = 0x000000B6,
385  launch_application2 = 0x000000B7,
387  oem1 = 0x000000BA,
389  oem_semicolon = 0x000000BA,
391  oem_plus = 0x000000BB,
393  oem_comma = 0x000000BC,
395  oem_minus = 0x000000BD,
397  oem_period = 0x000000BE,
399  oem2 = 0x000000BF,
401  oem_question = 0x000000BF,
403  oem3 = 0x000000C0,
405  oem_tilde = 0x000000C1,
407  oem4 = 0x000000DB,
409  oem_open_brackets = 0x000000DB,
411  oem5 = 0x000000DC,
413  oem_pipe = 0x000000DC,
415  oem6 = 0x000000DD,
417  oem_close_brackets = 0x000000DD,
419  oem7 = 0x000000DE,
421  oem_quotes = 0x000000DE,
423  oem8 = 0x000000DF,
425  oem102 = 0x000000DF,
427  oem_backslash = 0x000000DF,
429  process_key = 0x000000E5,
431  packet = 0x000000E7,
433  attn = 0x000000F6,
435  crsel = 0x000000F7,
437  exsel = 0x000000F8,
439  erase_eof = 0x000000F9,
441  play = 0x000000FA,
443  zoom = 0x000000FB,
445  no_name = 0x000000FC,
447  pa1 = 0x000000FD,
449  oem_clear = 0x000000FE,
451  command_key = 0x00000100,
453  lcommand_key = 0x00000101,
455  rcommand_key = 0x00000102,
457  function_key = 0x00000104,
459  shift = 0x00010000,
461  control = 0x00020000,
463  alt = 0x00040000,
465  command = 0x00080000,
467  meta = 0x00100000,
469  function = 0x00200000,
471  key_code = 0x0000FFFF,
473  modifiers = 0xFFFF0000,
474  };
475 
477  inline keys& operator +=(keys& lhs, keys rhs) {lhs = static_cast<keys>(static_cast<long long>(lhs) + static_cast<long long>(rhs)); return lhs;}
478  inline keys& operator -=(keys& lhs, keys rhs) {lhs = static_cast<keys>(static_cast<long long>(lhs) - static_cast<long long>(rhs)); return lhs;}
479  inline keys& operator &=(keys& lhs, keys rhs) {lhs = static_cast<keys>(static_cast<long long>(lhs) & static_cast<long long>(rhs)); return lhs;}
480  inline keys& operator |=(keys& lhs, keys rhs) {lhs = static_cast<keys>(static_cast<long long>(lhs) | static_cast<long long>(rhs)); return lhs;}
481  inline keys& operator ^=(keys& lhs, keys rhs) {lhs = static_cast<keys>(static_cast<long long>(lhs) ^ static_cast<long long>(rhs)); return lhs;}
482  inline keys operator +(keys lhs, keys rhs) {return static_cast<keys>(static_cast<long long>(lhs) + static_cast<long long>(rhs));}
483  inline keys operator -(keys lhs, keys rhs) {return static_cast<keys>(static_cast<long long>(lhs) - static_cast<long long>(rhs));}
484  inline keys operator ~(keys rhs) {return static_cast<keys>(~static_cast<long long>(rhs));}
485  inline keys operator &(keys lhs, keys rhs) {return static_cast<keys>(static_cast<long long>(lhs) & static_cast<long long>(rhs));}
486  inline keys operator |(keys lhs, keys rhs) {return static_cast<keys>(static_cast<long long>(lhs) | static_cast<long long>(rhs));}
487  inline keys operator ^(keys lhs, keys rhs) {return static_cast<keys>(static_cast<long long>(lhs) ^ static_cast<long long>(rhs));}
488  inline std::ostream& operator<<(std::ostream& os, keys value) {return os << xtd::to_string(value, {{keys::none, "none"}, {keys::lbutton, "lbutton"}, {keys::rbutton, "rbutton"}, {keys::cancel, "cancel"}, {keys::mbutton, "none"}, {keys::xbutton1, "xbutton1"}, {keys::xbutton2, "xbutton2"}, {keys::back, "back"}, {keys::tab, "tab"}, {keys::line_feed, "line_feed"}, {keys::clear, "clear"}, /*{keys::ret, "ret"},*/ {keys::enter, "enter"}, {keys::shift_key, "shift_key"}, {keys::control_key, "control_key"}, {keys::menu, "menu"}, {keys::pause, "pause"}, {keys::caps_lock, "caps_lock"}, /*{xtd::forms::keys::capital, "capital"},*/ {keys::kana_mode, "kana_mode"}, /*{keys::hanguel_mode, "hanguel_mode"}, {keys::hangul_mode, "hangul_mode"},*/ {keys::junja_mode, "junja_mode"}, {keys::final_mode, "final_mode"}, {keys::kanji_mode, "kanji_mode"}, /*{keys::Hhnja_mode, "hanja_mode"},*/ {keys::escape, "escape"}, {keys::ime_convert, "ime_convert"}, {keys::ime_nonconvert, "ime_nonconvert"}, {keys::ime_mode_change, "ime_mode_change"}, {keys::space, "space"}, {keys::page_up, "page_up"}, /*{keys::prior, "prior"},*/ {keys::page_down, "page_down"}, /*{keys::next, "Nnxt"},*/ {keys::end, "end"}, {keys::home, "home"}, {keys::left, "left"}, {keys::up, "up"}, {keys::right, "right"}, {keys::down, "down"}, {keys::select, "select"}, {keys::print, "print"}, {keys::execute, "execute"}, {keys::print_screen, "print_screen"}, /*{keys::snapshot, "snapshot"},*/ {keys::insert, "insert"}, {keys::del, "del"}, {keys::help, "help"}, {keys::d0, "d0"}, {keys::d1, "d1"}, {keys::d2, "d2"}, {keys::d3, "d3"}, {keys::d4, "d4"}, {keys::d5, "d5"}, {keys::d6, "d6"}, {keys::d7, "d7"}, {keys::d8, "d8"}, {keys::d9, "d9"}, {keys::a, "a"}, {keys::b, "b"}, {keys::c, "c"}, {keys::d, "d"}, {keys::e, "e"}, {keys::f, "f"}, {keys::g, "g"}, {keys::h, "h"}, {keys::i, "i"}, {keys::j, "j"}, {keys::k, "k"}, {keys::l, "l"}, {keys::m, "m"}, {keys::n, "n"}, {keys::o, "o"}, {keys::p, "p"}, {keys::q, "q"}, {keys::r, "r"}, {keys::s, "s"}, {keys::t, "t"}, {keys::u, "u"}, {keys::v, "v"}, {keys::w, "w"}, {keys::x, "x"}, {keys::y, "y"}, {keys::z, "z"}, {keys::lwin, "lwin"}, {keys::rwin, "rwin"}, {keys::apps, "apps"}, {keys::num_pad0, "num_pad0"}, {keys::num_pad1, "num_pad1"}, {keys::num_pad2, "num_pad2"}, {keys::num_pad3, "num_pad3"}, {keys::num_pad4, "num_pad4"}, {keys::num_pad5, "num_pad5"}, {keys::num_pad6, "num_pad6"}, {keys::num_pad7, "num_pad7"}, {keys::num_pad8, "num_pad8"}, {keys::num_pad9, "bum_pad9"}, {keys::multiply, "multiply"}, {keys::add, "add"}, {keys::separator, "separator"}, {keys::subtract, "subtract"}, {keys::decimal, "decimal"}, {keys::divide, "divide"}, {keys::f1, "f1"}, {keys::f2, "f2"}, {keys::f3, "f3"}, {keys::f4, "f4"}, {keys::f5, "f5"}, {keys::f6, "f6"}, {keys::f7, "f7"}, {keys::f8, "f8"}, {keys::f9, "f9"}, {keys::f10, "f10"}, {keys::f11, "f11"}, {keys::f12, "f12"}, {keys::f13, "f13"}, {keys::f14, "f14"}, {keys::f15, "f15"}, {keys::f16, "f16"}, {keys::f17, "f17"}, {keys::f18, "f18"}, {keys::f19, "f19"}, {keys::f20, "f20"}, {keys::f21, "f21"}, {keys::f22, "f22"}, {keys::f23, "f23"}, {keys::f24, "f24"}, {keys::num_lock, "num_lock"}, {keys::scroll, "scroll"}, {keys::lshift_key, "lshift_key"}, {keys::rshift_key, "rshift_key"}, {keys::lcontrol_key, "lcontrol_key"}, {keys::rcontrol_key, "rcontrol_key"}, {keys::lmenu, "lmenu"}, {keys::rmenu, "rmenu"}, {keys::browser_back, "browser_back"}, {keys::browser_favorites, "browser_favorites"}, {keys::browser_forward, "browser_forward"}, {keys::browser_home, "browser_home"}, {keys::browser_refresh, "browser_refresh"}, {keys::browser_search, "browser_search"}, {keys::browser_stop, "browser_stop"}, {keys::volume_down, "volume_down"}, {keys::volume_mute, "volume_mute"}, {keys::volume_up, "volume_up"}, {keys::media_next_track, "media_next_track"}, {keys::media_play_pause, "media_play_pause"}, {keys::media_previous_track, "media_previous_track"}, {keys::media_stop, "media_stop"}, {keys::launch_mail, "launch_mail"}, {keys::select_media, "select_media"}, {keys::launch_application1, "launch_application1"}, {keys::launch_application2, "launch_application2"}, {keys::oem_plus, "oem_plus"}, {keys::oem_comma, "oem_comma"}, {keys::oem_minus, "oem_minus"}, {keys::oem_period, "oem_period"}, {keys::oem_question, "oem_question"}, {keys::oem_tilde, "oem_tilde"}, {keys::oem_open_brackets, "oem_open_brackets"}, {keys::oem_pipe, "oem_pipe"}, {keys::oem_close_brackets, "oem_close_brackets"}, {keys::oem_quotes, "oem_quotes"}, {keys::oem8, "oem8"}, {keys::oem_backslash, "oem_backslash"}, {keys::process_key, "process_key"}, {keys::attn, "attn"}, {keys::crsel, "crsel"}, {keys::exsel, "exsel"}, {keys::erase_eof, "erase_eof"}, {keys::play, "play"}, {keys::zoom, "zoom"}, {keys::no_name, "no_name"}, {keys::pa1, "pa1"}, {keys::oem_clear, "oem_clear"}, {keys::key_code, "key_code"}, {keys::shift, "shift"}, {keys::control, "control"}, {keys::alt, "alt"}, {keys::command, "command"}, {keys::meta, "meta"}, {keys::function, "function"}, {keys::modifiers, "modifiers"}, {keys::ime_accept, "ime_accept"}, {keys::oem1, "oem1"}, /*{keys::oem102, "oem102"}, {keys::oem2, "oem2"}, {keys::oem3, "oem3"}, {keys::oem4, "oem4"}, {keys::oem5, "oem5"}, {keys::oem6, "oem6"}, {keys::oem7, "oem7"},*/ {keys::packet, "packet"}, {keys::sleep, "sleep"}, {keys::command_key, "command_key"}, {keys::lcommand_key, "lcommand_key"}, {keys::rcommand_key, "rcommand_key"}, {keys::function_key, "function_key"}});}
489  inline std::wostream& operator<<(std::wostream& os, keys value) {return os << xtd::to_string(value, {{keys::none, L"none"}, {keys::lbutton, L"lbutton"}, {keys::rbutton, L"rbutton"}, {keys::cancel, L"cancel"}, {keys::mbutton, L"none"}, {keys::xbutton1, L"xbutton1"}, {keys::xbutton2, L"xbutton2"}, {keys::back, L"back"}, {keys::tab, L"tab"}, {keys::line_feed, L"line_feed"}, {keys::clear, L"clear"}, {keys::ret, L"ret"}, /*{keys::enter, L"enter"},*/ {keys::shift_key, L"shift_key"}, {keys::control_key, L"control_key"}, {keys::menu, L"menu"}, {keys::pause, L"pause"}, {keys::caps_lock, L"caps_lock"}, /*{xtd::forms::keys::capital, L"capital"},*/ {keys::kana_mode, L"kana_mode"}, /*{keys::hanguel_mode, L"hanguel_mode"}, {keys::hangul_mode, L"hangul_mode"},*/ {keys::junja_mode, L"junja_mode"}, {keys::final_mode, L"final_mode"}, {keys::kanji_mode, L"kanji_mode"}, /*{keys::Hhnja_mode, L"hanja_mode"},*/ {keys::escape, L"escape"}, {keys::ime_convert, L"ime_convert"}, {keys::ime_nonconvert, L"ime_nonconvert"}, {keys::ime_mode_change, L"ime_mode_change"}, {keys::space, L"space"}, {keys::page_up, L"page_up"}, /*{keys::prior, L"prior"},*/ {keys::page_down, L"page_down"}, /*{keys::next, L"Nnxt"},*/ {keys::end, L"end"}, {keys::home, L"home"}, {keys::left, L"left"}, {keys::up, L"up"}, {keys::right, L"right"}, {keys::down, L"down"}, {keys::select, L"select"}, {keys::print, L"print"}, {keys::execute, L"execute"}, {keys::print_screen, L"print_screen"}, /*{keys::snapshot, L"snapshot"},*/ {keys::insert, L"insert"}, {keys::del, L"del"}, {keys::help, L"help"}, {keys::d0, L"d0"}, {keys::d1, L"d1"}, {keys::d2, L"d2"}, {keys::d3, L"d3"}, {keys::d4, L"d4"}, {keys::d5, L"d5"}, {keys::d6, L"d6"}, {keys::d7, L"d7"}, {keys::d8, L"d8"}, {keys::d9, L"d9"}, {keys::a, L"a"}, {keys::b, L"b"}, {keys::c, L"c"}, {keys::d, L"d"}, {keys::e, L"e"}, {keys::f, L"f"}, {keys::g, L"g"}, {keys::h, L"h"}, {keys::i, L"i"}, {keys::j, L"j"}, {keys::k, L"k"}, {keys::l, L"l"}, {keys::m, L"m"}, {keys::n, L"n"}, {keys::o, L"o"}, {keys::p, L"p"}, {keys::q, L"q"}, {keys::r, L"r"}, {keys::s, L"s"}, {keys::t, L"t"}, {keys::u, L"u"}, {keys::v, L"v"}, {keys::w, L"w"}, {keys::x, L"x"}, {keys::y, L"y"}, {keys::z, L"z"}, {keys::lwin, L"lwin"}, {keys::rwin, L"rwin"}, {keys::apps, L"apps"}, {keys::num_pad0, L"num_pad0"}, {keys::num_pad1, L"num_pad1"}, {keys::num_pad2, L"num_pad2"}, {keys::num_pad3, L"num_pad3"}, {keys::num_pad4, L"num_pad4"}, {keys::num_pad5, L"num_pad5"}, {keys::num_pad6, L"num_pad6"}, {keys::num_pad7, L"num_pad7"}, {keys::num_pad8, L"num_pad8"}, {keys::num_pad9, L"bum_pad9"}, {keys::multiply, L"multiply"}, {keys::add, L"add"}, {keys::separator, L"separator"}, {keys::subtract, L"subtract"}, {keys::decimal, L"decimal"}, {keys::divide, L"divide"}, {keys::f1, L"f1"}, {keys::f2, L"f2"}, {keys::f3, L"f3"}, {keys::f4, L"f4"}, {keys::f5, L"f5"}, {keys::f6, L"f6"}, {keys::f7, L"f7"}, {keys::f8, L"f8"}, {keys::f9, L"f9"}, {keys::f10, L"f10"}, {keys::f11, L"f11"}, {keys::f12, L"f12"}, {keys::f13, L"f13"}, {keys::f14, L"f14"}, {keys::f15, L"f15"}, {keys::f16, L"f16"}, {keys::f17, L"f17"}, {keys::f18, L"f18"}, {keys::f19, L"f19"}, {keys::f20, L"f20"}, {keys::f21, L"f21"}, {keys::f22, L"f22"}, {keys::f23, L"f23"}, {keys::f24, L"f24"}, {keys::num_lock, L"num_lock"}, {keys::scroll, L"scroll"}, {keys::lshift_key, L"lshift_key"}, {keys::rshift_key, L"rshift_key"}, {keys::lcontrol_key, L"lcontrol_key"}, {keys::rcontrol_key, L"rcontrol_key"}, {keys::lmenu, L"lmenu"}, {keys::rmenu, L"rmenu"}, {keys::browser_back, L"browser_back"}, {keys::browser_favorites, L"browser_favorites"}, {keys::browser_forward, L"browser_forward"}, {keys::browser_home, L"browser_home"}, {keys::browser_refresh, L"browser_refresh"}, {keys::browser_search, L"browser_search"}, {keys::browser_stop, L"browser_stop"}, {keys::volume_down, L"volume_down"}, {keys::volume_mute, L"volume_mute"}, {keys::volume_up, L"volume_up"}, {keys::media_next_track, L"media_next_track"}, {keys::media_play_pause, L"media_play_pause"}, {keys::media_previous_track, L"media_previous_track"}, {keys::media_stop, L"media_stop"}, {keys::launch_mail, L"launch_mail"}, {keys::select_media, L"select_media"}, {keys::launch_application1, L"launch_application1"}, {keys::launch_application2, L"launch_application2"}, {keys::oem_plus, L"oem_plus"}, {keys::oem_comma, L"oem_comma"}, {keys::oem_minus, L"oem_minus"}, {keys::oem_period, L"oem_period"}, {keys::oem_question, L"oem_question"}, {keys::oem_tilde, L"oem_tilde"}, {keys::oem_open_brackets, L"oem_open_brackets"}, {keys::oem_pipe, L"oem_pipe"}, {keys::oem_close_brackets, L"oem_close_brackets"}, {keys::oem_quotes, L"oem_quotes"}, {keys::oem8, L"oem8"}, {keys::oem_backslash, L"oem_backslash"}, {keys::process_key, L"process_key"}, {keys::attn, L"attn"}, {keys::crsel, L"crsel"}, {keys::exsel, L"exsel"}, {keys::erase_eof, L"erase_eof"}, {keys::play, L"play"}, {keys::zoom, L"zoom"}, {keys::no_name, L"no_name"}, {keys::pa1, L"pa1"}, {keys::oem_clear, L"oem_clear"}, {keys::key_code, L"key_code"}, {keys::shift, L"shift"}, {keys::control, L"control"}, {keys::alt, L"alt"}, {keys::command, L"command"}, {keys::meta, L"meta"}, {keys::function, L"function"}, {keys::modifiers, L"modifiers"}, {keys::ime_accept, L"ime_accept"}, {keys::oem1, L"oem1"}, /*{keys::oem102, L"oem102"}, {keys::oem2, L"oem2"}, {keys::oem3, L"oem3"}, {keys::oem4, L"oem4"}, {keys::oem5, L"oem5"}, {keys::oem6, L"oem6"}, {keys::oem7, L"oem7"},*/ {keys::packet, L"packet"}, {keys::sleep, L"sleep"}, {keys::command_key, L"command_key"}, {keys::lcommand_key, L"lcommand_key"}, {keys::rcommand_key, L"rcommand_key"}, {keys::function_key, L"function_key"}});}
491  }
492 }
Defines the base class for controls, which are components with visual representation.
Definition: control.h:67
Represents the base functionality for all menus. Although tool_strip_drop_down and tool_strip_drop_do...
Definition: menu.h:32
decimal_t decimal
Represents a decimal-precision floating-point number.
Definition: types.h:113
std::string to_string(const value_t &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: to_string.h:37
keys
Specifies key codes and modifiers.
Definition: keys.h:73
@ oem_open_brackets
The OEM open bracket key on a US standard keyboard.
@ clear
The CLEAR key.
@ s
The S key.
@ mbutton
The middle mouse button (three-button mouse).
@ volume_mute
The volume mute key.
@ no_name
A constant reserved for future use.
@ scroll
The SCROLL LOCK key.
@ line_feed
The LINEFEED key.
@ browser_home
The browser home key.
@ browser_back
The browser back key.
@ a
The A key.
@ multiply
The multiply key.
@ hangul_mode
The IME Hangul mode key.
@ home
The HOME key.
@ cancel
The CANCEL key.
@ rcontrol_key
The right CTRL key.
@ f14
The F14 key.
@ d0
The 0 key.
@ zoom
The ZOOM key.
@ num_lock
The NUM LOCK key.
@ f3
The F3 key.
@ f22
The F22 key.
@ rcommand_key
The right CMD key.
@ function_key
The FUNCTION key.
@ launch_application2
The start application two key.
@ num_pad6
The 6 key on the numeric keypad.
@ command
The CMD modifier key.
@ ime_mode_change
The IME mode change key.
@ h
The H key.
@ media_previous_track
The media previous track key.
@ oem_pipe
The OEM pipe key on a US standard keyboard.
@ browser_favorites
The browser favorites key.
@ capital
The CAPS LOCK key.
@ lcontrol_key
The left CTRL key.
@ browser_search
The browser search key.
@ shift
The SHIFt modifier key.
@ hanguel_mode
@breif The IME Hanguel mode key. (maintained for compatibility; use HangulMode)
@ oem7
The OEM 7 key.
@ hanja_mode
The IME Hanja mode key.
@ ret
The RETURN key.
@ l
The L key.
@ none
No key pressed.
@ num_pad2
The 2 key on the numeric keypad.
@ alt
The ALT modifier key.
@ add
The add key.
@ j
The J key.
@ f2
The F2 key.
@ f20
The F20 key.
@ key_code
The bitmask to extract a key code from a key value.
@ attn
The ATTN key.
@ y
The Y key.
@ browser_refresh
The browser refresh key.
@ num_pad4
The 4 key on the numeric keypad.
@ d6
The 6 key.
@ back
The BACK key.
@ up
The UP key.
@ oem4
The OEM 4 key.
@ c
The C key.
@ r
The R key.
@ junja_mode
The IME Junja mode key.
@ oem3
The OEM 3 key.
@ exsel
The EXSEL key.
@ oem_backslash
The OEM angle bracket or backslash key on the RT 102 key keyboard.
@ launch_application1
The start application one key.
@ command_key
The CMD key.
@ erase_eof
The ERASE EOF key.
@ volume_down
The volume down key.
@ caps_lock
The CAPS LOCK key.
@ f8
The F8 key.
@ crsel
The CRSEL key.
@ print_screen
The PRINT SCREEN key.
@ f19
The F19 key.
@ oem_question
The OEM question mark key on a US standard keyboard.
@ oem_period
The OEM period key on any country/region keyboard.
@ f6
The F6 key.
@ f9
The F9 key.
@ kanji_mode
The IME Kanji mode key.
@ help
The HELP key.
@ num_pad8
The 8 key on the numeric keypad.
@ num_pad7
The 7 key on the numeric keypad.
@ f7
The F7 key.
@ f4
The F4 key.
@ m
The M key.
@ f5
The F5 key.
@ down
The DOWN key.
@ num_pad5
The 5 key on the numeric keypad.
@ q
The Q key.
@ num_pad9
The 9 key on the numeric keypad.
@ lmenu
The left ALT key.
@ u
The U key.
@ ime_convert
The IME convert key.
@ n
The N key.
@ num_pad3
The 3 key on the numeric keypad.
@ right
The RIGHT key.
@ oem_quotes
The OEM singled/double quote key on a US standard keyboard.
@ oem_semicolon
The OEM Semicolon key on a US standard keyboard.
@ shift_key
The SHIFT key.
@ oem2
The OEM 2 key.
@ end
The END key.
@ f12
The F12 key.
@ left
The LEFT key.
@ d
The D key.
@ f10
The F10 key.
@ p
The P key.
@ d8
The 8 key.
@ i
The I key.
@ d9
The 9 key.
@ f13
The F13 key.
@ media_stop
The media stop key.
@ k
The K key.
@ menu
The ALT key.
@ f23
The F23 key.
@ rshift_key
The right SHIFT key.
@ f
The F key.
@ b
The B key.
@ divide
The divide key.
@ subtract
The subtract key.
@ pa1
The PA1 key.
@ d1
The 1 key.
@ select
The SELECT key.
@ volume_up
The volume up key.
@ apps
The application key (Microsoft Natural Keyboard).
@ oem_minus
The OEM minus key on any country/region keyboard.
@ packet
Used to pass Unicode characters as if they were keystrokes. The Packet key value is the low word of a...
@ x
The X key.
@ v
The V key.
@ separator
The separator key.
@ f16
The F16 key.
@ process_key
The PROCESS KEY key.
@ media_next_track
The media next track key.
@ play
The PLAY key.
@ browser_stop
The browser stop key.
@ rwin
The right Windows logo key (Microsoft Natural Keyboard).
@ final_mode
The IME Final mode key.
@ oem8
The OEM 8 key.
@ oem_tilde
The OEM tilde key on a US standard keyboard.
@ d4
The 4 key.
@ d2
The 2 key.
@ g
The G key.
@ launch_mail
The launch mail key.
@ num_pad0
The 0 key on the numeric keypad.
@ oem_clear
The CLEAR key.
@ lshift_key
The left SHIFT key.
@ control_key
The CTRL key.
@ d5
The 5 key.
@ f1
The F1 key.
@ decimal
The decimal key.
@ modifiers
The bitmask to extract modifiers from a key value.
@ lbutton
The left mouse button.
@ rmenu
The right ALT key.
@ function
The FUNCTION modifier key.
@ snapshot
The PRINT SCREEN key.
@ oem_comma
The OEM comma key on any country/region keyboard.
@ media_play_pause
The media play pause key.
@ sleep
The computer sleep key.
@ oem_close_brackets
The OEM close bracket key on a US standard keyboard.
@ next
The PAGE DOWN key.
@ select_media
The select media key.
@ lcommand_key
The left CMD key.
@ del
The DEL key.
@ f15
The F15 key.
@ oem6
The OEM 6 key.
@ ime_accept
The IME accept key.
@ f18
The F18 key.
@ page_down
The PAGE DOWN key.
@ o
The O key.
@ prior
The PAGE UP key.
@ rbutton
The right mouse button.
@ xbutton1
The first x mouse button (five-button mouse).
@ oem1
The OEM 1 key.
@ insert
The INSERT key.
@ escape
The ESC key.
@ e
The E key.
@ num_pad1
The 1 key on the numeric keypad.
@ enter
The ENTER key.
@ t
The T key.
@ oem_plus
The OEM plus key on any country/region keyboard.
@ d3
The 3 key.
@ tab
The TAB key.
@ ime_nonconvert
The IME nonconvert key.
@ browser_forward
The browser forward key.
@ meta
The METTA modifier key.
@ execute
The EXECUTE key.
@ pause
The PAUSE key.
@ oem102
The OEM 102 key.
@ w
The W key.
@ f11
The F11 key.
@ print
The PRINT key.
@ lwin
The left Windows logo key (Microsoft Natural Keyboard).
@ kana_mode
The IME Kana mode key.
@ page_up
The PAGE UP key.
@ xbutton2
The second x mouse button (five-button mouse).
@ d7
The 7 key.
@ oem5
The OEM 5 key.
@ z
The Z key.
@ control
The CTRL modifier key.
@ f21
The F21 key.
@ f17
The F17 key.
@ space
The SPACEBAR key.
@ f24
The F24 key.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::ustring class.