[SDL] Not Response on Window Mode (on WindowsXP)
9tawan at gmail.com
Fri Nov 11 12:18:43 PST 2005
Hello all, I'm newbie here and I have some problem.
First, I google and found this message :-
It show the same problem that i faced, but no solution there.
My problem is , in Window Mode, application seems like it does not
response to mouse event (it does not generate mouse event when mouse is
clicked) even if
SDL_WM_GrabInput is called. And also , after some click or draging the
title bar, the window become white and "Not Responding" is shown on
title (but it is still draw and get input from keyboard).
This problem is not found on Full-Screen Mode.
Here is the rendering code :-
int UpdateScreen(void* data)
static long exframe = SDL_GetTicks();
//Delay each frame for approx 33ms
//Start Render new Frame
long now = SDL_GetTicks();
exframe = now;
//Clear Frame Buffer
//Draw Text to Screen
//Flip Frame Buffer
//Finish Render Frame
working on the separated Thread.
Using SDL 1.2.9 with SDL_TTF and SDL_image, GCC 3.4.2 (MINGW), WindowsXP
Pro SP2 and DirectX9.0c.
More information about the SDL