Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

schliz

@schliz
About
Posts
5
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • What`s this html help for my application
    S schliz

    I would like to use the what`s this html help for my application but I can not add additional help for my views or buttons. The automatically created help for the menue and so on works. What I tried is: In the help folder there is a .hpp file. There I added a new Help Homepage. I added the HP to the topics. There is a HTMLDefines.h file as well in the hlp folder. There I added a define to my IDC_BUS in my application. In the application: I created: void CMainFrame::HtmlHelp(DWORD_PTR dwData, UINT nCmd) { CGuiFrameWnd::HtmlHelp(dwData, nCmd); } When I debugged the project CGuiFrameWnd::HtmlHelp(dwData,nCmd) is called. inside CWinApp* pApp = AfxGetApp(); ASSERT_VALID(pApp); ASSERT(pApp->m_pszHelpFilePath != NULL); // to call HtmlHelp the m_fUseHtmlHelp must be set in // the application's constructor ASSERT(pApp->m_eHelpType == afxHTMLHelp); CWaitCursor wait; PrepareForHelp(); // need to use top level parent (for the case where m_hWnd is in DLL) CWnd* pWnd = GetTopLevelParent(); TRACE(traceAppMsg, 0, _T("HtmlHelp: pszHelpFile = '%s', dwData: $%lx, fuCommand: %d.\n"), pApp->m_pszHelpFilePath, dwData, nCmd); // run the HTML Help engine if (!AfxHtmlHelp(pWnd->m_hWnd, pApp->m_pszHelpFilePath, nCmd, dwData)) AfxMessageBox(AFX_IDP_FAILED_TO_LAUNCH_HELP); happens. My mapping ID to Help does not work. Can you please help me what I have to do? Thank you

    C / C++ / MFC html debugging help question

  • Add html help to a button
    S schliz

    Thank's I will use the "What's this help" by using the html help functionas mentioned in the article: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html/vsconovhtmlhelpapioverview.asp[^] what I did is: I took the function: void CMainFrame::HtmlHelp(DWORD_PTR dwData, UINT nCmd) { HWND hwnd = HtmlHelp( GetDesktopWindow), "c:\\Help.chm::/Intro.htm>Mainwin", HH_DISPLAY_TOPIC, NULL) ; CGuiFrameWnd::HtmlHelp(dwData, nCmd); } when I debugged I could enter the CMainFrame::HtmlHelp function after pressing the What`s this arrow and clicking left at any frame or window. Then I found the information to use the HWND hwnd = ... function as mentioned above. Now I get the error HtmlHelp function does not accept 4 parameters. As in the article mentioned the .lib is included and the path for is set. So I have no clue what to do!! Thank`s soo much! Georg

    C / C++ / MFC html com help question

  • Add html help to a button
    S schliz

    I would like to add a html help to a button. I tried: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html/vsconcxtptopics.asp[^] but it is not working. Can you please give me a hint. Thank`s in advance. Georg

    C / C++ / MFC html com help question

  • Information
    S schliz

    Thank you so much I will try this! Do you have any book recommendation how to learn this without the wizzard? I have knowledge in programming C++ and I would need information how the framework works and its functionality. Thank you very much in advance. Georg:)

    C / C++ / MFC csharp c++ tutorial learning

  • Information
    S schliz

    Hi everybody! I would like to add graphical objects like buttons and so on to my project. But I do not want to use any wizzard. In every book I bought there is just the information how to add things by using the wizzard. Were can I get sources of information about Vc++ .Net, that I will be able to programm everything without a wizzard. Thank you very much. Georg

    C / C++ / MFC csharp c++ tutorial learning
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups