Click here to Skip to main content
15,891,204 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to create global variable? Pin
19-Mar-02 7:49
suss19-Mar-02 7:49 
AnswerRe: How to create global variable? Pin
Carlos Antollini19-Mar-02 7:51
Carlos Antollini19-Mar-02 7:51 
AnswerRe: How to create global variable? Pin
Paul M Watt19-Mar-02 8:07
mentorPaul M Watt19-Mar-02 8:07 
GeneralRe: How to create global variable? Pin
Tomasz Sowinski19-Mar-02 8:11
Tomasz Sowinski19-Mar-02 8:11 
GeneralRe: How to create global variable? Pin
Paul M Watt19-Mar-02 8:21
mentorPaul M Watt19-Mar-02 8:21 
GeneralRe: How to create global variable? Pin
Christian Graus19-Mar-02 10:24
protectorChristian Graus19-Mar-02 10:24 
GeneralRe: How to create global variable? Pin
Paul M Watt19-Mar-02 10:34
mentorPaul M Watt19-Mar-02 10:34 
GeneralRe: How to create global variable? Pin
Tomasz Sowinski19-Mar-02 10:43
Tomasz Sowinski19-Mar-02 10:43 
kilowatt wrote:
Tomasz post on the thread before this thread stated this:

Declare teh variable in a header and include that header in all clases, or declare that variable in the App class and you can get the class using AfxGetApp() for get a pointer to CWinApp class


It was Carlos' post, actually. Smile | :)

Tomasz Sowinski -- http://www.shooltz.com
GeneralRe: How to create global variable? Pin
Christian Graus20-Mar-02 0:31
protectorChristian Graus20-Mar-02 0:31 
GeneralRe: How to create global variable? Pin
Bill Wilson19-Mar-02 14:03
Bill Wilson19-Mar-02 14:03 
GeneralRe: How to create global variable? Pin
Bill Wilson19-Mar-02 14:03
Bill Wilson19-Mar-02 14:03 
AnswerRe: How to create global variable? Pin
Tomasz Sowinski19-Mar-02 8:10
Tomasz Sowinski19-Mar-02 8:10 
GeneralSame caption problem as before, what am I doing wrong? (half reposted) Pin
generic_user_id19-Mar-02 7:48
generic_user_id19-Mar-02 7:48 
General_beginthreadex questions Pin
Le centriste19-Mar-02 7:39
Le centriste19-Mar-02 7:39 
GeneralRe: _beginthreadex questions Pin
Nemanja Trifunovic19-Mar-02 7:39
Nemanja Trifunovic19-Mar-02 7:39 
GeneralMore FlexGrid issues with .NET Pin
dazinith19-Mar-02 7:33
dazinith19-Mar-02 7:33 
GeneralCreating GDI Controls From Scratch Pin
alpha+19-Mar-02 6:51
alpha+19-Mar-02 6:51 
GeneralRe: Creating GDI Controls From Scratch Pin
Tomasz Sowinski19-Mar-02 6:56
Tomasz Sowinski19-Mar-02 6:56 
GeneralRe: Creating GDI Controls From Scratch Pin
Paul M Watt19-Mar-02 7:09
mentorPaul M Watt19-Mar-02 7:09 
GeneralNew and improved solution Pin
Paul M Watt19-Mar-02 9:06
mentorPaul M Watt19-Mar-02 9:06 
GeneralRe: Creating GDI Controls From Scratch Pin
Ravi Bhavnani19-Mar-02 9:28
professionalRavi Bhavnani19-Mar-02 9:28 
GeneralRe: Creating GDI Controls From Scratch Pin
Paul M Watt19-Mar-02 10:30
mentorPaul M Watt19-Mar-02 10:30 
GeneralFolder shortcuts. Pin
19-Mar-02 6:05
suss19-Mar-02 6:05 
GeneralRe: Folder shortcuts. Pin
Todd Smith19-Mar-02 6:58
Todd Smith19-Mar-02 6:58 
QuestionCustom thumbnails? Pin
Romeozulu19-Mar-02 5:57
Romeozulu19-Mar-02 5:57 

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.