Add question mark to title bar

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi guys,

I'm working with a small Win App (.NET 2.0, C#) and I was wondering:

Is there a way to add the typical question mark to the title bar of my app,
and then link that question mark to an "About" box? (no help)

I've been "googling" it but didn't find the solution...

Thanks a lot.
 
Carlos Sosa Albert said:
I'm working with a small Win App (.NET 2.0, C#) and I was wondering:

Is there a way to add the typical question mark to the title bar of my
app,
and then link that question mark to an "About" box? (no help)

Set the form's 'HelpButton' property to 'True' and its 'MaximizeButton' and
'MinimizeButton' properties to 'False'.
 
Thanks Herfried! That worked like a charm.

And do you happen to know how can I link that question mark to an specific
action (instead of help)?
 
Carlos Sosa Albert said:
And do you happen to know how can I link that question mark to an specific
action (instead of help)?

Maybe listening for 'WM_SYSCOMMAND' + 'SC_CONTEXTHELP' in the form's
'WndProc' will do the trick.
 
Back
Top