Click here to Skip to main content
15,900,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDirectX 9 and Task Manager. Pin
Member 38254932-Jul-08 0:19
Member 38254932-Jul-08 0:19 
QuestionCompare two xml File Pin
manju#1231-Jul-08 23:33
manju#1231-Jul-08 23:33 
QuestionNTservice Pin
tns_ranjith1-Jul-08 23:31
tns_ranjith1-Jul-08 23:31 
AnswerRe: NTservice Pin
Naveen1-Jul-08 23:44
Naveen1-Jul-08 23:44 
AnswerRe: NTservice Pin
JudyL_MD2-Jul-08 3:04
JudyL_MD2-Jul-08 3:04 
QuestionHow to get a reference to the Doc in the Mainframe Pin
ilgale1-Jul-08 23:20
ilgale1-Jul-08 23:20 
AnswerRe: How to get a reference to the Doc in the Mainframe Pin
CPallini1-Jul-08 23:36
mveCPallini1-Jul-08 23:36 
AnswerRe: How to get a reference to the Doc in the Mainframe Pin
Nelek3-Jul-08 22:05
protectorNelek3-Jul-08 22:05 
Another possibility to what CPallini told you is to do the following.

Declare a CMyDoc variable in the StdAfx.h as extern. Then in the InitialUpdate of your view, use the GetDocument and assign it to that extern pointer/variable. Then you will be able to use it in every place on your programm.

Regards.
--------
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
Rating helpfull answers is nice, but saying thanks can be even nicer.

QuestionReport Creation in VC++ 2005. Pin
Le@rner1-Jul-08 23:20
Le@rner1-Jul-08 23:20 
QuestionMouse Move or click Event on Internet Explorer Pin
Dabara1-Jul-08 22:52
Dabara1-Jul-08 22:52 
AnswerRe: Mouse Move or click Event on Internet Explorer Pin
KarstenK1-Jul-08 23:21
mveKarstenK1-Jul-08 23:21 
GeneralRe: Mouse Move or click Event on Internet Explorer Pin
Dabara2-Jul-08 0:02
Dabara2-Jul-08 0:02 
GeneralRe: Mouse Move or click Event on Internet Explorer Pin
KarstenK2-Jul-08 22:17
mveKarstenK2-Jul-08 22:17 
QuestionRe: Mouse Move or click Event on Internet Explorer Pin
Dabara7-Jul-08 20:21
Dabara7-Jul-08 20:21 
Questionencoder question about GDI+ Pin
followait1-Jul-08 22:48
followait1-Jul-08 22:48 
AnswerRe: encoder question about GDI+ Pin
SandipG 2-Jul-08 0:48
SandipG 2-Jul-08 0:48 
QuestionUse Windows command bar icon (FaceID) on dialog? Pin
J.B.1-Jul-08 22:36
J.B.1-Jul-08 22:36 
QuestionRe: Use Windows command bar icon (FaceID) on dialog? Pin
David Crow2-Jul-08 5:18
David Crow2-Jul-08 5:18 
AnswerRe: Use Windows command bar icon (FaceID) on dialog? Pin
J.B.2-Jul-08 20:40
J.B.2-Jul-08 20:40 
QuestionRe: Use Windows command bar icon (FaceID) on dialog? Pin
David Crow3-Jul-08 13:02
David Crow3-Jul-08 13:02 
AnswerRe: Use Windows command bar icon (FaceID) on dialog? Pin
J.B.3-Jul-08 17:57
J.B.3-Jul-08 17:57 
QuestionRe: Use Windows command bar icon (FaceID) on dialog? Pin
David Crow4-Jul-08 5:32
David Crow4-Jul-08 5:32 
GeneralRe: Use Windows command bar icon (FaceID) on dialog? Pin
J.B.4-Jul-08 17:53
J.B.4-Jul-08 17:53 
QuestionDefault Contextmenu in my Application Pin
john56321-Jul-08 22:26
john56321-Jul-08 22:26 
AnswerRe: Default Contextmenu in my Application Pin
ThatsAlok1-Jul-08 22:40
ThatsAlok1-Jul-08 22:40 

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.