CodeItBetter Programming Another VB Programming Blog

How to draw the Wallpaper on form

Posted on January 5, 2009
1
2
3
4
5
6
7
8
9
10
11
'Graphics - How to draw the Wallpaper on form

Option Explicit
 
'Set AutoRedraw propery of the form to True.

Declare Function PaintDesktop Lib "user32" (ByVal hdc As Long) As Long
 
Private Sub Form_Load()
    Call PaintDesktop(Form1.hdc)
End Sub
Filed under: Graphics Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.