Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 283
  • Last Modified:

OnPaint erasing background when I don't want it to

I have an MDI application and basically, when I Invalidate(FALSE); a child window, it'll still erase the background to white.  Any ideas how to fix this?  Want me to paste some code?

~Sean
0
junk5
Asked:
junk5
1 Solution
 
KurtVonCommented:
Did you override OnEraseBackgnd to return TRUE without calling the base function?
0
 
junk5Author Commented:
Thanks bud :-D

~Sean
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now