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.

51 lines
1.6 KiB

  1. /*
  2. * propsht.hpp - IPropSheetExt implementation description.
  3. */
  4. /* Types
  5. ********/
  6. /* User MessageBox() flags */
  7. typedef enum msg_box_flags
  8. {
  9. ALL_MSG_BOX_FLAGS = (MB_OK |
  10. MB_OKCANCEL |
  11. MB_ABORTRETRYIGNORE |
  12. MB_YESNOCANCEL |
  13. MB_YESNO |
  14. MB_RETRYCANCEL |
  15. MB_ICONHAND |
  16. MB_ICONQUESTION |
  17. MB_ICONEXCLAMATION |
  18. MB_ICONASTERISK |
  19. MB_DEFBUTTON1 |
  20. MB_DEFBUTTON2 |
  21. MB_DEFBUTTON3 |
  22. MB_DEFBUTTON4 |
  23. MB_APPLMODAL |
  24. MB_SYSTEMMODAL |
  25. MB_TASKMODAL |
  26. MB_HELP |
  27. MB_RIGHT |
  28. MB_RTLREADING |
  29. MB_NOFOCUS |
  30. MB_SETFOREGROUND |
  31. MB_DEFAULT_DESKTOP_ONLY |
  32. MB_USERICON)
  33. }
  34. MSG_BOX_FLAGS;
  35. /* Prototypes
  36. *************/
  37. // propsht.cpp
  38. extern void SetEditFocus(HWND hwnd);
  39. extern BOOL ConstructMessageString(PCSTR pcszFormat, PSTR *ppszMsg, va_list *ArgList);
  40. extern BOOL __cdecl MyMsgBox(HWND hwndParent, PCSTR pcszTitle, PCSTR pcszMsgFormat, DWORD dwMsgBoxFlags, PINT pnResult, ...);
  41. extern HRESULT CopyDlgItemText(HWND hdlg, int nControlID, PSTR *ppszText);
  42. extern BOOL RegisterGlobalHotkey(WORD wOldHotkey, WORD wNewHotkey, PCSTR pcszPath);