Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
I have a WS_EX_CONTEXTHELP extended style property set on my property sheet. It basically sets the question mark button along with the close button (? X) at the right end of the dialog’s title bar in order to enable the context sensitive help feature for that property page. The property page consists of many different controls like buttons, check boxes, combo boxes, and a spread sheet. The spreadsheet is software that I bought from a different company. I can use different functionalities of that spreadsheet to set different things on it, and it is compatible with visual c++.

The problem is that my OnHelpInfo(HELPINFO* pHelpInfo) function is not getting triggered once I click the spreadsheet after selecting the context sensistive icon. That function gets triggered for the all the other controls(buttons, check boxes and combo boxes) except the spreadsheet in my property page dialog after selecting the context sensistive question mark icon. For the spreadsheet it does not call the OnHelpInfo function that I have in my property page class, but calls the OnHelpInfo function in wincore.cpp

What I want to do is to turn on the text tip feature for the spreadsheet only when that context feature has been clicked( that is after clicking the ? button on the title bar) and turn it off after the feature is done, but to implement that I have to trigger that OnHelpInfo(HELPINFO* pHelpInfo) function which will process that info.

I would like to know what do I have to do in order to trigger it, once the spreadsheet is clicked after selecting the question mark context sensitive icon from the top.

I already have 0N_WM_HELPINFO( ) in my message map which triggers that function for all the controls except the spread sheet. Any help on this will be appreciated. Thanks.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900