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.
|
|
//Copyright (c) 1998 - 1999 Microsoft Corporation
#ifndef _BASPDLG_H
#define _BASPDLG_H
#include <prsht.h>
//---------------------------------------------------------------------
// CDialogBase - as the name implies base class for all the dialogs
//---------------------------------------------------------------------
class CDialogPropBase { protected: BOOL m_bPersisted;
HWND m_hWnd;
//HMENU m_hmenu;
public: virtual BOOL OnInitDialog( HWND hwnd , WPARAM , LPARAM ){ m_hWnd = hwnd; return FALSE; }
virtual BOOL OnDestroy( ){ return( TRUE /*DestroyMenu( m_hmenu )*/ ); }
virtual BOOL GetPropertySheetPage( PROPSHEETPAGE& ){ return FALSE;}
virtual BOOL PersistSettings( HWND ){ return FALSE;}
virtual BOOL IsValidSettings( HWND ){ return TRUE;}
virtual BOOL OnNotify( int , LPNMHDR , HWND );
virtual BOOL OnContextMenu( HWND , POINT& );
virtual BOOL OnHelp( HWND , LPHELPINFO );
CDialogPropBase( ){}
//virtual ~CDialogBase( );
};
#endif //_BASPDLG_H
|