Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How to display RTF in InstallScript project?


1 reply to this topic

StickyC

StickyC
  • Members
  • 1 posts

Posted 26 September 2004 - 20:38

I've got a customized version of the SdLicence dialog that is done in InstallScript. Apparently, the Edit Field control when created by InstallScript will not correctly interpret RTF files.

I've tried a version of Kent Foyer's code where he uses a static Text Area, but I'm still just getting the raw RTF code. It looks like everything is working properly. Has the code been tested under the IS9 engine?

Is there another way to display an RTF from InstallScript?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 27 September 2004 - 08:20

It was written for a previos version but I think it should work. Did you copy the script modifications in the dialog script from the sample to your project, in particular the hRichEditCtrl = CreateWindowExA(RTF_WS_EX, ...) part?