Hi RJ, Just thought I'd let you know that I got this to work (in a fashion.) I created a separate thread for the parent window to get/dispatch messages, and the child, or OSG window, displayed fine in that scenario. I coded some additional logic to determine when the child window becomes visible.
Thanks for your help. I don't think I need the code snippet now. Brian On 2 Apr 2007 18:40:19 -0000, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote : > Hi RJ, > > Thanks for the reply and links. However, I am just not seeing how I can > alter the style of the window prior to its creation. I've tried creating a > parent window and passing that via > > DeltaWin::GetInstance(0)->GetRenderSurface()->setParentWindow(win); > > However, all this does is to create a child window without the WS_VISIBLE > style. I discovered that I will need to provide a parent window due to a > couple of program specific reasons in my application. Looking at the > RenderSurface_Win32.cpp file, there don't seem to be any notifications that > the child window of the supplied parent has been created. > > At this point, a code snippet would be most helpful. > > Thanks, > Brian > > > On Mon, 02 Apr 2007 23:11:32 +0530, RJ <[EMAIL PROTECTED]> wrote : > > > Hi Brian, > > Yes you can do that by using RenderSurface.Get the Producer:: > > RenderSurface object from the Producer::Camera and then you can > > call different function of RenderSurface class to set the window > > properties. > > For more information look at the documentation on this site > > > http://andesengineering.com/Producer/Doxygen/html/classProducer_1_1RenderSur > face.html > > > > There is also a tutorial on Producer on the link > > http://andesengineering.com/Producer/Tutorial/index.html > > > > I hope this answer your query.If not please let me know i will send you > > a code snippet on the same. > > best regards > > RJ > > > > > > On Mon, 2007-04-02 at 17:29 +0000, [EMAIL PROTECTED] wrote: > > > Hi, > > > > > > When using Producer to set up a default window, is it possible to > specify > > > parameters that the window should have upon creation? I know that I > can > > > specify my own window to use, but unfortunately, the 3rd party tool > that I > > > am using in conjunction with OSG isn't set up to do that easily. > > > > > > Thanks, > > > Brian > > > _______________________________________________ > > > 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/ > > > > > > > > _______________________________________________ > 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/
