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.

37 lines
1.2 KiB

  1. /****************************************************************************/
  2. /* */
  3. /* WMSYSERR.H - */
  4. /* */
  5. /* Message Box String Defines */
  6. /* */
  7. /****************************************************************************/
  8. /* SysErrorBox() stuff */
  9. #define MAX_SEB_STYLES 7 /* number of SEB_* values */
  10. #define SEB_OK 1 /* Button with "OK". */
  11. #define SEB_CANCEL 2 /* Button with "Cancel" */
  12. #define SEB_YES 3 /* Button with "&Yes" */
  13. #define SEB_NO 4 /* Button with "&No" */
  14. #define SEB_RETRY 5 /* Button with "&Retry" */
  15. #define SEB_ABORT 6 /* Button with "&Abort" */
  16. #define SEB_IGNORE 7 /* Button with "&Ignore" */
  17. #define SEB_DEFBUTTON 0x8000 /* Mask to make this button default */
  18. #define SEB_BTN1 1 /* Button 1 was selected */
  19. #define SEB_BTN2 2 /* Button 1 was selected */
  20. #define SEB_BTN3 3 /* Button 1 was selected */
  21. /* SysErrorBox() button structure definition */
  22. typedef struct tagSEBBTN
  23. {
  24. unsigned int style;
  25. BOOL finvert;
  26. RECT rcbtn;
  27. POINT pttext;
  28. LPSTR psztext;
  29. BYTE chaccel;
  30. } SEBBTN;