Path: utzoo!censor!geac!aimed!kasoft!kea From: kea@kasoft.UUCP (Ken Anderson) Newsgroups: comp.windows.ms.programmer Subject: Right Mouse Button + TrackPopupMenu Message-ID: <586cT3w163w@kasoft.UUCP> Date: 28 Nov 90 20:46:27 GMT Organization: ChipTools Inc, Mississauga, Canada. Lines: 17 I've tried every combination I can think of... Here's the problem: SAA/CUA suggests that you leave the Left mouse button for interface things, and use the Right button for your app. So I figure I'll use the RIght mouse to Popup a local menu based on the context of where the mouse is.. Ok. TrackPopupMenu works fine, but it expects the LEFT button to work it. Grrr.... Aha! I use SwapMouseButton and away I go... But no - the Right Button must be released and re-pressed to invoke the menu selector (ie. dragging doesn't work). I've tried PostMessage to fake out a Left/Right button press/release, but nothing works. Anyone know the trick?? -- Ken Anderson, kea@kasoft.UUCP, 416-274-6244 (fax:416-891-2715) ---