Solved

Window refresh after ctrl-alt-delete

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

695 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