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.

67 lines
1.5 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. /*******************************************************************************
  3. *
  4. * basedlg.h
  5. *
  6. * interface of CBaseDialog class
  7. * This class handles some extra housekeeping functions for WinUtils dialogs.
  8. *
  9. * copyright notice: Copyright 1995, Citrix Systems Inc.
  10. *
  11. * $Author: butchd $ Butch Davis
  12. *
  13. * $Log: N:\NT\PRIVATE\UTILS\CITRIX\WINUTILS\COMMON\VCS\BASEDLG.H $
  14. *
  15. * Rev 1.1 29 Dec 1995 17:19:12 butchd
  16. * update
  17. *
  18. *******************************************************************************/
  19. #ifndef BASEDLG_INCLUDED
  20. ////////////////////////////////////////////////////////////////////////////////
  21. // CBaseDialog class
  22. //
  23. class CBaseDialog : public CDialog
  24. {
  25. DECLARE_DYNAMIC(CBaseDialog)
  26. /*
  27. * Member variables.
  28. */
  29. private:
  30. HWND m_SaveWinUtilsAppWindow;
  31. protected:
  32. BOOL m_bError;
  33. public:
  34. /*
  35. * Implementation.
  36. */
  37. public:
  38. CBaseDialog( UINT idResource,
  39. CWnd *pParentWnd = NULL );
  40. /*
  41. * Operations.
  42. */
  43. //{{AFX_VIRTUAL(CBaseDialog)
  44. //}}AFX_VIRTUAL
  45. public:
  46. inline BOOL GetError()
  47. { return(m_bError); }
  48. protected:
  49. /*
  50. * Message map / commands.
  51. */
  52. protected:
  53. //{{AFX_MSG(CBaseDialog)
  54. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  55. afx_msg void OnDestroy();
  56. //}}AFX_MSG
  57. DECLARE_MESSAGE_MAP()
  58. }; // end CBaseDialog class interface
  59. ////////////////////////////////////////////////////////////////////////////////
  60. #define BASEDLG_INCLUDED
  61. #endif