How do I suppress a textbox controls cut/copy/paste popup me
Posted: 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.
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.