// BkDialog.cpp : Defines the class behaviors for the application. // #include "stdafx.h" #include "BkDialog.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif CBkDialog::CBkDialog(CWnd* pParent /*=NULL*/) { //{{AFX_DATA_INIT(CBkDialog) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT } CBkDialog::CBkDialog(UINT uResourceID, CWnd* pParent) : CDialog(uResourceID, pParent) { } CBkDialog::CBkDialog(LPCTSTR pszResourceID, CWnd* pParent) : CDialog(pszResourceID, pParent) { } CBkDialog::~CBkDialog() { } void CBkDialog::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CBkDialog) // NOTE: the ClassWizard will add DDX and DDV calls here //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CBkDialog, CDialog) //{{AFX_MSG_MAP(CBkDialog) ON_WM_ERASEBKGND() //}}AFX_MSG_MAP END_MESSAGE_MAP() BOOL CBkDialog::OnEraseBkgnd(CDC* pDC) { CRect rc; GetClientRect(rc); m_pDC = pDC; if (TileBitmap(pDC, rc) == TRUE) return TRUE; else return CDialog::OnEraseBkgnd(pDC); } // End of OnEraseBkgnd
By viewing downloads associated with this article you agree to the Terms of use 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.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
Old Japanese Man Creates Amazing Art Using Excel (Wait, Excel?)