home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
vcoledb
/
consumer
/
multiread
/
multidlg.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-03-26
|
1KB
|
35 lines
// MultiDlg.h : Declaration of the CMultiDlg
#ifndef __MULTIDLG_H_
#define __MULTIDLG_H_
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CMultiDlg
class CMultiDlg :
public CDialogImpl<CMultiDlg>
{
public:
CMultiDlg();
~CMultiDlg();
enum { IDD = IDD_MULTIDLG };
BEGIN_MSG_MAP(CMultiDlg)
MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
COMMAND_ID_HANDLER(IDC_RUN, OnRun)
COMMAND_ID_HANDLER(IDCANCEL, OnCancel)
END_MSG_MAP()
// Handler prototypes:
// LRESULT MessageHandler(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
// LRESULT CommandHandler(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
// LRESULT NotifyHandler(int idCtrl, LPNMHDR pnmh, BOOL& bHandled);
LRESULT OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
LRESULT OnRun(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
LRESULT OnCancel(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
};
#endif //__MULTIDLG_H_