How to we provide context sensitive help using win32 api. I did not understand all theat topic ids and stuff in msdn. Is there any examples on the net. I am a .hlp file to which i wanna provide context sensitive help from my project.
A link to MSDN or some quote from the MSDN will also do. As far as I can remember context sensitive help can be achived by passing a parameter to the help file when calling.
Here is what you need to do 1. Make all the Controls that you want a context sensitive Help Id property On 2. WinHelp(pWnd->m_hWnd, AfxGetApp()->m_pszHelpFilePath, HELP_CONTEXTMENU,(DWORD)(LPVOID)m_nHelpIDs); m_nHelpIDs are the IDs of the control Also you need to build the hlp file with the m_nHelpIDs included. Thanks Shabbir Bhimani