MSFN Forums: TrackPopupMenu problem... please help - MSFN Forums

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

TrackPopupMenu problem... please help Rate Topic: -----

#1 User is offline   raduking 

  • RegTweak XP
  • PipPip
  • Group: Members
  • Posts: 188
  • Joined: 30-July 03
  • Location:Cluj-Napoca

Post icon  Posted 01 December 2004 - 01:45 AM

I would like to ask a question about mouse hooking vs TrackPopupMenu...
it doesn't seem to work when you hook the:

WM_MOUSEMOVE
WM_RBUTTONDOWN
WM_RBUTTONUP
WM_CONTEXTMENU

messages to make a new global context menu.
when I rightclick anywhere on the desktop the popup menu appears but my application receives no further messages. It only disapears when I click on my window... and I would like it to disapear when I click anywhere on the desktop...
(my app has a very small window on the corner just for testing)

my application receives all messages above when the popup menu is not active, wherever I move the mouse or wherever I click... but as soon as I display the menu all messages get stuck... please help.

Ad Bot #1 User is online   Sponsor Icon

  • Advert Bot
  • Group: Ad Bots
  • Posts: 0
  • Joined: --

Warn Status

Warning level: 0%

0
  • +
  • -
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users