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. Double right click

Double right click

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorial
2 Posts 2 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.
  • J Offline
    J Offline
    joy007
    wrote on last edited by
    #1

    ;)Any one can show me step wise how to implement a double right click on a specified item in vc++(in single document MFC application).

    Z 1 Reply Last reply
    0
    • J joy007

      ;)Any one can show me step wise how to implement a double right click on a specified item in vc++(in single document MFC application).

      Z Offline
      Z Offline
      zhang800605
      wrote on last edited by
      #2

      simple wise : press "ctrl + w" into MFC ClassWizard , selected the project and class name , objects id which you will added the message in Message Maps tab . select WM_RBUTTONDBLCLK and press add Function . OR , write code in .h /////////////////////..... afx_msg void OnRButtonDblClk(UINT nFlags, CPoint point); ......................... //}}AFX_MSG DECLARE_MESSAGE_MAP() in cpp ........... ON_WM_RBUTTONDBLCLK() //}}AFX_MSG_MAP END_MESSAGE_MAP() sorry for my poor english

      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