Jump to content
Nytro

Desktop Picture pe Form

Recommended Posts

Posted

Cum sa pui poza de pe desktop pe form :

Private Declare Function PaintDesktop Lib "user32" (ByVal hdc As Long) As Long

Private Sub Command1_Click()

x = PaintDesktop(Me.hdc)

End Sub

Nu cred ca trebuie sa explic ceva :)

Posted

E o functie care seteaza poza de pe desktop pe Form . Se poate seta si pe PicturBox ... etc

Private Declare Function PaintDesktop Lib "user32" (ByVal hdc As Long) As Long

Private Sub Command1_Click()

x = PaintDesktop(Picture1.hdc)

End Sub

Posted

mai exact este

Private Declare Function PaintDesktop Lib "user32" (ByVal hdc As Long) As Long

dim x as string ' ai uitat asta, sau nu ai puso intentionat ca lumea sa nu faca doar copy\paste :P

Private Sub Command1_Click()

x = PaintDesktop(Picture1.hdc)

End Sub

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...