|
-
Apr 21st, 2000, 01:32 PM
#1
Thread Starter
New Member
Can anyone tell me how to capture an image of the mouse cursor to place in a picturebox or save as a file?
If you know how please reply to this message.
Thanks
-
Apr 21st, 2000, 04:21 PM
#2
Lively Member
Private Declare Function GetCursor Lib "user32" () As Long
Private Declare Function DrawIcon Lib "user32" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal hIcon As Long) As Long
private sub Form_load()
DrawIcon Picture1.hdc, 0, 0, GetCursor()
savepicture Picture1.image,"file.bmp"
end sub
this should help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|