Author | Message | Time |
---|---|---|
UserLoser | A user can change the background color of a window anytime they wish, upon command, the program calls SetBkColor to change the color of the window. This works, however, you have to minimize then bring back up the window and the color will change. I tried RedrawWindow, UpdateColors, UpdateWindow, everything I can think of to do without requiring a minimize and failed. How to accomplish this efficiently? | October 8, 2006, 8:14 PM |
Myndfyr | Have you tried Invalidate()? | October 8, 2006, 8:47 PM |
UserLoser | [quote author=MyndFyre[vL] link=topic=15841.msg159572#msg159572 date=1160340433] Have you tried Invalidate()? [/quote] Hmm, InvalidateRect*, and yes it is working thank you. | October 9, 2006, 4:13 AM |
Myndfyr | Ahh that's it! I couldn't find it. No problem! | October 9, 2006, 4:47 AM |