Private Declare Function SendMessage _
Lib "user32" Alias "SendMessageA" _
(ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Private Const WM_PASTE = &H302
I am glad I was able to help you. I understand this code as manipulation with the memory via the Clipboard object. First, clear it to prepare the room, second - send some data nto the memory. In this case, we send some image so we let it know to PC with the vbCFBitmap parameter of the LoadPicture method. Finally, we utilize common API SendMessage function to PASTE the content of the Clipboard into the box. It is my broad understanding. Somebody would probably better explain it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.