?
Solved

Window refresh after ctrl-alt-delete

Posted on 2008-10-24
2
Medium Priority
?
370 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
Werrock earned 1000 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

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

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

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

800 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