
Wed, 03/08/2006 - 17:47
Forums:
Hi every one ! I'm a newbie using OCC 5.2. I've created an application with the OCAF wizard. It seems that the view is not properly linked with the WNTWindow, the objects are displayed in a small part of the window.
Please Help me !
Thu, 03/09/2006 - 13:22
I found the source of my problem , the appwizard doesn't write the OnSize function :
void COcafapp1View::OnSize(UINT nType, int cx, int cy)
{
if (!myView.IsNull())
myView->MustBeResized();
}
It's nothing but it is a waste of time when you try to learn OCC.
Hope someone will write a nice AppWizard for VS .NET.
Thanks.
Phil.
Tue, 12/16/2008 - 05:11
Hi, Stoltz
I have the same problem as you. But even after I added the OnSize function, it still can dispay the low part on the window. The upper seems covered by something.
Can you help me? Thanks a lot.