
Introduction
SharpKnife
class CSplashDlg : public CDialog
{
// Construction
public:
void SetRange(int iMax);
void StepIt(void);
void InitSplash(void);
CSplashDlg(CWnd* pParent = NULL); // standard constructor
void OnDestroy(void);
// Dialog Data
//{{AFX_DATA(CSplashDlg)
enum { IDD = IDD_SPLASH };
CStatic m_ctlProgressText;
CStatic m_ctlMsg;
CString m_strProgText;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSplashDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSplashDlg)
virtual BOOL OnInitDialog();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
//}}AFX_MSG
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
DECLARE_MESSAGE_MAP()
private:
void InitProgressText(CRect rcRect);
CBitmap m_bmSplash;
CBrush m_brHollow;
CSize m_sBitmap;
int m_iRangeMax;
int m_iCurCnt;
};
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