This is probably obvious but I can't figure it out. I've created a Direct 3D screen as a child of the main window using this command:
I render the 3D mesh to this screen and it looks fine. I expand the window labeled "3D View" and the 3D mesh expands with it, but is now pixelated. From the help manual, it looks like I should use the command: screen.Reset(w,h,bPP,bFullScreen) to set the Direct 3D screen to match the new "3D View" window size.
But how do I get the new "3D View" window size? I would use GETSIZE windowname, l, t, w, h but there's no obvious name for the Direct 3D screen window other than "screen". I could create an intermediate window (screen is child of winintermediate is child of winmain) and resize when winintermediate is changed, but I thought there might be a more direct way to tell when the "3D View" window was changed.
Hope this is clear. Thanks for any help, Rich
(The program Vasemaker is an example of code using this: http://www.ionicwind.com/forums/index.php/topic,2000.0.html (http://www.ionicwind.com/forums/index.php/topic,2000.0.html)
the member variable m_win is the window the 3D screen is created in.
So it would be GetSize screen.m_win, ......
THanks! you are so prompt. Rich