In the attatched project I've created a small application using Moeur's HookControl OCX. The application can hook into another application's RichTextBox context menu and can add new menu items (non-Ownerdrawn).
I've found RhinoBull's code that changes color of menuitems of main menu bar. But I can not understand how to make it compatible with my app.
If possible, I don't want to add ownerdrawn menus. That will be a overkill for my project.
Is there any way to change color of Only My Format Menu and it's submenus ?
Note: In the zip file, there are 2 projects. Please first compile and run TestExe from the compiled exe.
Then run the ColorMenu project and click on the Hook button.
Now right click on the RTB of TestExe.exe
Thanks in advance !
![]()





Reply With Quote