Click here to Skip to main content
15,886,797 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: c++ Project help asap Pin
David Crow9-Aug-06 4:55
David Crow9-Aug-06 4:55 
GeneralRe: c++ Project help asap Pin
klck20009-Aug-06 5:00
klck20009-Aug-06 5:00 
GeneralRe: c++ Project help asap Pin
David Crow9-Aug-06 5:06
David Crow9-Aug-06 5:06 
GeneralRe: c++ Project help asap Pin
klck20009-Aug-06 5:10
klck20009-Aug-06 5:10 
QuestionRe: c++ Project help asap Pin
David Crow6-Oct-06 10:01
David Crow6-Oct-06 10:01 
QuestionGlobal variables crashing my app Pin
Wheatbread8-Aug-06 9:51
Wheatbread8-Aug-06 9:51 
AnswerRe: Global variables crashing my app Pin
Cedric Moonen8-Aug-06 20:26
Cedric Moonen8-Aug-06 20:26 
QuestionCommunication between MainFrm and Document [modified] Pin
titaniumdecoy8-Aug-06 9:41
titaniumdecoy8-Aug-06 9:41 
When a user selects the "Preferences" menu item in my application, it triggers the method CMainFrame::OnEditPreferences() in MainFrm.cpp. At that point I create a dialog and receive input from the user. Now, I need to pass that information on the document (*Doc.cpp).

I have tried GetActiveDocument() but it does not seem to contain my custom data members; do I need to cast it to another type? And if so, what headers do I need to include? Thanks for any help.

EDIT: I solved the problem by moving the OnEditPreferences() method to the document file with the Class Wizard. Sorry for any inconvenience.
AnswerRe: Communication between MainFrm and Document Pin
Kiran Pinjala8-Aug-06 21:51
Kiran Pinjala8-Aug-06 21:51 
QuestionPOSTing to Multiple Http Forms Pin
EpicYeti8-Aug-06 9:20
EpicYeti8-Aug-06 9:20 
AnswerRe: POSTing to Multiple Http Forms Pin
led mike8-Aug-06 10:43
led mike8-Aug-06 10:43 
QuestionWhere Can I find a tutorial for Programming for Windows Mobile 2003? [modified] Pin
Coolarj108-Aug-06 8:47
Coolarj108-Aug-06 8:47 
AnswerRe: Where Can I find a tutorial for Programming for Windows Mobile 2003? Pin
Coolarj108-Aug-06 10:33
Coolarj108-Aug-06 10:33 
GeneralRe: Where Can I find a tutorial for Programming for Windows Mobile 2003? [modified] Pin
Trollslayer8-Aug-06 11:41
mentorTrollslayer8-Aug-06 11:41 
QuestionHow to detect happening of file Pin
Max++8-Aug-06 6:43
Max++8-Aug-06 6:43 
QuestionRe: How to detect happening of file Pin
David Crow8-Aug-06 6:59
David Crow8-Aug-06 6:59 
AnswerRe: How to detect happening of file Pin
Max++8-Aug-06 7:10
Max++8-Aug-06 7:10 
GeneralRe: How to detect happening of file Pin
bob169728-Aug-06 7:18
bob169728-Aug-06 7:18 
GeneralRe: How to detect happening of file Pin
David Crow8-Aug-06 7:24
David Crow8-Aug-06 7:24 
AnswerRe: How to detect happening of file Pin
Eric Dahlvang8-Aug-06 10:12
Eric Dahlvang8-Aug-06 10:12 
AnswerRe: How to detect happening of file Pin
Hamid_RT8-Aug-06 20:42
Hamid_RT8-Aug-06 20:42 
QuestionKnowing if a window is going to be visible at creation Pin
Kharfax8-Aug-06 5:33
Kharfax8-Aug-06 5:33 
AnswerRe: Knowing if a window is going to be visible at creation Pin
led mike8-Aug-06 6:12
led mike8-Aug-06 6:12 
GeneralRe: Knowing if a window is going to be visible at creation Pin
Kharfax8-Aug-06 6:57
Kharfax8-Aug-06 6:57 
GeneralRe: Knowing if a window is going to be visible at creation Pin
led mike8-Aug-06 10:31
led mike8-Aug-06 10:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.