Solved

Window refresh after ctrl-alt-delete

Posted on 2008-10-24
2
365 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
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…
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…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

867 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