|
-
September 21st, 2007, 09:43 AM
#1
Custom CStatusBar
Hi i created a custom CStatusBar with an extra indicator, but when i add the indicator to the indicators array, at runtime i got and error :Failed to create empty document and my program closes.
How can i prevent this error?
I'm using MFC with VS .NET 2005
-
September 21st, 2007, 11:50 AM
#2
Re: Custom CStatusBar
Hint. Put a breakpoint in your mainframe's OnCreate and step into the function that fails. Most likely , since you have touched the indicators, it is a function that uses the indicators that fails.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|