Click here to Skip to main content
Licence 
First Posted 25 Mar 2003
Views 65,111
Bookmarked 17 times

Very Nice Text Progress

By | 25 Mar 2003 | Article
Very nice text progress.

Sample Image - Splsh162.jpg

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;

};

 

License

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

About the Author

SharpKnife

Web Developer

China China

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralQuality PinmemberDavide Calabro22:29 27 Mar '03  
GeneralHere is a better idea! PinmemberTV Mogul5:52 26 Mar '03  
GeneralRe: Here is a better idea! Pinmemberhector santos7:50 26 Mar '03  
GeneralRe: Here is a better idea! PinmemberTV Mogul9:48 26 Mar '03  
GeneralRe: Here is a better idea! PinmemberSwinefeaster11:10 28 Mar '03  
GeneralDemo programm needs MFC42D.DLL PinmemberKonrad Windszus5:42 26 Mar '03  
GeneralI think the admin should open a new section on the site... PinmemberPixiGreg3:34 26 Mar '03  
GeneralRe: I think the admin should open a new section on the site... PinmemberRui "viZual" Lopes5:32 26 Mar '03  
GeneralRe: I think the admin should open a new section on the site... PinmemberJonathan de Halleux10:08 26 Mar '03  
GeneralReally poor article PinmemberErik Frohne (Work)2:31 26 Mar '03  
GeneralRe: Really poor article PinmemberJohn Simmons / outlaw programmer2:45 26 Mar '03  
GeneralRe: Really poor article PinmemberErik Frohne (Work)2:52 26 Mar '03  
GeneralRe: Really poor article PinmemberBengi4:40 27 Mar '03  
GeneralRe: Really poor article PinmemberSynetech14:12 1 Jun '05  
GeneralWorks fine PinmemberSpolm22:33 25 Mar '03  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web02 | 2.5.120517.1 | Last Updated 26 Mar 2003
Article Copyright 2003 by SharpKnife
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid