VB6: Suppressing default context menu in textbox
Posted on 2005-03-19
Hi, i am having a few problems with the Textbox control.
I want to disable the default context menu in the control WITHOUT displaying one of my own in.
I have tried looking on google and many examples, ones that do not include a menu do not seem to work.
I have the following alternatives:
1) Change every TextBox to RichTextBox control, which means changing roughly 200 controls.
2) Display this menu somewhere off screen (don't know whether this is possible as a pop up menu requires interaction before becoming invisible)
3) Using Subclassing, which does not seem to work.
Are there any other alternatives that i haven't tried, or any code that you have that will solve this problem
Thanks in advance