Click here to Skip to main content
15,898,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Changing the caption in StringTable Pin
Michael Dunn3-May-07 21:56
sitebuilderMichael Dunn3-May-07 21:56 
AnswerRe: Changing the caption in StringTable Pin
David Crow4-May-07 2:53
David Crow4-May-07 2:53 
GeneralRe: Changing the caption in StringTable Pin
reyd_todo7-May-07 7:46
reyd_todo7-May-07 7:46 
QuestionCan I directly use theApp instance to access the member varaiables Pin
NiceNaidu3-May-07 18:16
NiceNaidu3-May-07 18:16 
AnswerRe: Can I directly use theApp instance to access the member varaiables Pin
Stephen Hewitt3-May-07 18:48
Stephen Hewitt3-May-07 18:48 
GeneralRe: Can I directly use theApp instance to access the member varaiables Pin
NiceNaidu3-May-07 18:55
NiceNaidu3-May-07 18:55 
GeneralRe: Can I directly use theApp instance to access the member varaiables Pin
Stephen Hewitt3-May-07 19:26
Stephen Hewitt3-May-07 19:26 
GeneralRe: Can I directly use theApp instance to access the member varaiables Pin
#realJSOP4-May-07 2:21
professional#realJSOP4-May-07 2:21 
AfxGetApp() should only be used to access CWinApp members. Casting the CWinApp pointer will not do what you want.

If it were me and I needed access to the data from anywhere in the app, I would create a separate .h file and make it global OUTSIDE the scope of the app class, along with appropriate Get/Set functions you might deem necessary.





"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


GeneralRe: Can I directly use theApp instance to access the member varaiables Pin
Stephen Hewitt6-May-07 15:01
Stephen Hewitt6-May-07 15:01 
GeneralRe: Can I directly use theApp instance to access the member varaiables Pin
Mark Salsbery4-May-07 6:46
Mark Salsbery4-May-07 6:46 
AnswerRe: Can I directly use theApp instance to access the member varaiables Pin
David Crow4-May-07 2:56
David Crow4-May-07 2:56 
GeneralRe: Can I directly use theApp instance to access the member varaiables Pin
NiceNaidu22-May-07 18:40
NiceNaidu22-May-07 18:40 
QuestionRe: Can I directly use theApp instance to access the member varaiables Pin
David Crow23-May-07 2:57
David Crow23-May-07 2:57 
Questionhow to use minimumWindowSize property? Pin
nathan73-May-07 17:58
nathan73-May-07 17:58 
AnswerRe: how to use minimumWindowSize property? Pin
prasad_som3-May-07 19:46
prasad_som3-May-07 19:46 
QuestionMaking an Installation using Visual Studio 2005 Pin
Vichitram3-May-07 17:43
Vichitram3-May-07 17:43 
AnswerRe: Making an Installation using Visual Studio 2005 Pin
Cedric Moonen3-May-07 20:58
Cedric Moonen3-May-07 20:58 
AnswerRe: Making an Installation using Visual Studio 2005 Pin
Rajesh R Subramanian3-May-07 21:26
professionalRajesh R Subramanian3-May-07 21:26 
GeneralRe: Making an Installation using Visual Studio 2005 Pin
Michael Dunn3-May-07 21:58
sitebuilderMichael Dunn3-May-07 21:58 
Questionresizable tree control? Mark Salsbery pls come in Pin
nathan73-May-07 17:17
nathan73-May-07 17:17 
QuestionRe: resizable tree control? Mark Salsbery pls come in Pin
David Crow4-May-07 2:58
David Crow4-May-07 2:58 
AnswerRe: resizable tree control? Mark Salsbery pls come in Pin
Mark Salsbery4-May-07 6:59
Mark Salsbery4-May-07 6:59 
GeneralRe: resizable tree control? Mark Salsbery pls come in Pin
nathan76-May-07 23:24
nathan76-May-07 23:24 
QuestionJavascript / DOM Implementing on C++ Pin
Freezerg3-May-07 17:13
Freezerg3-May-07 17:13 
QuestionAccessing data from IE to an application Pin
sweetmonster4073-May-07 14:00
sweetmonster4073-May-07 14:00 

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.