Re: Writing a right-button popup menu

From: Gale Green (gale_at_databeat.fsnet.co.uk)
Date: 08/15/04


Date: Sun, 15 Aug 2004 16:35:20 +0100

On Sat, 14 Aug 2004 21:42:16 -0400, "Jeff Johnson" <i.get@enough.spam>
wrote:

> Declare the API function ReleaseCapture() and call it when you detect a
> right mouse click. Personally, I think the best way is to subclass the text
> box and eat the WM_CONTEXTMENU message, but the above suggestion will work
> as well. You'll probably also get the "pure VB" suggestion of disabling and
> enabling the text box, but I think that's just cheesy and won't suggest it.
> Oh, wait...damn!

A ripe Roquefort, a glass of Chateau Margaux, and eating
WM_CONTEXTMENU. What more could a man ask on a Sunday afternoon. <g>

Gale.