On Nov 30, 2007 8:36 PM, Thomas Hruska <[EMAIL PROTECTED]> wrote:

> Windows relies on message handlers BUT OpenGL-based apps. usually have a
> different way of handling messages.  Been a long time since I touched
> the stuff.  You'll probably get more mileage asking in the forums on
> www.gamedev.net.  BTW, the code above seems insufficient to decipher the
> actual problem, but I'm pretty sure you aren't doing it right.  OpenGL
> might be eating the mouse message before your code.

Probably the best option is to find a higher level toolkit like OGRE
or SDL or fltk, all of which integrate GUI and high end graphics
(OpenGL, DirectX) in a much simpler fashion than handling Windows
messages and events.

-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
    If I were to divulge it, it would overturn the world."
               -- Jelaleddin Rumi

Reply via email to