Use One-Time Initialization for glyph run caching to avoid duplicate glyph run genera...
[gdipp.git] / gdipp_demo / AboutDlg.h
blobaf9de5cf86dd51bda7a0727d50e6476f11fc6da1
1 // aboutdlg.h : interface of the CAboutDlg class
2 //
3 /////////////////////////////////////////////////////////////////////////////
5 #pragma once
7 #include "gdipp_demo/resource.h"
9 class CAboutDlg : public CDialogImpl<CAboutDlg>
11 public:
12 enum { IDD = IDD_ABOUTBOX };
14 BEGIN_MSG_MAP(CAboutDlg)
15 MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
16 MESSAGE_HANDLER(WM_CLOSE, OnClose)
17 COMMAND_ID_HANDLER(IDOK, OnCloseCmd)
18 END_MSG_MAP()
20 // Handler prototypes (uncomment arguments if needed):
21 // LRESULT MessageHandler(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
22 // LRESULT CommandHandler(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
23 // LRESULT NotifyHandler(int /*idCtrl*/, LPNMHDR /*pnmh*/, BOOL& /*bHandled*/)
25 LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/);
26 LRESULT OnClose(UINT /*uMsg*/, WPARAM wParam, LPARAM /*lParam*/, BOOL& /*bHandled*/);
27 LRESULT OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/);