Windows SDL mouse area

Hello SDL,

Here’s something weird.

I create a SDL window with some clickable stuff in it and intercept
mouse clicks. Before clicking anything, or just after gaining focus
(if I alt-tab away and back again), the windows title bar is
dragable with the mouse (white windows cursor). After clicking
within the SDL Screen, the title bar isn’t dragable anymore (black
SDL cursor) and clicks in that area are actually sent to the SDL
application.

Any ideas?–
Best regards,
Uplink mailto:@Uplink

Hello SDL,

Here’s something weird.

I create a SDL window with some clickable stuff in it and intercept
mouse clicks. Before clicking anything, or just after gaining focus
(if I alt-tab away and back again), the windows title bar is
dragable with the mouse (white windows cursor). After clicking
within the SDL Screen, the title bar isn’t dragable anymore (black
SDL cursor) and clicks in that area are actually sent to the SDL
application.

Any ideas?

DirectX has always done that to my knowledge under certain settings.On Sep 14, 2004, at 5:16 PM, Uplink wrote:


Best regards,
Uplink mailto:advantis at gmx.net


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Hello SDL,

Here’s something weird.

I create a SDL window with some clickable stuff in it and intercept
mouse clicks. Before clicking anything, or just after gaining focus
(if I alt-tab away and back again), the windows title bar is
dragable with the mouse (white windows cursor). After clicking
within the SDL Screen, the title bar isn’t dragable anymore (black
SDL cursor) and clicks in that area are actually sent to the SDL
application.

That’s very strange. Does it happen with the programs in the test
subdirectory of the SDL source distribution?

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment