Click to See Complete Forum and Search --> : "?" button on dialog box


Deepak Dureja
October 11th, 1999, 01:36 AM
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

simonr
October 12th, 1999, 06:19 AM
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.