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.

38 lines
819 B

  1. /*****************************************************************************************************************
  2. FILENAME: GenericDialog.h
  3. COPYRIGHT 2001 Microsoft Corporation and Executive Software International, Inc.
  4. */
  5. #ifndef _GENERICDIALOG_H_
  6. #define _GENERICDIALOG_H_
  7. class CGenericDialog
  8. {
  9. private:
  10. // position of the buttons
  11. // in absolute coodinates
  12. public:
  13. CGenericDialog(void);
  14. ~CGenericDialog(void);
  15. UINT DoModal(HWND hWndDialog);
  16. void SetTitle(TCHAR * tDialogBoxTitle);
  17. void SetTitle(UINT uResID);
  18. void SetButtonText(UINT uIndex, TCHAR * tButtonText);
  19. void SetButtonText(UINT uIndex, UINT uResID);
  20. void SetHelpFilePath();
  21. void SetIcon(UINT uResID);
  22. void SetText(TCHAR * tEditBoxText);
  23. void SetText(UINT uResID);
  24. void SetButtonHelp(UINT uIndex, DWORD dHelpContextID);
  25. };
  26. #endif