Jump to content
Sign in to follow this  
nindall

HTML in Dialogs

Recommended Posts

I've been trawling through all the description and dialog tutes I can find but have been unable to find out how to (or if!) i can include .html on a dialog.

This could be of use for compex in-game manuals (specifically the UA maual!) where you could display the contents on the lefthand page and the main body on the right.

From looking through resource.bin I think it is possible, just wondering if the knowledge is out there!?

Any help appreciated.

Share this post


Link to post
Share on other sites

You could just take the HTML-Ressource-Class from the resource.bin(resource.cpp) and include it in your dialog. Then you derive from that class, and adjust the text-property. I think it works even with CtrlSetText.

The last thing I remember was, that it didn't look like in the Organizer in the map, but it was just straight text (with linebreaks). So formatting got lost; but it's a long time since I tested it.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×