Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Canvas problem

TadeKTadeK Member Posts: 4
I am using Canvas to draw some graphics, but when i minimize my application and I restore it the things i've drawn disappears.
So happens also when other window covers my form.
It's very annoying, what should I do ?

Comments

  • luckyboyluckyboy Member Posts: 105
    try using a timer too update your form regularly
    there must be a function called
    Form1->Update();
    or
    Form1->UpdateForm();
    some thing like that
    Mohammad Nasim
  • Denny_BDenny_B Member Posts: 70
    : try using a timer too update your form regularly
    : there must be a function called
    : Form1->Update();
    : or
    : Form1->UpdateForm();
    : some thing like that
    : Mohammad Nasim

    Or you can put your drawing stuff in the OnPaint event. (It works for me.)
Sign In or Register to comment.