I have been bothered by an annoying bug for some time now: When my fullscreen window is closed and the desktop mode is restored, the application taskbar icon does not disappear until I press it.
This only happens under Win98 and NT4 (perhaps 95 and/or ME too?). Under Windows 2000 I have no such problems.
I suspect this is a bug in Windows that can be worked around somehow, for instance by changing the order in which resources are freed and the video mode is restored.
Here is how I do it:
- Delete GL rendering context
- Release device context (DC)
- Destroy window
- Unregister window class
Perhaps I should change the order somehow, and wait for some kind of notification??