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

    "?" button on dialog box

    Hi,
    How can I get the message that "?" button on dialog title has been clicked and I do whatever I want. I don't want to use it as context sensitive help. I want to display window when user clicks the "?" button.
    Thanx in advance
    Deepak


  2. #2
    Join Date
    Oct 1999
    Location
    UK
    Posts
    81

    Re: "?" button on dialog box

    Hi,

    I'm not surprised you had trouble with this as it seems completely undocumented (at least in my version of MS Dev), but with the help of Spy++ I discovered that this button actually sends a WM_SYS_COMMAND message with the id SC_CONTEXTHELP which you can intercept in the usual way!

    Cheers,
    Simon.



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