|
-
July 2nd, 1999, 10:37 PM
#1
how can I get a member variable from another class
I have the following setup:
CHudForm: oPrint()
{ UpdateData(TRUE);
extern void PrintForm1(CPage* pPage);
PrintForm1(ps);
delete ps;
}
and then the function PrintForm1 in a separate file has the structure;
void PrintForm1()
{
}
How can I get a member variable from the CHudForm class? I tried setting up
void PrintForm1()
{ CHudForm vdlg;
vdlg.m_edit;
}
but this isn't getting the value. I don't understand how I can get a member variable from the class CHudForm. Any response any one can give me will be greatly appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|