CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2022
    Posts
    11

    Message Map on MFC Application

    Hello
    i'd like to add an event handler on a mfc application for the left mouse of the button but i can't find the declaration to add in the MESSAGE_MAP block.
    I can't find the macro list in the API reference, someone could help me?

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,276

    Re: Message Map on MFC Application

    Open the MFC class wizard. Then do Mapping Messages to Functions (choose the WM_LBUTTONDOWN message from the list (tab Messages) and press Add Handler ... button.
    Victor Nijegorodov

  3. #3
    Join Date
    Feb 2022
    Posts
    11

    Re: Message Map on MFC Application

    Thx. Anyway where i could find the full reference of the message map code in the ms documentation?

  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,276

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