Solved

Window refresh after ctrl-alt-delete

Posted on 2008-10-24
2
362 Views
Last Modified: 2013-11-25
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?
0
Comment
Question by:monstro281
2 Comments
 
LVL 6

Accepted Solution

by:
Werrock earned 250 total points
Comment Utility
0
 

Author Closing Comment

by:monstro281
Comment Utility
Thanks.  I simply added "| WS_CLIPSIBLINGS | WS_CLIPCHILDREN "to my Createwindow statement and the problem went away...
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now