paint over controls in onform event?

  • Thread starter Thread starter Al
  • Start date Start date
A

Al

How can I paint over the top of controls in the form's onpaint event.

It seems that the controls are drawn after the onpaint event which then
covers what I've drawn, is there a default paint function I can call (like
the base.onpaint() for controls)?

TIA

Alan
 
As far as I know, each control on the form have a Paint event. First, the
form's Paint event is called, then the Paint event is raised for each
control. So that's right, there are stuff paint over what you've drawn.
(this might not be 100% right since I haven't worked with this)

Etienne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top