[osg-submissions] GraphicsWindowWin32 bug: cursor is not set properly

Thibault Genessay tibogens at gmail.com
Thu May 29 23:22:02 PDT 2008


Hi Robert

On Wed, May 28, 2008 at 2:44 PM, Robert Osfield
<robert.osfield at gmail.com> wrote:
> Hi Thibault,
>
> I've merged your fix and checked it into SVN.  The code looks like it
> should be safe to be called before or after the window is created and
> make current so I've merged it, but I'd like to raise the query - do
> you think it'll be safe to call before/after the window has been
> created/made current?

I have ested the code before the window is realized and it
worked too: the cursor is set when the window is initially shown. MSDN
do not specify that this call can fail anyway, so I guess we don't
have to check for the GraphicsWindow being realized or not. The cursor
is not related to the OpenGL context so there should be no influence
at all of the window being current or not.

Thibault


More information about the osg-submissions mailing list