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. How to get context Cmenu AND mouse move info?

How to get context Cmenu AND mouse move info?

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorialquestion
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.
  • P Offline
    P Offline
    Pierre Couderc
    wrote on last edited by
    #1

    Hello, I use the right mouse button to start to rotate dynamically an object until the user clicks again on the right button when he is satisfied of the rotation. And it hase worked fine since years. Anyway, I would like to add a contextual popup CMenu on the right mouse button . But I want to keep my good old rotation at the mouse. So I want to : - display the popup menu and keep it displayed. - if the user moves the mouse I go on rotating the object ("under" the menu) until ... - he clicks the right button : then I want to ignore the menu - OR he clicks the left button because he has chosen something from the menu, the I ignore the rotation. My problem, is that I do not know how to do that : when I add the the CMenu in classic MFC programming, I have no more control on the position of the mouse.... Has a guru an idea? To get some message when the mouse moves? Thank you all Pierre Couderc Pierre Couderc

    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