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. pop-up menu problem, inside splitter, using doc/view

pop-up menu problem, inside splitter, using doc/view

Scheduled Pinned Locked Moved C / C++ / MFC
help
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.
  • L Offline
    L Offline
    l00p1n6
    wrote on last edited by
    #1

    Im having problem displaying pop-up menu i only get the beginning of a menu and submenus i did screenshoots of that but i cant post them so i'll use ASCII like this: ╔╗ || || || || ╔--------╗ || |submenu| || ╚--------╝ || || ╚╝ (that vertical rectangle loks like border between splitter windows and between it and the submenu is the exact amount of space as it should be for text "menu 3" to fit) where it should be like this: ╔-------╗ |menu 1| |-------| |menu 2| |-------|╔--------╗ |menu 3>|submenu| |-------|╚--------╝ |menu 4| ╚-------╝ first i load menu in CMenu in OnInitialUpdate(): m_popUpMenu.LoadMenu(IDR_POP_UP_MENU); then i use pop up OnRightclick() m_popUpMenu.TrackPopupMenu(TPM_LEFTALIGN, point.x, point.y, this); any help will do thank you

    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