how to call a function after Form_Load

  • Thread starter Thread starter Cheng
  • Start date Start date
C

Cheng

hi
i have written a function that can paint some graphic on
a windows from, But how to call that function after the
windows from is loaded.

(it mean that the windows from will show on the screen
first, and then the function start to show graphic)

thank you :P
 
Cheng,

There may be better ways but I would, depending on the timing you're looking
for, either use OnPaint or use a timer.

Dale
 
Depending on what you are actually trying to do, it would probably be best
to make the paint method call from inside the "overriden" OnPaint method of
the Form?
 
Back
Top