CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Context Menu

  1. #1
    Join Date
    Sep 1999
    Location
    Bangalore, India
    Posts
    21

    Context Menu

    When I right click on a maskedit box, windows default popup menu (Cut/Copy/Paste/Undo/Select All) is displayed. I want to disablel this popup menu. I know that this can be done if I invoke another user made dummy menu. But I don't want any kind of menus.

    Software Engineer
    Bangalore

  2. #2
    Join Date
    Sep 1999
    Location
    Bangalore, India
    Posts
    21

    Re: Context Menu

    Use the SetWindowLong to trap the events and in u'r function see for WM_RightButtonDn to take any action.


    Software Engineer
    Bangalore

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