GetClipBox Function in Visuall Basic

J

Joe

Is there Visual Basic.Net function equivalent to the
Visual C++ GetClipBox()? I will use that function to only
paint the portion of a form displayed on screen. Thanks
 
H

Herfried K. Wagner

Hello,

Joe said:
Is there Visual Basic.Net function equivalent to the
Visual C++ GetClipBox()? I will use that function to only
paint the portion of a form displayed on screen. Thanks

\\\
Private Sub Form1_Paint( _
ByVal sender As Object, _
ByVal e As System.Windows.Forms.PaintEventArgs _
) Handles MyBase.Paint
... e.ClipRectangle ...
End Sub
///

Regards,
Herfried K. Wagner
 

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