Username: Password:
Not registered yet? Click Here
Title/Subject only
Title -and- text
Software Forums: Display Message

Author: Luis Molina
E-mail: [email protected]
Date: 1/26/2003 2:30:17 PM
Subject: Learning c++
Message: I am trying to show a new toolbar in a MDI application generated with the appwizard in MS Visual c++ 6.0.
I try to use GetActiveDocument() in a handler function in the CMainFrame class, but when the programm executes, it doesn't do what I want. I checked the variables in the debugger and i shows that the pointer returned by GetActiveDocument is NULL. Going deeper, I discoverd that the application cannot evaluate the expression CDocument. Why does this happen even though I have included the appropriate header files in the implementation files?

You must be logged in to post a reply...

Back to the Folder

 C++ -- General C++ Discussion Forum
 Learning c++ by Luis Molina  at 1/26/2003 2:30:17 PM
© 2002 - - All Rights Reserved ...A software developer's forum