Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.7 KiB

  1. /*Filename: KEYRC.H */
  2. /* Give access to handles in all code modules */
  3. extern HINSTANCE hInst;
  4. extern HWND MainhWnd;
  5. /***************************************************************/
  6. /* Variables, types and constants for controls in main window. */
  7. /***************************************************************/
  8. extern HWND hClient; /* Handle to window in client area. */
  9. extern FARPROC lpClient; /* Function for window in client area.*/
  10. #define CLIENTSTRIP WS_MINIMIZE|WS_MAXIMIZE|WS_CAPTION|WS_BORDER|WS_DLGFRAME|WS_SYSMENU|WS_POPUP|WS_THICKFRAME|DS_MODALFRAME
  11. typedef struct
  12. {
  13. unsigned long dtStyle;
  14. BYTE dtItemCount;
  15. int dtX;
  16. int dtY;
  17. int dtCX;
  18. int dtCY;
  19. } BLD_DLGTEMPLATE;
  20. typedef BLD_DLGTEMPLATE *LPBLD_DLGTEMPLATE;
  21. /* User Defined ID Values */
  22. #define IDOK 1
  23. #define IDCANCEL 2
  24. #define COLORKBBACKGROUND 10
  25. #define COLORKBCHARACTERKEYS 11
  26. #define COLORKBTEXT 12
  27. #define COLORKBMODIFIERKEYS 13
  28. #define COLORKBDEFAULTSETTING 14
  29. #define COLORKBDEADKEYS 15
  30. #define SETDEFAULTSETTINGS 108
  31. #define KBLANGUAGECOMBO 110
  32. #define ALWAYSONTOP 111
  33. #define KEYSIZE_0 112
  34. #define KEYSIZE_1 113
  35. #define KEYSIZE_2 114
  36. #define KEYSIZE_3 115
  37. #define KEYSIZE_4 116
  38. #define DWELLONKEYS 118
  39. #define DWELLMS 119
  40. #define HILITEKEY 120
  41. #define DWELLTIMESCROLL 121
  42. #define KBSHOWACTIVEKEYSCK 122
  43. #define KBKEEPPROPORTIONSCK 123
  44. #define KBUSE3DKEYSCK 124
  45. #define KBUSECLICKSOUNDCK 125
  46. #define KBSIZEBUT 126
  47. #define KBFONTBUT 127
  48. #define KBCOLORSBUT 128
  49. #define IDC_LTEXT1 129