RE: [GD-Windows] Windows paints my window!
Brought to you by:
vexxed72
From: Steve L. <st...@mi...> - 2002-09-09 18:01:49
|
This has always been the case. You must pump messages, USER will paint your client area white if you don't. The following is purely a theory about the behaviour change. When fullscreeen, previously you might have switched to the non-GDI surface, so when windows paints it white you wouldn't see it. Maybe now you have flipped to the surface that GDI knows about and you're seeing the white paint. Cheers, Steve Steve Lacey - Chief Code Wrangler - ironWorks Entertainment -----Original Message----- From: Javier Arevalo [mailto:ja...@py...]=20 Sent: Monday, September 09, 2002 9:44 AM To: GDWindows Subject: [GD-Windows] Windows paints my window! Hi! During long load times (not so long actually, but hey) Windows sometimes seems to decide that the game's window needs repainting and erasing. The app is not responding to messages because it's busy loading stuff. I thought that setting the hbrBackground of the WNDCLASS struct to NULL was enough to prevent this, but it still paints the window white. This only happens when the game runs in fullscreen mode, never in the windowed mode we use for development. Even funnier is that it only started happening a few days ago, but we have been unable to find any changes we might have done to the Window or DirectX handling code for the past _months_. Any ideas where to look at? Even the slightest trace of a pointer will be greatly appreciated. Thanks, Javier Arevalo Pyro Studios ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=3Dsourceforge1&refcode1=3Dvs3390 _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3D555 |