|
-
May 8th, 2002, 09:44 PM
#1
Thread Starter
New Member
How to capture the mouse
I just need to capture the mouse position, but with the event schema of windows, because i couldnt find a way to know when a column in mshflexgrid is resized, i could know when the user tries to resize it by getting the mouse event from windows, by using the message system, but it is still confusing how to get the info from windows.
if someone is really interesed about events and how to handle them with vb take a look at this place:
http://www.merrioncomputing.com/Download/index.htm
there is some source code, around 72 classes than handle around 1500 APIs, but i do not need all of them, and cannot understand fully how to use it.
Thanks for any info.
-
May 9th, 2002, 10:31 AM
#2
Addicted Member
Try this.
Public Declare Function GetCursorPos Lib "user32" Alias "GetCursorPos" (lpPoint As POINTAPI) As Long
That which does not kill us, only makes us stronger. 
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
|