|
-
Dec 18th, 2002, 01:29 PM
#1
Thread Starter
Member
What about this?
class Class1{ //dialog class
int m_1;
void setm1(int m);
}
class Class2{
HWND tbd;
}
Class1::Class1(){
Class2 c2;
c2.tbd = m_hWnd;
}
Class2::Class2(){
tbd->setm1 - //why wont this work???
}
All I want to do is add to a listbox on a dialog from a child class of the dialog...
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
|