>>Are you sure the Button is in CMainFrame?
Dialog projects do not have a CMainFrame class (assuming he created a dialog project, not SDI or MDI)
Last edited by Ancient Dragon; Jul 14th, 2009 at 11:32 am.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Offline 21,947 posts
since Aug 2005