Re: [GD-Windows] handling task switch
Brought to you by:
vexxed72
From: <cas...@ya...> - 2002-02-12 23:53:11
|
Sorry for this message, after sending it I realized it's an OpenGL question only, since in DirectX there is a method of testing and acquiring lost devices and in OpenGL not. So I have to prevent that by releasing the device and reloading it later. Anyway, if somebody has an answer or an experience to share, please send it directly to me. Ignacio Castaño ca...@as... Ignacio Castaño wrote: > Hi again, > I have the code for reloading resources and restarting devices ready, and it > works fine. However, when I run it in response to WM_ACTIVATEAPP, it doesn't > work, and produces a very strange crash. The vc debugger doesn't provide a > stack trace at all, just a invalid call at an unknown dir. Maybe I'm not > using the correct message... where should I handle the task switch? in > WM_ACTIVATE? WM_KILLFOCUS? > > Any hints would be appreciated. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |