Skip to content

Instantly share code, notes, and snippets.

@igotit-anything
Last active January 11, 2026 03:43
Show Gist options
  • Select an option

  • Save igotit-anything/775d1a6cfb8d3d92730a7c93bdb730ed to your computer and use it in GitHub Desktop.

Select an option

Save igotit-anything/775d1a6cfb8d3d92730a7c93bdb730ed to your computer and use it in GitHub Desktop.
CDialogEx template
/// .h
#include "resource.h"
class CFixStatusDlg : public CDialogEx
{
DECLARE_DYNAMIC(CFixStatusDlg)
public:
explicit CFixStatusDlg(CWnd* pParent = nullptr);
virtual ~CFixStatusDlg();
enum { IDD = IDD_FIX_STATUS }; //
protected:
virtual void DoDataExchange(CDataExchange* pDX);
DECLARE_MESSAGE_MAP()
};
/// .cpp
IMPLEMENT_DYNAMIC(CFixStatusDlg, CDialogEx)
CFixStatusDlg::CFixStatusDlg(CWnd* pParent)
: CDialogEx(IDD_FIX_STATUS, pParent)
{
}
CFixStatusDlg::~CFixStatusDlg()
{
}
void CFixStatusDlg::DoDataExchange(CDataExchange* pDX)
{
CDialogEx::DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP(CFixStatusDlg, CDialogEx)
END_MESSAGE_MAP()
@igotit-anything
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment