HTML Objects Not Printing

This forum is for all Flare issues related to the Microsoft HTML Help target.
This target produces "CHM" files in the output.
Post Reply
JasonSTI
Sr. Propeller Head
Posts: 110
Joined: Mon Jan 07, 2008 11:34 am

HTML Objects Not Printing

Post by JasonSTI »

We were in the process of adding links to external files (specifically, to other Help projects, and to our multimedia tutorials) using HHCtrl Objects. The following is one of the examples:

Code: Select all

<OBJECT id="hhctrl2" type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11" codebase="hhctrl.ocx#Version=4,73,8412,0" align="texttop">
    <PARAM name="Command" value="ShortCut" />
    <PARAM name="Font" value="Arial,10,,#800000,BOLD UNDERLINE" />
    <PARAM name="Text" value="Text:Bank Reconciliation" />
    <PARAM name="Item1" value=",hh.exe,bank.chm::/Reconciliation.htm" />
</OBJECT>
We are running into an issue where the objects do not display in Flare (not a problem) but compile fine. However, we found that the objects do not print either; the printed document simply omits the text that shows in the CHM, leaving a blank space.

Since this is not acceptable, the only alternative I have found currently is to move the objects to a hidden <div> tag and instead use:

Code: Select all

<a href="#" onClick="hhctrl2.HHClick()">Bank Reconciliation</a>
Anyone know of any way to make the HHCtrl links work before I start replacing these links?
Pete Lees
Sr. Propeller Head
Posts: 150
Joined: Thu Feb 09, 2006 12:33 pm
Location: Bracknell, Berkshire, UK

Re: HTML Objects Not Printing

Post by Pete Lees »

Hi, Jason,

You're right that instances of the HTML Help ActiveX control don't print, so your workaround of using script to invoke the hidden controls is the way to go.

Pete
Post Reply