Click here to Skip to main content
15,910,471 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHandle to Dialog, In Dialog Application Pin
jerry1211a28-Apr-06 6:52
jerry1211a28-Apr-06 6:52 
Hi,

I am designing a simple dialog application in VS.net. In the dialog class that is created, I call a class of my own, that is not derived from any MFC class. My class needs access to an Edit control in the main dialog. It looks as if my class needs a handle to the parent class, hlg, in this case the dialog window.

QUESTION:
How do I find the parent, main dialog, parent window??
I have been trying to find it while setting breakpoints in the debugger.

Thanks.
Jerry
QuestionRe: Handle to Dialog, In Dialog Application Pin
David Crow28-Apr-06 7:42
David Crow28-Apr-06 7:42 
AnswerRe: Handle to Dialog, In Dialog Application Pin
Hamid_RT28-Apr-06 19:22
Hamid_RT28-Apr-06 19:22 
AnswerRe: Handle to Dialog, In Dialog Application Pin
Steve Echols28-Apr-06 22:42
Steve Echols28-Apr-06 22:42 
Questionhow to convert a CString to unsigned short Pin
joy2128-Apr-06 6:02
joy2128-Apr-06 6:02 
AnswerRe: how to convert a CString to unsigned short Pin
David Crow28-Apr-06 6:23
David Crow28-Apr-06 6:23 
AnswerRe: how to convert a CString to unsigned short Pin
Steve Echols28-Apr-06 12:26
Steve Echols28-Apr-06 12:26 
QuestionWin 3.x apps with VC6-8 Pin
Andre xxxxxxx28-Apr-06 5:40
Andre xxxxxxx28-Apr-06 5:40 
AnswerRe: Win 3.x apps with VC6-8 Pin
Gordon Brandly28-Apr-06 7:09
Gordon Brandly28-Apr-06 7:09 
GeneralRe: Win 3.x apps with VC6-8 Pin
Maximilien28-Apr-06 7:24
Maximilien28-Apr-06 7:24 
GeneralRe: Win 3.x apps with VC6-8 Pin
Gordon Brandly28-Apr-06 8:40
Gordon Brandly28-Apr-06 8:40 
GeneralRe: Win 3.x apps with VC6-8 Pin
Kevin McFarlane28-Apr-06 11:33
Kevin McFarlane28-Apr-06 11:33 
AnswerRe: Win 3.x apps with VC6-8 Pin
Michael Dunn28-Apr-06 9:38
sitebuilderMichael Dunn28-Apr-06 9:38 
QuestionInterface programming in MFC Pin
cmdill28-Apr-06 4:01
cmdill28-Apr-06 4:01 
QuestionHello - problem in tree control in mfc Pin
Raja Bose C Leo28-Apr-06 3:08
Raja Bose C Leo28-Apr-06 3:08 
AnswerRe: Hello - problem in tree control in mfc Pin
David Crow28-Apr-06 3:28
David Crow28-Apr-06 3:28 
Questiondouble core processors support from VC Pin
9ine28-Apr-06 3:01
9ine28-Apr-06 3:01 
AnswerRe: double core processors support from VC Pin
toxcct28-Apr-06 3:44
toxcct28-Apr-06 3:44 
QuestionRe: double core processors support from VC Pin
David Crow28-Apr-06 4:36
David Crow28-Apr-06 4:36 
AnswerRe: double core processors support from VC Pin
Michael Dunn28-Apr-06 9:40
sitebuilderMichael Dunn28-Apr-06 9:40 
AnswerRe: double core processors support from VC Pin
Rick York28-Apr-06 10:26
mveRick York28-Apr-06 10:26 
Questionprogram windows servies in Visual C++ 6.0 Pin
prajwolkumar28-Apr-06 2:35
prajwolkumar28-Apr-06 2:35 
AnswerRe: program windows servies in Visual C++ 6.0 Pin
David Crow28-Apr-06 3:30
David Crow28-Apr-06 3:30 
QuestionEvents Pin
HakunaMatada28-Apr-06 2:30
HakunaMatada28-Apr-06 2:30 
AnswerRe: Events Pin
David Crow28-Apr-06 2:34
David Crow28-Apr-06 2:34 

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.