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

    How to catch vbMsgBoxHelpButton in the Message Box

    Hello there,
    can anyone tell me how can I catch the Help Button on a message box.MSDN says MsgBox does not return this value,
    Thankx in advance.....


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: How to catch vbMsgBoxHelpButton in the Message Box

    from the docs for MEssagebox API:
    ". When the user clicks the Help button or presses F1, the system sends a WM_HELP message to the owner."
    Thus, you have to subclass the owner window and trap the WM_HELP message.


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