Click here to Skip to main content
15,905,593 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: tutorial help PinPopular
Richard Andrew x6423-Oct-08 3:51
professionalRichard Andrew x6423-Oct-08 3:51 
GeneralRe: tutorial help Pin
Mark Salsbery23-Oct-08 4:42
Mark Salsbery23-Oct-08 4:42 
GeneralRe: tutorial help Pin
led mike23-Oct-08 5:23
led mike23-Oct-08 5:23 
Questionget pixel color Pin
rakesh528323-Oct-08 3:35
rakesh528323-Oct-08 3:35 
Questionget pixel color Pin
rakesh528323-Oct-08 3:34
rakesh528323-Oct-08 3:34 
AnswerRe: get pixel color Pin
CPallini23-Oct-08 3:48
mveCPallini23-Oct-08 3:48 
QuestionEM_AUTOURLDETECT , how to set the hyper link text color? Pin
YaronNir23-Oct-08 3:29
YaronNir23-Oct-08 3:29 
QuestionHow to declare global variable in MFC dialog based application? Pin
sn00pi23-Oct-08 2:42
sn00pi23-Oct-08 2:42 
Hi,

Currently im working on MFC Dialog Based application, the design of the dialog is to let user key in the word, then my picture control will render the sign language using the OpenGL. So I would like to link up the capture words that user key in the dialog and pass it to another function in order to display the animation. The problem now is Im unable to pass the variable from dialog.cpp to OpenGL.cpp

the dialog.cpp indicate that the dialog based that i have created while the OpenGL.cpp indicare that the program that I wrote to render the model.
I had declared the global variable as extern int NumOfWords and extern CString Word[20].

the NumOfWords is to capture how many words that user had keyed in and the CString Word[20] is to store the word by word into array.

How am I going to make these two variable at OpenGL.cpp? Hope to hear from you all soon. thank you.

regards,
sn00pi
AnswerRe: How to declare global variable in MFC dialog based application? Pin
CPallini23-Oct-08 3:09
mveCPallini23-Oct-08 3:09 
GeneralRe: How to declare global variable in MFC dialog based application? Pin
sn00pi23-Oct-08 5:31
sn00pi23-Oct-08 5:31 
GeneralRe: How to declare global variable in MFC dialog based application? Pin
CPallini23-Oct-08 6:06
mveCPallini23-Oct-08 6:06 
GeneralRe: How to declare global variable in MFC dialog based application? Pin
sn00pi23-Oct-08 8:02
sn00pi23-Oct-08 8:02 
GeneralRe: How to declare global variable in MFC dialog based application? Pin
CPallini23-Oct-08 8:06
mveCPallini23-Oct-08 8:06 
Questionstring pointer and int pointer Pin
rahulcrjk23-Oct-08 2:40
rahulcrjk23-Oct-08 2:40 
AnswerRe: string pointer and int pointer Pin
Roger Stoltz23-Oct-08 2:52
Roger Stoltz23-Oct-08 2:52 
AnswerRe: string pointer and int pointer Pin
Cedric Moonen23-Oct-08 2:55
Cedric Moonen23-Oct-08 2:55 
AnswerRe: string pointer and int pointer Pin
CPallini23-Oct-08 3:01
mveCPallini23-Oct-08 3:01 
AnswerRe: string pointer and int pointer Pin
king'ori23-Oct-08 4:03
king'ori23-Oct-08 4:03 
QuestionConfiguration Reload Pin
Soumyadipta23-Oct-08 2:03
Soumyadipta23-Oct-08 2:03 
AnswerRe: Configuration Reload Pin
Roger Stoltz23-Oct-08 2:20
Roger Stoltz23-Oct-08 2:20 
QuestionHow Can I Return Directory to Output? Pin
Member 422782623-Oct-08 0:37
Member 422782623-Oct-08 0:37 
AnswerRe: How Can I Return Directory to Output? Pin
CPallini23-Oct-08 2:24
mveCPallini23-Oct-08 2:24 
QuestionCreating COM by using ATL dll to wrap C++ MFC unmanaged dll Pin
Member 348023223-Oct-08 0:31
Member 348023223-Oct-08 0:31 
AnswerRe: Creating COM by using ATL dll to wrap C++ MFC unmanaged dll Pin
Roger Stoltz23-Oct-08 1:32
Roger Stoltz23-Oct-08 1:32 
GeneralRe: Creating COM by using ATL dll to wrap C++ MFC unmanaged dll Pin
Member 348023223-Oct-08 7:26
Member 348023223-Oct-08 7:26 

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.