[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]] ==== Right-Click context menu (OpenInsight 16-Bit Specific) ==== === At 04 JUL 2002 08:22:25AM Richard Channer wrote: === {{tag>"OpenInsight 16-Bit Specific"}} Reposted - No offers? ------------------------------ Hi All, I have a context menu on an edit table which pops up on right click, and is removed on left click (on a selection, or on a click anywhere else on the desktop). However, it seems I am unable to trap right click again while the menu is up, and have to left click first before I can open a new context menu elsewhere... Anyone know how I can trap a right-click elsewhere on a control (seems to have the same behaviour regardless of control type) while a context menu is up so that I may popup a replacement context menu at the new pointer location? Regards, Richard ---- === At 05 JUL 2002 03:27PM Donald Bakke wrote: === Richard, I'm not at a place where I can view source but I believe this problem occurs when you trap the RightMouseClickDown rather than RightMouseClickUp. dbakke@srpcs.com [url=http://www.srpcs.com]SRP Computer Solutions, Inc.[/url] [img]http://www.srpcs.com/srpicon1.gif[/img] ---- === At 08 JUL 2002 09:32AM Richard Channer wrote: === Thanks for your help Don but I cannot get that to work. My control is an edit table so I have to qualify a 528 and check wparam on WINMSG to see what happened. The only two wparam codes that seem to work are 513 (left button down) and 516 (right button down) - nothing else gets trapped... or does it...? Richard ---- === At 16 JUL 2002 06:16AM Marc Radley wrote: === Hi Richard I am trying to create a popup context menu also. I have used context menu winMsg 0x007B instead of right click. Would you be prepared to share your code for menu popup. Have you considered creating a hidden window as the owner of the popup menu which can then close via inactivated event. [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=FB45AE089C9CF96B85256BEC0043F8C7|View this thread on the forum...]]