Click here to Skip to main content
15,909,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHorizontal scroll for CListBox. Pin
Jackson8628-Nov-07 9:17
Jackson8628-Nov-07 9:17 
AnswerRe: Horizontal scroll for CListBox. Pin
David Crow28-Nov-07 10:25
David Crow28-Nov-07 10:25 
AnswerRe: Horizontal scroll for CListBox. Pin
Nelek28-Nov-07 22:10
protectorNelek28-Nov-07 22:10 
Questionhelp regarding graphics in VC++ Pin
paresh_sarjani28-Nov-07 8:38
paresh_sarjani28-Nov-07 8:38 
QuestionRe: help regarding graphics in VC++ Pin
Maximilien28-Nov-07 8:51
Maximilien28-Nov-07 8:51 
AnswerRe: help regarding graphics in VC++ Pin
paresh_sarjani28-Nov-07 8:53
paresh_sarjani28-Nov-07 8:53 
AnswerRe: help regarding graphics in VC++ Pin
Hamid_RT28-Nov-07 18:45
Hamid_RT28-Nov-07 18:45 
QuestionConvert Int to CString Pin
Schehaider_Aymen28-Nov-07 8:26
Schehaider_Aymen28-Nov-07 8:26 
AnswerRe: Convert Int to CString Pin
Maximilien28-Nov-07 8:37
Maximilien28-Nov-07 8:37 
GeneralRe: Convert Int to CString Pin
Schehaider_Aymen28-Nov-07 8:40
Schehaider_Aymen28-Nov-07 8:40 
AnswerRe: Convert Int to CString Pin
paresh_sarjani28-Nov-07 8:42
paresh_sarjani28-Nov-07 8:42 
AnswerRe: Convert Int to CString Pin
Hamid_RT29-Nov-07 4:33
Hamid_RT29-Nov-07 4:33 
QuestionVC++ 6.0 runs out of "temporary files" space on C drive Pin
Vaclav_28-Nov-07 6:31
Vaclav_28-Nov-07 6:31 
QuestionRe: VC++ 6.0 runs out of "temporary files" space on C drive Pin
David Crow28-Nov-07 6:38
David Crow28-Nov-07 6:38 
AnswerRe: VC++ 6.0 runs out of "temporary files" space on C drive Pin
Vaclav_28-Nov-07 6:58
Vaclav_28-Nov-07 6:58 
Questionmove up call stack one level Pin
Andy H28-Nov-07 6:14
Andy H28-Nov-07 6:14 
QuestionRe: move up call stack one level Pin
David Crow28-Nov-07 6:21
David Crow28-Nov-07 6:21 
AnswerRe: move up call stack one level Pin
led mike28-Nov-07 6:25
led mike28-Nov-07 6:25 
AnswerRe: move up call stack one level Pin
maciu202028-Nov-07 7:45
maciu202028-Nov-07 7:45 
GeneralRe: move up call stack one level Pin
Andy H28-Nov-07 11:07
Andy H28-Nov-07 11:07 
Questionmouse whell scroll Pin
Tara1428-Nov-07 5:27
Tara1428-Nov-07 5:27 
AnswerRe: mouse whell scroll Pin
Nelek28-Nov-07 22:01
protectorNelek28-Nov-07 22:01 
GeneralRe: mouse whell scroll Pin
Tara1430-Nov-07 0:09
Tara1430-Nov-07 0:09 
QuestionHow Create and unse a Global Var Pin
Schehaider_Aymen28-Nov-07 4:55
Schehaider_Aymen28-Nov-07 4:55 
AnswerRe: How Create and unse a Global Var [modified] Pin
CPallini28-Nov-07 5:14
mveCPallini28-Nov-07 5:14 
you have already an example of it:
The Application Wizard defines the global variable theApp inside the application source file (i.e. AutoParallApp.cpp AutoParall.cpp in your case).
You can use theApp on any other source file (for instance in the MainFrm.cpp) provided you declare it as extern (i.e. extern CAutoParallApp theApp;) in the corrensponding header file (MainFrm.h in the previous example).
You can also make it visible to all sources, declaring it extern inside the StdAfx.h header (included by all sources of you project).

I hope that you can find out your way now.
Smile | :)


-- modified at 11:35 Wednesday 28th November, 2007

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

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.