Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Owner Drawn Menu

Owner Drawn Menu

Scheduled Pinned Locked Moved C / C++ / MFC
c++csharpvisual-studiographicsregex
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    ClickHeRe
    wrote on last edited by
    #1

    Ok here is the image so you can see the problems related to the questions: Image 1- I use this to draw the Check in the menu DrawFrameControl(lpdis->hDC,&rcCheck,DFC_MENU,DFCS_MENUCHECK | DFCS_TRANSPARENT); But as you can see I can't have the background color the same as the side bar. 2 - The Submenu Arrow is always drawn, is there a way to prevent windows from drawing it and I would use the same function as the check mark for that too. 3 - The menu Window has a sort of border which match's windows colors, Is there a way that I could paint this border another color to make the menu look like a flat one. Using Win32 API, no MFC ATL or WTL. Using Visual Studio .NET 2003, Windows XP SP1 If you need more code or other stuff to help, just say so. Thank You for any replies David :-D

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups