How do I suppress a textbox controls cut/copy/paste popup me

Forums for specific tips, techniques and example code
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

How do I suppress a textbox controls cut/copy/paste popup me

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:23 pm

by Denise Spiers >> Tue, 4 Apr 2000 0:45:38 GMT

On right mouseUp of a textbox I am displaying a form, the problem I have is that the windows popup menu is also displayed. It does not get overridden by reimplementing any or all of the mouse events. Attempts made to detect the WM_CONTEXTMENU message have been unsuccessfull. In MSDN there is a VB example of suppressing this which alters the GWL_WNDPROC, but I do not know how to specify a method by its address.

Have you suppressed this popup before ?
If so, could you please let me know how
If not, do you have any ideas on how this could be done ?

Thanks,

Denise.

Return to “Tips and Techniques”

Who is online

Users browsing this forum: No registered users and 35 guests

cron