Context Senstitive Help for a program ?
|
Go4Expert Member
|
|
| 22May2005,12:52 | #1 |
|
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.
|
|
Go4Expert Founder
|
![]() |
| 22May2005,18:28 | #2 |
|
Quote:
As far as I can remember context sensitive help can be achived by passing a parameter to the help file when calling. |
|
Go4Expert Member
|
|
| 22May2005,19:16 | #3 |
|
Can you just give me a example statement.
|
|
Go4Expert Founder
|
![]() |
| 23May2005,10:48 | #4 |
|
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 |

