Click here to Skip to main content
15,908,674 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: new window Pin
Sarath C1-Aug-06 19:05
Sarath C1-Aug-06 19:05 
AnswerRe: new window Pin
gloriousgopi1-Aug-06 19:06
gloriousgopi1-Aug-06 19:06 
GeneralRe: new window Pin
With_problem1-Aug-06 20:06
With_problem1-Aug-06 20:06 
GeneralRe: new window Pin
gloriousgopi1-Aug-06 20:15
gloriousgopi1-Aug-06 20:15 
AnswerRe: new window Pin
Hamid_RT1-Aug-06 19:10
Hamid_RT1-Aug-06 19:10 
QuestionAccessing parent dialog? Pin
ctroyp1-Aug-06 18:50
ctroyp1-Aug-06 18:50 
AnswerRe: Accessing parent dialog? Pin
_AnsHUMAN_ 1-Aug-06 19:00
_AnsHUMAN_ 1-Aug-06 19:00 
AnswerRe: Accessing parent dialog? Pin
Sarath C1-Aug-06 19:24
Sarath C1-Aug-06 19:24 
Im not sure, whether the GetParent call from a COM control will work out.

Anyway, call GetParent(), if you get a valid parent handler, type cast it to your Dialog class' pointer. using dynamic_cast will be safe for this. then you can call the public interfaces.
You may have to use the header file and other stuffs of dialog class in the control class.


SaRath.

"Where I am from, there is no plan B. So, take advantage of today becuase tomorrow is not promised. - 50 Cent"

My Blog | Understanding State Pattern

AnswerRe: Accessing parent dialog? Pin
Vipin Aravind1-Aug-06 21:57
Vipin Aravind1-Aug-06 21:57 
QuestionTo Sarath.......... Pin
we3Guy1-Aug-06 18:44
we3Guy1-Aug-06 18:44 
AnswerRe: To Sarath.......... Pin
Sarath C1-Aug-06 19:02
Sarath C1-Aug-06 19:02 
QuestionRe: To Sarath.......... Pin
we3Guy1-Aug-06 20:42
we3Guy1-Aug-06 20:42 
AnswerRe: To Sarath.......... Pin
Sarath C1-Aug-06 20:45
Sarath C1-Aug-06 20:45 
QuestionRe: To Sarath.......... Pin
David Crow2-Aug-06 2:59
David Crow2-Aug-06 2:59 
AnswerRe: To Sarath.......... Pin
we3Guy2-Aug-06 3:19
we3Guy2-Aug-06 3:19 
GeneralRe: To Sarath.......... Pin
David Crow2-Aug-06 3:39
David Crow2-Aug-06 3:39 
GeneralRe: To Sarath.......... Pin
we3Guy2-Aug-06 15:28
we3Guy2-Aug-06 15:28 
QuestionDifference between .h and no .h [modified] Pin
HakunaMatada1-Aug-06 18:28
HakunaMatada1-Aug-06 18:28 
AnswerRe: Difference between .h and no .h Pin
_AnsHUMAN_ 1-Aug-06 18:47
_AnsHUMAN_ 1-Aug-06 18:47 
AnswerRe: Difference between .h and no .h Pin
Heinz_1-Aug-06 18:48
Heinz_1-Aug-06 18:48 
GeneralRe: Difference between .h and no .h Pin
Zac Howland4-Aug-06 9:06
Zac Howland4-Aug-06 9:06 
Questionmerge two projects Pin
thathvamsi1-Aug-06 16:14
thathvamsi1-Aug-06 16:14 
AnswerRe: merge two projects Pin
Maxwell Chen1-Aug-06 17:02
Maxwell Chen1-Aug-06 17:02 
GeneralRe: merge two projects Pin
thathvamsi1-Aug-06 17:25
thathvamsi1-Aug-06 17:25 
GeneralRe: merge two projects Pin
Vipin Aravind1-Aug-06 17:46
Vipin Aravind1-Aug-06 17:46 

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.