forcing to paint

B

benben

How to force a control to paint itself. I used to send a WM_PAINT message in
Win32 days but I can't find the equivalent of SendMessage in the .Net
Framework.

I would like to avoid calling any Win32 functions in this case.

ben
 
H

Herfried K. Wagner [MVP]

benben said:
How to force a control to paint itself. I used to send a WM_PAINT message
in
Win32 days but I can't find the equivalent of SendMessage in the .Net
Framework.

'Control.Invalidate', 'Control.Refresh', 'Control.Update'.
 

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

Top