Click here to Skip to main content
15,924,193 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CDialog very basic question - how to pass and use CWnd parameter pParent? Pin
Vaclav_21-Sep-07 6:04
Vaclav_21-Sep-07 6:04 
GeneralRe: CDialog very basic question - how to pass and use CWnd parameter pParent? Pin
Chris Losinger21-Sep-07 6:12
professionalChris Losinger21-Sep-07 6:12 
GeneralRe: CDialog very basic question - how to pass and use CWnd parameter pParent? Pin
Vaclav_21-Sep-07 7:18
Vaclav_21-Sep-07 7:18 
QuestionRe: CDialog very basic question - how to pass and use CWnd parameter pParent? Pin
David Crow21-Sep-07 6:10
David Crow21-Sep-07 6:10 
AnswerRe: CDialog very basic question - how to pass and use CWnd parameter pParent? Pin
Vaclav_21-Sep-07 6:48
Vaclav_21-Sep-07 6:48 
GeneralRe: CDialog very basic question - how to pass and use CWnd parameter pParent? Pin
David Crow21-Sep-07 7:20
David Crow21-Sep-07 7:20 
AnswerRe: CDialog very basic question - how to pass and use CWnd parameter pParent? Pin
Gary R. Wheeler22-Sep-07 3:05
Gary R. Wheeler22-Sep-07 3:05 
GeneralRe: CDialog very basic question - how to pass and use CWnd parameter pParent? Pin
Vaclav_22-Sep-07 5:30
Vaclav_22-Sep-07 5:30 
Thanks Gary,
it looks like I am getting closer to what I want to accomplish.

I cobbled this "solution"

The parrent calls the dialog with (this) pointer.
The dialog retrieves handle from passed pointer and than I build another
CWnd to get to the caller variables. ( Can't show you now because my mashine is overloaded with restoring the RAID arrays and I don't want to get any " cannnot access because it is in use ").
I have not gotten to actual work on the variables - still working on the dialog "results" actions.


I like your approch and will try it.
But...I am still curious why the "standard" constructor get the CWnd pParent and how to use this pParent pointer "properly".

Cheers
Vaclav


PS Sorry no spell check - my MS Word is in gone for couple of hours.

GeneralRe: CDialog very basic question - how to pass and use CWnd parameter pParent? Pin
Gary R. Wheeler23-Sep-07 2:21
Gary R. Wheeler23-Sep-07 2:21 
QuestionMFC Grid Control - how to add an icon Pin
gomez_a21-Sep-07 4:54
gomez_a21-Sep-07 4:54 
QuestionPlacing pictures on a dialog box (VC++ 6.0) Pin
mr_m_imran21-Sep-07 4:38
mr_m_imran21-Sep-07 4:38 
AnswerRe: Placing pictures on a dialog box (VC++ 6.0) Pin
David Crow21-Sep-07 4:53
David Crow21-Sep-07 4:53 
GeneralRe: Placing pictures on a dialog box (VC++ 6.0) Pin
mr_m_imran21-Sep-07 7:19
mr_m_imran21-Sep-07 7:19 
AnswerRe: Placing pictures on a dialog box (VC++ 6.0) Pin
Hamid_RT21-Sep-07 19:34
Hamid_RT21-Sep-07 19:34 
GeneralANSI -> UTF8 Pin
Jörgen Sigvardsson21-Sep-07 4:24
Jörgen Sigvardsson21-Sep-07 4:24 
QuestionRe: ANSI -> UTF8 Pin
David Crow21-Sep-07 4:33
David Crow21-Sep-07 4:33 
AnswerRe: ANSI -> UTF8 Pin
Jörgen Sigvardsson21-Sep-07 4:42
Jörgen Sigvardsson21-Sep-07 4:42 
GeneralRe: ANSI -> UTF8 Pin
David Crow21-Sep-07 4:51
David Crow21-Sep-07 4:51 
GeneralRe: ANSI -> UTF8 Pin
Nemanja Trifunovic21-Sep-07 4:54
Nemanja Trifunovic21-Sep-07 4:54 
GeneralRe: ANSI -> UTF8 Pin
Jörgen Sigvardsson21-Sep-07 4:59
Jörgen Sigvardsson21-Sep-07 4:59 
GeneralRe: ANSI -> UTF8 Pin
Gary R. Wheeler22-Sep-07 3:07
Gary R. Wheeler22-Sep-07 3:07 
QuestionProblem in HotKey Pin
GauranG Shah21-Sep-07 4:13
GauranG Shah21-Sep-07 4:13 
AnswerRe: Problem in HotKey Pin
nbugalia21-Sep-07 4:30
nbugalia21-Sep-07 4:30 
GeneralRe: Problem in HotKey Pin
GauranG Shah21-Sep-07 19:54
GauranG Shah21-Sep-07 19:54 
AnswerRe: Problem in HotKey Pin
Iain Clarke, Warrior Programmer21-Sep-07 5:02
Iain Clarke, Warrior Programmer21-Sep-07 5:02 

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.