Click here to Skip to main content
15,921,203 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How reliable is "cin" for receiving data? Pin
Ryan Binns27-Jul-03 4:06
Ryan Binns27-Jul-03 4:06 
GeneralRe: How reliable is "cin" for receiving data? Pin
Beer2627-Jul-03 4:37
Beer2627-Jul-03 4:37 
GeneralRe: How reliable is "cin" for receiving data? Pin
Bob Stanneveld27-Jul-03 8:16
Bob Stanneveld27-Jul-03 8:16 
QuestionHow can I execute a .chm file? Pin
DanYELL26-Jul-03 15:25
DanYELL26-Jul-03 15:25 
AnswerRe: How can I execute a .chm file? Pin
Beer2626-Jul-03 15:50
Beer2626-Jul-03 15:50 
AnswerRe: How can I execute a .chm file? Pin
Beer2626-Jul-03 15:53
Beer2626-Jul-03 15:53 
GeneralRe: How can I execute a .chm file? Pin
DanYELL26-Jul-03 16:12
DanYELL26-Jul-03 16:12 
AnswerRe: How can I execute a .chm file? Pin
pranavamhari26-Jul-03 16:29
pranavamhari26-Jul-03 16:29 
ShellExecute will work, but you need to use the HtmlHelp Api.
This will also help you launch directly a specific topic inside the chm help file.

HtmlHelp(m_hWnd, AfxGetApp()->m_pszHelpFilePath, HH_HELP_CONTEXT,
<topid_id>);

Also, you need to do this to replace the '.hlp' extension to .chm. in your initinstance.

CString strHelpFile = _pszHelpFilePath;
strHelpFile.Replace(_T(".HLP"), _T(".chm"));
free((void*)m_pszHelpFilePath);
m_pszHelpFilePath = tcsdup(strHelpFile);


You can download htmlhelp lib and header files from microsoft's site, if you don't have it already.



Hari Krishnan
GeneralRe: How can I execute a .chm file? Pin
Hashim Saleem27-Jul-03 2:41
Hashim Saleem27-Jul-03 2:41 
GeneralRe: How can I execute a .chm file? Pin
Hashim Saleem27-Jul-03 4:07
Hashim Saleem27-Jul-03 4:07 
QuestionHow to put background image into CListCtrl. Pin
Artem Moroz26-Jul-03 12:58
Artem Moroz26-Jul-03 12:58 
AnswerRe: How to put background image into CListCtrl. Pin
Beer2626-Jul-03 13:08
Beer2626-Jul-03 13:08 
AnswerRe: How to put background image into CListCtrl. Pin
Michael Dunn26-Jul-03 13:45
sitebuilderMichael Dunn26-Jul-03 13:45 
GeneralRetrieving selected item in Classview from add-in Pin
joltman26-Jul-03 9:36
joltman26-Jul-03 9:36 
GeneralRe: Retrieving selected item in Classview from add-in Pin
Beer2626-Jul-03 11:03
Beer2626-Jul-03 11:03 
GeneralSDI View question Pin
DougW4826-Jul-03 7:57
DougW4826-Jul-03 7:57 
GeneralRe: SDI View question Pin
Niall Barr26-Jul-03 9:49
professionalNiall Barr26-Jul-03 9:49 
GeneralRe: SDI View question Pin
Bob Stanneveld27-Jul-03 8:21
Bob Stanneveld27-Jul-03 8:21 
QuestionHow to transfer data from one dialog box to another, Pin
Deepak Samuel26-Jul-03 6:39
Deepak Samuel26-Jul-03 6:39 
AnswerRe: How to transfer data from one dialog box to another, Pin
valikac26-Jul-03 7:01
valikac26-Jul-03 7:01 
AnswerRe: How to transfer data from one dialog box to another, Pin
User 665826-Jul-03 7:08
User 665826-Jul-03 7:08 
GeneralRe: How to transfer data from one dialog box to another, Pin
Febin Elizabeth15-Mar-09 23:06
Febin Elizabeth15-Mar-09 23:06 
GeneralHelp in COM Pin
Snyp26-Jul-03 6:35
Snyp26-Jul-03 6:35 
GeneralRe: Help in COM Pin
valikac26-Jul-03 7:02
valikac26-Jul-03 7:02 
GeneralRe: Help in COM Pin
Toni7826-Jul-03 7:35
Toni7826-Jul-03 7:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.