I am developing an application (win32 native api, C C++) with a bitmap background and edit boxes, buttons, treeviews etc. The default background of all such widgets is white, and the bitmap background is black. The problem I am having is, for example, with the treeview, when I hit ctrl-alt-delete for task manager, then cancel out, the treeview does not repaint the background. I first noticed this when I stepped away from the app and the screen saver came up.
Under all other circumstances, the application refreshes itself. How does one guarantee a repaint under these circumstances?