Click here to Skip to main content
16,004,901 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ class definitions Pin
baerten28-Aug-07 2:18
baerten28-Aug-07 2:18 
AnswerRe: C++ class definitions Pin
David Crow28-Aug-07 2:36
David Crow28-Aug-07 2:36 
GeneralRe: C++ class definitions Pin
baerten28-Aug-07 2:44
baerten28-Aug-07 2:44 
GeneralRe: C++ class definitions Pin
David Crow28-Aug-07 2:48
David Crow28-Aug-07 2:48 
AnswerRe: C++ class definitions Pin
Russell'28-Aug-07 3:06
Russell'28-Aug-07 3:06 
GeneralRe: C++ class definitions Pin
baerten28-Aug-07 3:16
baerten28-Aug-07 3:16 
GeneralRe: C++ class definitions Pin
Russell'28-Aug-07 3:28
Russell'28-Aug-07 3:28 
GeneralRe: C++ class definitions Pin
Maxwell Chen28-Aug-07 4:36
Maxwell Chen28-Aug-07 4:36 
I always make my own sections to separate from Wizard generated code. Such as:
// CBeeDlg dialog
class CBeeDlg : public CDialog
{
// Construction
public:
	CBeeDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_BEE_DIALOG };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
// Implementation
protected:
	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
 
 
 
// My own code begins below...
protected:
	void InitFont_();
	bool RefreshReaders_();
	void FreeResource_();
	void SetExitFlag_() { m_bExit = true; }
	void InitFrameParam_();
public:
	void LogMsg(CString sTxt, bool bDbgOnly = false);
	void LogErrorMsg();
};



Maxwell Chen

GeneralRe: C++ class definitions Pin
Russell'28-Aug-07 7:16
Russell'28-Aug-07 7:16 
AnswerRe: C++ class definitions Pin
Michael Dunn28-Aug-07 8:04
sitebuilderMichael Dunn28-Aug-07 8:04 
QuestionRedistributing a command-line program made with VC++ 2005? Pin
Maxwell Chen28-Aug-07 1:31
Maxwell Chen28-Aug-07 1:31 
AnswerRe: Redistributing a command-line program made with VC++ 2005? Pin
jhwurmbach28-Aug-07 1:48
jhwurmbach28-Aug-07 1:48 
GeneralRe: Redistributing a command-line program made with VC++ 2005? Pin
Maxwell Chen28-Aug-07 2:03
Maxwell Chen28-Aug-07 2:03 
GeneralRe: Redistributing a command-line program made with VC++ 2005? Pin
jhwurmbach28-Aug-07 2:05
jhwurmbach28-Aug-07 2:05 
QuestionWriting a C++ code to print a file Pin
barun_iit28-Aug-07 1:29
barun_iit28-Aug-07 1:29 
AnswerRe: Writing a C++ code to print a file Pin
Nishad S28-Aug-07 1:39
Nishad S28-Aug-07 1:39 
AnswerRe: Writing a C++ code to print a file Pin
chandu00428-Aug-07 1:42
chandu00428-Aug-07 1:42 
GeneralRe: Writing a C++ code to print a file Pin
barun_iit28-Aug-07 18:10
barun_iit28-Aug-07 18:10 
QuestionIdentifying a corrupt exe Pin
vipin_nvk28-Aug-07 1:15
vipin_nvk28-Aug-07 1:15 
AnswerRe: Identifying a corrupt exe Pin
jhwurmbach28-Aug-07 1:38
jhwurmbach28-Aug-07 1:38 
AnswerRe: Identifying a corrupt exe Pin
kasturi_haribabu28-Aug-07 1:42
kasturi_haribabu28-Aug-07 1:42 
QuestionInside ntdll.dll Pin
Waldermort28-Aug-07 1:04
Waldermort28-Aug-07 1:04 
AnswerRe: Inside ntdll.dll Pin
Stephen Hewitt28-Aug-07 14:49
Stephen Hewitt28-Aug-07 14:49 
GeneralRe: Inside ntdll.dll Pin
Waldermort28-Aug-07 14:55
Waldermort28-Aug-07 14:55 
QuestionTemplates Pin
Russell'28-Aug-07 0:16
Russell'28-Aug-07 0:16 

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

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