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

Robert Osfield robert.osfield at gmail.com
Fri May 30 00:56:02 PDT 2008


Thanks for the clarification/testing.  Looks like case is closed :-)

On Fri, May 30, 2008 at 7:22 AM, Thibault Genessay <tibogens at gmail.com> wrote:
> 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
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>


More information about the osg-submissions mailing list