Solved

Window refresh after ctrl-alt-delete

Posted on 2008-10-24
2
366 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
ID: 22800004
0
 

Author Closing Comment

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

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

772 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