Hi Jean-Sébastien, To have the window resizable, you just need to set the supportsResize flag in the graphics window traits at creation time. It is false by default.
André -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jean-Sébastien Guay Sent: June-20-07 2:12 PM To: [email protected] Subject: Re: [osg-users] How can I render a frame on demand? Hello Himar, Robert, > osgviewer cow.osg --window 100 100 500 500 > > it shows a window, but i can't resize it. if i don't explicit set > --window it shows fullscreen (i have two screens), press f, and also can't > resize the (two) windows. That's right, on Win32 the window cannot be resized... Moving the mouse to the edges, the cursor never changes to the two arrows indicating that it can be resized. I never paid attention to that. On Linux, the window can be resized like any normal application window, so that should probably be the behavior on Windows too. It's probably just something wrong in the window creation code in osgViewer/GraphicsWindowWin32.cpp, but I don't have enough experience in straight Win32 programming to know what it is. J-S -- ______________________________________________________ Jean-Sebastien Guay [EMAIL PROTECTED] http://whitestar02.webhop.org/ ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
