ok thanks, I think you're right.
after this
Cmyclass2* pmc2 = new Cmyclass2;
I need to
pmc2->Create(NULL, "myWnd", WS_CHILD, CRect(0, 0, 0, 0), this, 1234);
and later
pmc2->DestroyWindow()
is this only for windows that process messages?
ok thanks, I think you're right.
after this
Cmyclass2* pmc2 = new Cmyclass2;
I need to
pmc2->Create(NULL, "myWnd", WS_CHILD, CRect(0, 0, 0, 0), this, 1234);
and later
pmc2->DestroyWindow()
is this only for windows that process messages?