When adding a new member function via Create Declaration the function gets inserted in the AFX_MSG area and the ClassWizzard no longer can parse the header file correctly.
// Generated message map functions
//{{AFX_MSG(CDialog_DisplayTimer)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnTimer(UINT nIDEvent);
CString GetFileTimeString(FILETIME *pFileTime);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
Also it would be cool to be able to specifiy if the new member gets sorted into private, public or protected...
cu,
Michael
Verified on a brand new project.