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
968 B

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. #ifndef _BASWDLG_H
  3. #define _BASWDLG_H
  4. #include <prsht.h>
  5. //---------------------------------------------------------------------
  6. // CDialogBase - as the name implies base class for all the dialogs
  7. //---------------------------------------------------------------------
  8. class CDialogWizBase
  9. {
  10. protected:
  11. BOOL m_bPersisted;
  12. HWND m_hWnd;
  13. public:
  14. virtual BOOL OnInitDialog( HWND , WPARAM , LPARAM ) = 0;
  15. virtual BOOL OnDestroy( ){ return TRUE ; }
  16. virtual BOOL GetPropertySheetPage( PROPSHEETPAGE& ){ return FALSE;}
  17. virtual BOOL PersistSettings( HWND ){ return FALSE;}
  18. virtual BOOL IsValidSettings( HWND ){ return TRUE;}
  19. virtual BOOL OnNotify( int , LPNMHDR , HWND );
  20. //virtual BOOL OnContextMenu( HWND , POINT& ){ return TRUE; }
  21. //virtual BOOL OnHelp( HWND , LPHELPINFO ){ return TRUE; }
  22. CDialogWizBase( ){}
  23. //virtual ~CDialogWizBase( );
  24. };
  25. #endif //_BASWDLG_H