AHD
asked on
How Can I handle the Help button in propertySheet Dialog?
I have created peopertysheet dialog with Ok, Cancel, Help button I need to handle the help button ,How can I do That?
Open the CLASS WIZARD and select the ID for the HELP button. Add a handler for it.
ASKER
There is no ID for the HELP button, this is button created by MFC framework!!!
Check the CLASS that you have selected in the Class Wizard. I needs to be the class derived from CPropertySheet. Whatever you named it, maybe CMyPropertySheet or something similar.
ASKER
I said before no ID for the HELP button.
Sorry, I guess I Can't help.
Hi,
I don't think i've got exactly what you need, but try this:
right click on the help button and choose class wizard. Add a function to the ID that the will be selected automaticly by the class wizard and then you can edit the code for this function(it will be the ID for the help button).
Good luck
I don't think i've got exactly what you need, but try this:
right click on the help button and choose class wizard. Add a function to the ID that the will be selected automaticly by the class wizard and then you can edit the code for this function(it will be the ID for the help button).
Good luck
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
hi,
Open the CLASS WIZARD for application class and select the winHelp ID for the HELP button. Add a handler for it.
Then if u click on the help button on a page then control will come to here
Hope it will helps
Open the CLASS WIZARD for application class and select the winHelp ID for the HELP button. Add a handler for it.
Then if u click on the help button on a page then control will come to here
Hope it will helps
Hi Believe override the OnHelpInfo function from the class wizard that will solve your problem.
message is WM_HELPINFO
message is WM_HELPINFO