CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Location
    Massachussetts
    Posts
    2

    CListCtrl and ON_WM_RBUTTONUP

    I've derived a class from CListCtrl and added a ON_WM_RBUTTONUP handler. Problem is it only gets called if I double-right-mouse-button-click. Any ideas? I'm trying to implement a context sensitive menu for the control.
    Thanks,
    David Saulnier


  2. #2
    Join Date
    May 1999
    Location
    Seattle, WA USA
    Posts
    423

    Re: CListCtrl and ON_WM_RBUTTONUP

    the list control has notify reflect messages
    NM_RCLICK
    NM_CLICK

    that get sent instead of WM_ON_RBUTTONUP & WM_ON_LBUTTONUP. Handle these messages instead.

    --michael


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

Featured