Results 1 to 9 of 9

Thread: Changing Color of API-Created Context Menu

Threaded View

  1. #1

    Thread Starter
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Arrow Changing Color of API-Created Context Menu

    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 !

    Attached Images Attached Images  
    Attached Files Attached Files
    Last edited by iPrank; Dec 16th, 2005 at 04:52 PM.
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width