Click here to Skip to main content
15,893,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Global Variables Pin
Alvaro Mendez15-Nov-02 11:40
Alvaro Mendez15-Nov-02 11:40 
GeneralRe: Global Variables Pin
Ravi Bhavnani15-Nov-02 11:43
professionalRavi Bhavnani15-Nov-02 11:43 
GeneralRe: Global Variables Pin
Christian Graus15-Nov-02 10:43
protectorChristian Graus15-Nov-02 10:43 
GeneralRe: Global Variables Pin
Ayush15-Nov-02 10:49
Ayush15-Nov-02 10:49 
GeneralRe: Global Variables Pin
Christian Graus15-Nov-02 10:56
protectorChristian Graus15-Nov-02 10:56 
GeneralRe: Global Variables Pin
Anders Molin15-Nov-02 14:01
professionalAnders Molin15-Nov-02 14:01 
GeneralRe: Global Variables Pin
Christian Graus15-Nov-02 14:27
protectorChristian Graus15-Nov-02 14:27 
GeneralRe: Global Variables Pin
ian mariano15-Nov-02 19:23
ian mariano15-Nov-02 19:23 
I think you're thinking the variale will be seen in the IDE class explorer under the "Global Variables" tree node, right? If you reeeeely want to make it global (and see it in there,) declare it outside any class definition, otherwise, it'll just appear as a protected member of your Dialog class, and the value will depend on the Dialog (or it's derived class') instance.



"The greatest danger to humanity is humanity without an open mind."
  - Ian Mariano - http://www.ian-space.com/

GeneralSplitter Window Question Pin
work_to_live15-Nov-02 9:44
work_to_live15-Nov-02 9:44 
GeneralRe: Splitter Window Question Pin
work_to_live15-Nov-02 20:37
work_to_live15-Nov-02 20:37 
GeneralRe: Splitter Window Question Pin
Gary R. Wheeler16-Nov-02 4:00
Gary R. Wheeler16-Nov-02 4:00 
GeneralRe: Splitter Window Question Pin
work_to_live16-Nov-02 5:56
work_to_live16-Nov-02 5:56 
GeneralRe: Splitter Window Question Pin
Gary R. Wheeler17-Nov-02 1:38
Gary R. Wheeler17-Nov-02 1:38 
GeneralRe: Splitter Window Question Pin
work_to_live18-Nov-02 10:17
work_to_live18-Nov-02 10:17 
GeneralRe: Splitter Window Question Pin
Gary R. Wheeler18-Nov-02 14:52
Gary R. Wheeler18-Nov-02 14:52 
QuestionHow to reboot computer in VC++? Pin
Tida15-Nov-02 9:21
Tida15-Nov-02 9:21 
AnswerRe: How to reboot computer in VC++? Pin
Joaquín M López Muñoz15-Nov-02 9:27
Joaquín M López Muñoz15-Nov-02 9:27 
GeneralRe: How to reboot computer in VC++? Pin
Tim Smith15-Nov-02 10:36
Tim Smith15-Nov-02 10:36 
GeneralRe: How to reboot computer in VC++? Pin
Philip Fitzsimons15-Nov-02 11:04
Philip Fitzsimons15-Nov-02 11:04 
GeneralRe: How to reboot computer in VC++? Pin
Alvaro Mendez15-Nov-02 11:42
Alvaro Mendez15-Nov-02 11:42 
QuestionDoc-View: using same document in two programs? Pin
Tom Welch15-Nov-02 8:46
Tom Welch15-Nov-02 8:46 
AnswerRe: Doc-View: using same document in two programs? Pin
Neville Franks15-Nov-02 9:32
Neville Franks15-Nov-02 9:32 
Questionit does not work what to do? Pin
imran_rafique15-Nov-02 8:45
imran_rafique15-Nov-02 8:45 
AnswerRe: it does not work what to do? Pin
Christian Graus15-Nov-02 8:59
protectorChristian Graus15-Nov-02 8:59 
GeneralRe: it does not work what to do? Pin
imran_rafique15-Nov-02 14:12
imran_rafique15-Nov-02 14:12 

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.