Link to home
Start Free TrialLog in
Avatar of Mike Tomlinson
Mike TomlinsonFlag for United States of America

asked on

[Left Click] via mouse_event API becomes a [Right Click --> Properties] selecton on Win XP Quick Launch button?

For any experts who are comfortable with heavy API usage...

Take a look at the fine solution I posted here:  *pats self on back*
https://www.experts-exchange.com/questions/21091072/Grid-on-top-of-desktop.html

The app has a small quirk in it that I just can't figure out...

If the app sends a click to a button residing on my XP Quick Launch bar (down on the task bar)...instead of launching the application associated with that button, I instead get the properties dialog for that button as if I had Right clicked on it and selected Properties.

Can anyone else duplicate this problem and if so, shed some light on it?

I am running VB6 on Win XP Pro with all service packs and updates installed.

Regards,

Idle_Mind
SOLUTION
Avatar of Burbble
Burbble
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mike Tomlinson

ASKER

Yes...both configurations produce the same result.

Thank you for taking the time to try it out.

Idle_Mind
it's b/c alt is still pressed down when you issue the click event... toggle it off.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
LOL....    =)

Very nice sleuthing!

I never before realized that holding down Alt and clicking a Quick Launch button brought up its properties dialog.

Thank you bobbit31 for pointing out what is painfully obvious now!

If you comment in these links, I will give you additional points there as well:
https://www.experts-exchange.com/questions/21095453/Left-Click-via-mouse-event-API-becomes-a-Right-Click-Properties-selecton-on-Win-XP-Quick-Launch-button.html
https://www.experts-exchange.com/questions/21098934/Bug-in-mouse-event-API.html

Thanks....I can once more sleep peacefully,

Idle_Mind
lol... good job. Clever trick to bring up the properties dialog, I guess (?).

Thanks for the points, although I don't think I deserve them... I didn't really do anything ;-)

-Burbble
You took the time to read the question, build the project and test it out for me.

Personally, I hate it when I participate constructively in a question but don't get points because I didn't have the "complete" answer.

Thanks again,

Idle_Mind
Oh... See, about that: I didn't compile the whole project, it was just the clickGrid subroutine I tested. That's why it "worked". The ALT+Click thing DOES bring up the properties dialog on Windows Millenium (probably a feature of Internet Explorer 4 and later).

-Burbble