www.pudn.com > ThemedRichEdit_Redis.zip > MainWnd.h


// MainWnd 
#pragma once 
#include "resource.h" 
 
class CMainWnd : public CDialogImpl 
{ 
public: 
	CMainWnd(); 
	~CMainWnd(); 
 
public: 
	enum { IDD = IDD_MAINWND }; 
 
protected: 
	LRESULT OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled); 
	LRESULT OnClose(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled); 
	 
BEGIN_MSG_MAP(CMainWnd) 
	MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog) 
	COMMAND_ID_HANDLER(IDCANCEL, OnClose) 
END_MSG_MAP() 
};