CodeItBetter Programming Another VB Programming Blog

How to set the desktop background as your form background

Posted on January 5, 2009
1
2
3
4
5
6
7
8
'Forms - How to set the desktop background as your form background
Option Explicit
 
Private Declare Function PaintDesktop Lib "USER32" (ByVal HDC As Long) As Long
 
Private Sub Form_Paint()
    PaintDesktop Me.HDC
End Sub
Filed under: Forms Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.