Click here to Skip to main content
15,895,781 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ClassWizard for Visual Studio 2005 Pin
Rob Caldecott3-Jan-06 6:32
Rob Caldecott3-Jan-06 6:32 
GeneralRe: ClassWizard for Visual Studio 2005 Pin
DanYELL3-Jan-06 9:15
DanYELL3-Jan-06 9:15 
GeneralRe: ClassWizard for Visual Studio 2005 Pin
Joe Woodbury4-Jan-06 18:29
professionalJoe Woodbury4-Jan-06 18:29 
QuestionIntercept login from locked screen Pin
davedoc3-Jan-06 4:27
davedoc3-Jan-06 4:27 
AnswerRe: Intercept login from locked screen Pin
David Crow3-Jan-06 6:46
David Crow3-Jan-06 6:46 
AnswerRe: Intercept login from locked screen Pin
sunit53-Jan-06 19:10
sunit53-Jan-06 19:10 
GeneralRe: Intercept login from locked screen Pin
davedoc4-Jan-06 1:43
davedoc4-Jan-06 1:43 
QuestionHow to access a Dialog from another class X? Pin
Eytukan3-Jan-06 3:37
Eytukan3-Jan-06 3:37 
Inherit CMyCDialog class in Class X (Class X : public CMyDialog)??. but the problem is the class X has been already inherited by the CMyDialog Call. so if do so, it'll become a cyclic inheritance. u cant do that. how to go about here?

scenario:

in Class X i have two methods
<br />
class X<br />
{<br />
SendData();<br />
ReceiveData();<br />
}<br />


In my CMyDialog, (which looks like class CMyDialod: public X)

i'd call in a button click,

<br />
void CMyDialog::OnClick()<br />
{<br />
this->SendData();<br />
}<br />


this works fine.

but when receiving , i want to display them in the CDialog. the function ReceiveData is a Thread. so in the middle of the thread, i need to update the status in the CDialog's textboxes.

in short, is it possible to access the members of the child class? or any direct access?


thanks,






"But your mind is very complex, very tricky. It makes simple things complicated. -- that's its work. And for centuries it has been trained for only one thing: to make things so complicated that your life becomes impossible."- Osho

<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--


AnswerRe: How to access a Dialog from another class X? Pin
benjymous3-Jan-06 4:48
benjymous3-Jan-06 4:48 
GeneralRe: How to access a Dialog from another class X? Pin
Eytukan3-Jan-06 4:58
Eytukan3-Jan-06 4:58 
AnswerRe: How to access a Dialog from another class X? Pin
Prakash Nadar3-Jan-06 5:05
Prakash Nadar3-Jan-06 5:05 
GeneralRe: How to access a Dialog from another class X? Pin
Eytukan3-Jan-06 5:10
Eytukan3-Jan-06 5:10 
GeneralRe: How to access a Dialog from another class X? Pin
S Douglas3-Jan-06 20:25
professionalS Douglas3-Jan-06 20:25 
Questionthread/application priority Pin
tonyro3-Jan-06 3:30
tonyro3-Jan-06 3:30 
AnswerRe: thread/application priority Pin
khan++3-Jan-06 3:42
khan++3-Jan-06 3:42 
AnswerRe: thread/application priority Pin
Ali Mojtabaee3-Jan-06 3:50
Ali Mojtabaee3-Jan-06 3:50 
GeneralRe: thread/application priority Pin
tonyro3-Jan-06 3:53
tonyro3-Jan-06 3:53 
GeneralRe: thread/application priority Pin
basementman3-Jan-06 4:59
basementman3-Jan-06 4:59 
GeneralRe: thread/application priority Pin
Ali Mojtabaee4-Jan-06 5:43
Ali Mojtabaee4-Jan-06 5:43 
AnswerRe: thread/application priority Pin
Michael Dunn3-Jan-06 7:44
sitebuilderMichael Dunn3-Jan-06 7:44 
GeneralRe: thread/application priority Pin
tonyro4-Jan-06 4:53
tonyro4-Jan-06 4:53 
GeneralRe: thread/application priority Pin
Michael Dunn5-Jan-06 9:16
sitebuilderMichael Dunn5-Jan-06 9:16 
AnswerRe: thread/application priority Pin
Stephen Hewitt9-Jan-06 2:04
Stephen Hewitt9-Jan-06 2:04 
Questionproblem with buffer in fread and fwrite Pin
hamsha_ir3-Jan-06 2:38
hamsha_ir3-Jan-06 2:38 
AnswerRe: problem with buffer in fread and fwrite Pin
kakan3-Jan-06 2:56
professionalkakan3-Jan-06 2:56 

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.