Hello Gerrit,
"Gerrit Voß" <[email protected]> schrieb im
Newsbeitrag news:[email protected]...
>
> that still is a weak point in the code (and copied from some other
> online tutorial). It is still on my todo list to recheck it or at least
> make it more robust. One question though, because you are not the first
> one for which it fails, does the window class you register to create
> your window (the one behind getHWND()) have the CS_OWNDC style bit
> set ?. That one missing was usually the cause of problems.
>
After setting the window class style to CS_OWNDC my viewer app runs fine.
However, at http://drop.io/OpenSG_RenderEngine you can find a slightly
modified version of OSGWIN32Window.cpp which formally handles the dc more
correctly.
Best,
Johannes
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users