How to disable menuitem for textbox control built-in contextmenu.

G

Guest

Menu "Paste" in textbox control's built-in contextmenu will be automaticaly
enabled while having text in clipboard. I want to disable the menu when text
in clipboard didn't meet my format.

I knew how to filter paste message in WndProc. But I think disable menu is
more sense.

Thanks for any response.
 
L

Lee Moody

One way I can think of is to create your own ContextMenu
for your textboxes then you can modify it at will.

-Lee
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top