Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to change the help file name&path

Status
Not open for further replies.

scottmanjoe

Technical User
Mar 28, 2003
15
IN
Hi,
When we click on the Help button of the PropertySheet, the MFC picks up the file from a default-location.
Is there any way to change the name and path of the file?
Thanks,
scott
 
Help button in PropertySheet is similar to F1 key;

If you are using API then
BOOL WinHelp(
HWND hWnd, // handle of the PropertySheet
LPCTSTR lpszHelp, // path of the help file
UINT uCommand,
DWORD dwData
);

otherwise :

void CMyPropertySheet::WinHelp(DWORD dwData, UINT nCmd)
{
// do your code here
CDialog::WinHelp(dwData, nCmd);
}

-obislavu-

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top