Re: Hook system mouse down?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I am building my own Context Menu. I was working on the logic to hide the
menus when a user clicks somewhere outside of the popup menus.
I seem to have the menu working finally. This is the only low level API call
I have in all the code for the project. I hook before showing, then unhook
on the first instance of Mouse Down event outside the menus. I don't think
there is another way.

Thanks, Everyone

Schneider

"Jialiang Ge [MSFT]" <jialge@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:$J93DzBrIHA.2168@xxxxxxxxxxxxxxxxxxxxxxxxx
Hello,

Sorry for my delayed response. I was sick and stayed at home yesterday.

I notice you use a 64bit system. As far as I know, the way 64bit debugging
works in Visual Studio is by doing local remote debugging, which uses a
different version of msvsmon from the real remote debugging. Without an
event log, I cannot tell the exact reason for the stop of msvsmon on your
side. But I know if msvsmon stops, we will receive the error "The
Miscrosoft Visual Studio Remote Debugging Monitor has been closed on the
remote machine.". Restarting VS or repairing VS installation can resume
msvsmon.

Any samples related to the menu would be a plus also.

Schneider, I want to win the plus. Would you let me know the type of
Context Menu you want to disable? Is it a shell (windows explorer) context
menu? Would you give me more background information about the task?

Thanks,
Jialiang Ge (jialge@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support

=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx

This posting is provided "AS IS" with no warranties, and confers no
rights.
=================================================



.



Relevant Pages

  • Re: OT: Win 7... coming unpinned
    ... jump-lists and context menus slightly inconsistent. ... Wording, capitalization and icons are different. ... Research shows that making changes in looks from one context to another ...
    (comp.sys.mac.advocacy)
  • Re: Strange case of the disappearing menus
    ... The toolbar vanishes too. ... > Autotext control to the Text/Fields menu. ... some shortcut menus have placeholders ... and are modified during run-time to fit the context. ...
    (microsoft.public.mac.office.word)
  • Re: OT: Win 7... coming unpinned
    ... Context menus have short commands, and jump lists have ... but even it if it were it is gratuitously inconsistent to ...
    (comp.sys.mac.advocacy)
  • Re: OT: Win 7... coming unpinned
    ... that the menus look different, but I have no problem with that (for reasons ... Surely that's the same context. ... It adds the phrase "this program" and the icon when the icon you got the ...
    (comp.sys.mac.advocacy)