3rd:HTML drawer

drawHTML.DLL is a DLL is written in VIP7.3. The DLL can be linked with VIP projects - the "glue" code and examples are provided. It is used simply to draw nice text: you can control text colour and font styles using HTML tags. Text wrapping and centring are dynamic, and both can apply to different parts of the same HTML text. The main call is (you will recognise):

DrawHTML:drawTextInRect(WindowType,RCT,HTML,FLAGS)

Also, certain attributes can be called from your own code e.g.

DrawHTML:set_wrap(true),

A limited number of tags are understood. Some of these are standard HTML, and some are unique to the DLL.

Standard HTML tags

 *  italic 
 *  bold 
 * underline
 * new line
 * subscript
 * superscript
 * also new line
 *  tab
 * increase font size
 * decrease font size
 * hyperlink . Anchor: if the user clicks on this word, the callback will return "some text".
 *  draws an image.

Non-standard Tags

 *  centred text on  ... and off
 *  turn wrapping on  ... and off
 *  left margin = 20 pixels
 *  change font
 *  set text colour
 *  text within these tags are hidden when hide=active, and displayed as normal when hide=inactive

Downloads
Further information and downloads can be found here: Link not found August 04, 2013