Question:

C# GDI+ problems please help.?

by  |  earlier

0 LIKES UnLike

On my form i use GDI+ to draw things, but if another windows goes over my form, my form is minimized, or a message box shows up what i drew on my form is erased how can i solve this?

 Tags:

   Report

2 ANSWERS


  1. You need to force a redraw of your form when it becomes the active window, or when it's window state changes. Handle those events and then call your form's Invalidate() method to force a redraw.


  2. Stop using GDI and start using the new WPF. It's faster and way better.

    http://en.wikipedia.org/wiki/Windows_Pre...

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.