Member_2_921743
asked on
VB6 - Disable right click context menu
I have a quick question, how do I disable the right click context menu?
I already have a custom made menu for some of my textboxes already, but I want the others to be disabled. When I say disabled, I don't mean the custom menu, I mean the main Windows menu (Cut, Copy, Paste, Select All). I just want a plain text box with no other functionality.
Thanks.
I already have a custom made menu for some of my textboxes already, but I want the others to be disabled. When I say disabled, I don't mean the custom menu, I mean the main Windows menu (Cut, Copy, Paste, Select All). I just want a plain text box with no other functionality.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
??
>>so I need to look into it further to understand it
They never "looked" into it to understand it, which isn't my fault. The proposed solution IS the answer which I was nice enough to provide for ONLY 50 points. If you (the moderator) do not think I provided an answer, atleast provide NO refund.
>>so I need to look into it further to understand it
They never "looked" into it to understand it, which isn't my fault. The proposed solution IS the answer which I was nice enough to provide for ONLY 50 points. If you (the moderator) do not think I provided an answer, atleast provide NO refund.
ASKER
Sorry about that zzz and idle. Shouldn't have that little points in the first place. My fault for not understanding it either.
I'll accept both answers.
Thanks.
I'll accept both answers.
Thanks.
ASKER
Does it prevent the user from copying and pasting text inside the box also? I want to make sure that both are disabled so the user can't copy or paste using the context menu or the shortcut keys (ctrl+c, ctrl+x, ctrl+v, etc.).
zzzz...I'm lost in that code LOL. I'm still a beginner with the Windows APIs, so I need to look into it further to understand it.