troubleshooting Question

How to show a title to a window's title bar?

Avatar of Greenbit
Greenbit asked on
2 Comments1 Solution287 ViewsLast Modified:
Dear all,

I am a beginer of VC++60. I just tried build a very simple empty window with MFC AppWizard[exe] SDI, I want it to tape the word "Music" to its title bar. So I simply add line "Create(NULL,_T("Music"));" to CMainFrame constructor like this:

     // TODO: add member initialization code here

There was no error messages nor warnings while building the program.  But when I ran exe file after it was built, it just gave system errors and terminated.  

Can any body please kindly show me what had been gone wrong?  
Thank you.

Best regards


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros