|
-
Sep 15th, 2014, 09:03 PM
#1
[RESOLVED] Modify right-click context menu in standard controls
So I haven't been able to find any solutions in the small number of threads from years back addressing it, so I'll give it a go again.
I want to modify, not replace, the standard context menu that pops up in edit controls (textbox, combobox edit). Would like to add my own items to it just like the standard GetSystemMenu/AppendMenu functionality for the title bar's context menu.
Now obviously the first thought is to simply intercept WM_CONTEXTMENU and substitute my own menu replicating the functionality... however modern Windows has a number of options relating to Unicode, and since I've spent quite a deal of time adding basic unicode support, these options need to be retained. The functions in question are pictured below:

So I suppose the question could also be, how do I implement right to left reading order, open IME, and reconversion (not even sure what that is). If that's possible, replacing the menu with my own would then be a viable alternative. The control and form are already subclassed (see tons of 'well, youd have to subclass it...' comments like that's a reason to give up and do it another way).
Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|