[osg-users] Problems with Overriding Tooltips on Windows

Jason Beverage jasonbeverage at gmail.com
Wed Oct 3 10:12:33 PDT 2007


Hi Andre,

I'm actually still using OSG 1.2 with Producer, so anything in osgViewer
shouldn't be the issue I'm seeing.  All other windows and menus seem to work
fine.  The only issue I'm seeing this with is ToolTips.  Thanks for your
help!

Jason

On 10/3/07, André Garneau <andre at pixdev.com> wrote:
>
>  Hi Jason,
>
>
>
> When a graphics window (Win32) is created, it is set by default to be at
> the top of the windows Z-order. This is done at line 1629 of
> GraphicsWindowWin32.cpp, i.e.
>
>
>
> if (!::SetWindowPos(_hwnd, *HWND_TOP*, _windowOriginXToRealize,...))
>
>
>
> You might want to check using other values for the second parameter
> (replacing HWND_TOP with either HWND_BOTTOM or HWND_NOTOPMOST) to see if
> it resolves the issue in your application while still allowing the window
> content to be visible relative to other windows.
>
>
>
> André
>
>
>
> *From:* osg-users-bounces at lists.openscenegraph.org [mailto:
> osg-users-bounces at lists.openscenegraph.org] *On Behalf Of *Jason Beverage
> *Sent:* October-03-07 12:23 PM
> *To:* osg users
> *Subject:* [osg-users] Problems with Overriding Tooltips on Windows
>
>
>
> Hi all,
>
> I've had a long standing issue with tooltips on some Windows XP machines
> that we deploy our systems to.  If the tooltip text overlaps the
> OpenSceneGraph window and the OpenSceneGraph window is redrawn, the tooltip
> is cut off and invisible.  I've attached a small image of the problem in our
> application.  The tooltip should say "Import Geospatial Data" but because
> the OpenSceneGraph window (black area) overlaps the tooltip, it is cut off.
>
> This seems to happen on NVidia systems mostly, updating to the latest
> drivers doesn't seem to help at all.  Turning off Hardware Acceleration
> completely in Windows causes the tooltips to work correctly, but my
> application runs terribly slow (obviously:)) without OpenGL acceleration.
> It should be noted as well that this occurs in any OpenGL application I've
> tried, not just OpenSceneGraph.  I was hoping someone here had the same
> experience and found some workaround.
>
> Thanks!
>
> Jason
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071003/476333cc/attachment-0003.htm>


More information about the osg-users mailing list