Click to See Complete Forum and Search --> : HTML Help


foxwave
December 31st, 2002, 12:27 AM
The method used in VisualC++6.0 can not be used in VisualC++.NET. Who can give me a sample?

zebbedi
January 21st, 2003, 10:35 AM
I believe this is what you mean. I hope it helps. Basically you just have to ensure you use HtmlHelp from the current namespace such as:

CString szPath("Helpfile.chm::/Welcome.htm");

if( ::HtmlHelp(this->m_hWnd, szPath, H_DISPLAY_TOPIC,0) == NULL)
::HtmlHelp(this->m_hWnd, szPath, HH_HELP_FINDER, 0 );


zebbedi