Does anybody have any bright ideas on how to display HTML from PB6?
What I currently do is put the HTML as binary data (RC_DATA) in a resource file. When I need to display it I retrieve the resource, write an .HTM file in the Temp directory and use ShellExecute() to open it. While it works great I'm not quite happy with it - I'd love to have more of a controlled environment than the full default browser. Something like IE's theatre mode would be great, but that would require me to detect the browser installed and knowing the capabilities of each possible one. Ugly...
I discovered that there is an HTML resource type, and searched MSDN on how to use it. The article I found (C-related) said to use ShowHTMLDialog() to display it, but the definitions etc were way too C for me.
Anybody have any clues on how to call SHowHTMLDialog() (or another way of accomplishing the same) from PB6?
Ketil
------------------
What I currently do is put the HTML as binary data (RC_DATA) in a resource file. When I need to display it I retrieve the resource, write an .HTM file in the Temp directory and use ShellExecute() to open it. While it works great I'm not quite happy with it - I'd love to have more of a controlled environment than the full default browser. Something like IE's theatre mode would be great, but that would require me to detect the browser installed and knowing the capabilities of each possible one. Ugly...
I discovered that there is an HTML resource type, and searched MSDN on how to use it. The article I found (C-related) said to use ShowHTMLDialog() to display it, but the definitions etc were way too C for me.
Anybody have any clues on how to call SHowHTMLDialog() (or another way of accomplishing the same) from PB6?
Ketil
------------------
Comment