|
-
Jul 12th, 2000, 06:49 AM
#1
Thread Starter
Lively Member
Hiya,
Not that i know of.. but u could simulate this in 2 steps couldn't u???....
#1 MouseDown... set some flag...
#2 MouseUp... reset the flag...
so as long as the flag is set... the button is held down....
cheers
gaurav
[email protected]
" Programming today is a race between software-engineers striving to build bigger and
better idiot-proof programs and the universe trying to produce bigger and better idiots.
So far the universe is winning". :-)
-
Jul 12th, 2000, 12:46 PM
#2
I don't think there is another way. Let's just say...VB needs API to live .
-
Jul 13th, 2000, 04:54 AM
#3
Frenzied Member
Unfortunatley it's a fairly Complecated Situation So I Can't use the Flag Option, Just To Clarify Matthew I know there's no Way in VB, The GetCursorPos API Won't work Either, I'm Looking For An API That Can, I just uses GetCursorPos as it is a Similar API to Get the Mouse Posiion, I need one Like It to Get the Button States, Or any Way at all.
-
Jul 13th, 2000, 06:10 AM
#4
Thread Starter
Lively Member
Sorry mate,
The situation seems to be that u want an event that tells u when Nothings happening!!! kinda tough huh!! so tell me again y can't u use the flags option???
there's always a way...
cheers
Gaurav
[email protected]
" Programming today is a race between software-engineers striving to build bigger and
better idiot-proof programs and the universe trying to produce bigger and better idiots.
So far the universe is winning". :-)
-
Jul 13th, 2000, 06:10 AM
#5
Lively Member
I don't know if this helps but take a look at
http://www.vbaccelerator.com/codelib/hook/vbalhook.htm
I used their example recently , modified it a little to determine when my form is moved in order to move another form simultaneously.
-
Jul 13th, 2000, 07:14 AM
#6
Frenzied Member
I Don't think a Hook would Be too much use, you Say you used one for Simultanious form moving, Would Subclassing Not be better for that, just moving the other window on the WindowPosChanged Message.
But thanks anyway.
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
|