Einzelnen Beitrag anzeigen

CCRDude

Registriert seit: 9. Jun 2011
677 Beiträge
 
FreePascal / Lazarus
 
#4

AW: CHM-Datei im eigenen Formular anzeigen

  Alt 10. Sep 2012, 13:12
Tatsächlich wird das gewünschte Topic angezeigt, aber nicht in Form2, sondern im Standard-Fenster.

Woran kann das liegen?
Daran, dass es funktioniert wie es soll - um mal aus der MSDN zu zitieren:
Zitat:
The fundamental feature of the HTML Help API is the help window. Through the API commands, you can create a help window that hosts a Microsoft Internet Explorer DLL (Shdocvw.dll) and displays an HTML file that you specify. The help window is owned by the window you specify. As an owned window, a help window automatically stays on top of its owner and closes when the owner is closed.
Vielleicht kannst Du ja mal versuchen, den Parent des Fenstern nach Anzeige auf Deine Form umzubiegen, oder eben doch, ob ein TWebBrowser das auch - irgendwie (hier die Herausforderung) - angezeigt bekommt.
  Mit Zitat antworten Zitat