Re: help in CPropertySheet wizard
WM_HELP is the windows message that is sent to a window when the F1 key is
pressed.
ID_HELP is a MFC specific resource id definition from microsoft, much like
IDOK, that can be mapped to a menu item or button.
I believe there are detailed descriptions of each one of those in MSDN.
AliR.
"William Dauchy" <wdauchy@gmail.com> wrote in message
news:f38c232f-7f9b-4566-b9b4-e1753764eceb@m36g2000hse.googlegroups.com...
On Jun 6, 4:12 pm, "AliR \(VC++ MVP\)" <A...@online.nospam> wrote:
I'm not sure what overloading CPropertySheet means.
But you have to create CPropertySheet derived class, and catch it there.
yes ok; vocabulary mistake.
I've put ON_MESSAGE(WM_HELP, &Wizard::OnHelpMessage)
with LRESULT Wizard::OnHelpMessage(WPARAM wparam, LPARAM lparam)
and it works.
What I find strange, is in the manual of CWinApp::OnHelp (http://
msdn.microsoft.com/en-us/library/8874ckw0(VS.80).aspx ) it's written
"Usually you will also add an accelerator-key entry for the F1 key.".
So I thought first I just have to put ON_COMMAND( ID_HELP, OnHelp ).
But it didn't work. So what is the difference between WM_HELP and
ID_HELP?
Regards,
--
William