|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Add question mark to title barHi 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 "Carlos Sosa Albert" <betun (arroba) hotmail> schrieb: Set the form's 'HelpButton' property to 'True' and its 'MaximizeButton' and > 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) 'MinimizeButton' properties to 'False'. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> 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)? -- Show quote____________________________ Carlos Sosa Albert "Herfried K. Wagner [MVP]" wrote: > "Carlos Sosa Albert" <betun (arroba) hotmail> schrieb: > > 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'. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://dotnet.mvps.org/dotnet/faqs/> > > "Carlos Sosa Albert" <betun (arroba) hotmail> schrieb: Maybe listening for 'WM_SYSCOMMAND' + 'SC_CONTEXTHELP' in the form's > And do you happen to know how can I link that question mark to an specific > action (instead of help)? 'WndProc' will do the trick. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> Thanks a lot, Herfried!
-- Show quote____________________________ Carlos Sosa Albert "Herfried K. Wagner [MVP]" wrote: > "Carlos Sosa Albert" <betun (arroba) hotmail> schrieb: > > 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. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://dotnet.mvps.org/dotnet/faqs/> > > |
|||||||||||||||||||||||