Results 1 to 2 of 2

Thread: I am wondering how to set the form's picture to what the desktop wallpaper is?

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2007
    Posts
    41

    I am wondering how to set the form's picture to what the desktop wallpaper is?

    I am wondering how to set the form's picture to what the desktop wallpaper is?

  2. #2
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: I am wondering how to set the form's picture to what the desktop wallpaper is?

    This one
    VB Code:
    1. Option Explicit
    2. Private Declare Function PaintDesktop Lib "USER32" (ByVal HDC As Long) As Long
    3. 'Creates the desktop background as your form background
    4. Private Sub Form_Paint()
    5.     PaintDesktop Me.HDC
    6. End Sub
    Please mark you thread resolved using the Thread Tools as shown

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width