|
#pragma once
// CStandardDialog dialog
class CStandardDialog : public CDialog
{
DECLARE_DYNAMIC(CStandardDialog)
public:
CStandardDialog(UINT nIDTemplate, COLORREF clrTransparent = RGB(0, 255, 0), CWnd* pParentWnd = NULL);
virtual ~CStandardDialog();
void ShowDialog();
DECLARE_MESSAGE_MAP()
private:
COLORREF m_clrTransparent;
CBrush m_brush;
protected:
virtual void OnOK();
virtual void OnCancel();
void EndDialog(int nResult);
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
virtual BOOL OnInitDialog();
};
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
D.K.Wang is working for a leading interactive entertainment media company located in Shanghai, China. Skilled in Windows C++, MFC, WTL, PHP etc. Started with professional games development since 2005, now devoted to the core functionality such as graphics rendering, physics simulation and scene management for a household game engine.