Click here to Skip to main content
15,917,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problem using "&" Ampersand in MFC Buttons Pin
Code-o-mat20-Oct-09 4:28
Code-o-mat20-Oct-09 4:28 
GeneralRe: Problem using "&" Ampersand in MFC Buttons Pin
Neil Urquhart20-Oct-09 4:36
Neil Urquhart20-Oct-09 4:36 
GeneralRe: Problem using "&" Ampersand in MFC Buttons Pin
Hans Dietrich20-Oct-09 4:39
mentorHans Dietrich20-Oct-09 4:39 
GeneralRe: Problem using "&" Ampersand in MFC Buttons Pin
Code-o-mat20-Oct-09 4:42
Code-o-mat20-Oct-09 4:42 
AnswerRe: Problem using "&" Ampersand in MFC Buttons Pin
David Crow20-Oct-09 7:02
David Crow20-Oct-09 7:02 
AnswerMore Info Pin
Hans Dietrich20-Oct-09 4:37
mentorHans Dietrich20-Oct-09 4:37 
QuestionUsing functions and variables from another Dialog Pin
jo3ran20-Oct-09 3:43
jo3ran20-Oct-09 3:43 
AnswerRe: Using functions and variables from another Dialog Pin
Hans Dietrich20-Oct-09 4:47
mentorHans Dietrich20-Oct-09 4:47 
Don't have to guess, this is a standard situation that comes up with all dialogs. Look at CFontDialog, for example. You will see a bunch of GetXXXXX() APIs, that the parent can use to access dialog info, after the user hits OK.

In this case, you can set a UserClickedButton variable in your dialog class, that the parent can access. Or even better, implement a GetUserClickedButton() API. If you need to update the listbox immediately, the tab dialog can send a user message to the parent.

Best wishes,
Hans


[Hans Dietrich Software]

GeneralRe: Using functions and variables from another Dialog Pin
jo3ran20-Oct-09 4:50
jo3ran20-Oct-09 4:50 
GeneralRe: Using functions and variables from another Dialog Pin
Hans Dietrich20-Oct-09 4:55
mentorHans Dietrich20-Oct-09 4:55 
GeneralRe: Using functions and variables from another Dial Pin
jo3ran20-Oct-09 5:04
jo3ran20-Oct-09 5:04 
GeneralRe: Using functions and variables from another Dial Pin
Hans Dietrich20-Oct-09 5:13
mentorHans Dietrich20-Oct-09 5:13 
GeneralRe: Using functions and variables from another Dial Pin
jo3ran20-Oct-09 5:38
jo3ran20-Oct-09 5:38 
GeneralRe: Using functions and variables from another Dial Pin
Hans Dietrich20-Oct-09 6:03
mentorHans Dietrich20-Oct-09 6:03 
GeneralRe: Using functions and variables from another Dial Pin
jo3ran21-Oct-09 2:02
jo3ran21-Oct-09 2:02 
GeneralRe: Using functions and variables from another Dial Pin
Hans Dietrich21-Oct-09 2:22
mentorHans Dietrich21-Oct-09 2:22 
QuestionInitialize into TCHAR** Pin
m_mun20-Oct-09 3:20
m_mun20-Oct-09 3:20 
AnswerRe: Initialize into TCHAR** Pin
Cedric Moonen20-Oct-09 3:30
Cedric Moonen20-Oct-09 3:30 
GeneralRe: Initialize into TCHAR** Pin
m_mun20-Oct-09 3:35
m_mun20-Oct-09 3:35 
GeneralRe: Initialize into TCHAR** Pin
Cedric Moonen20-Oct-09 3:41
Cedric Moonen20-Oct-09 3:41 
GeneralRe: Initialize into TCHAR** Pin
m_mun20-Oct-09 4:04
m_mun20-Oct-09 4:04 
AnswerRe: Initialize into TCHAR** Pin
Naveen20-Oct-09 3:44
Naveen20-Oct-09 3:44 
GeneralRe: Initialize into TCHAR** Pin
m_mun20-Oct-09 4:05
m_mun20-Oct-09 4:05 
GeneralRe: Initialize into TCHAR** Pin
Cedric Moonen20-Oct-09 4:10
Cedric Moonen20-Oct-09 4:10 
QuestionDebugging in CString Pin
jung-kreidler20-Oct-09 3:19
jung-kreidler20-Oct-09 3:19 

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.