PDA

View Full Version : Somebody Help Me... For Dialog's Font Change



kingkong3
09-28-2018, 04:23 AM
Hi everyone , i have a question about Dialog's Font changing....

My project is just installshield, and my problem is I DONT KNOW changing font in dialog......

Plz help me..... everybody :confused::confused:

Roman1
09-28-2018, 06:28 AM
DialogSetFont (szFontName, nFontSize, nReserved);

The DialogSetFont function sets the font for InstallScript dialogs that are displayed at run time.
This function affects built-in InstallScript dialogs and custom InstallScript Dialogs

For Basic-MSI Dialogs please set the property:

DefaultUIFont

https://docs.microsoft.com/en-us/windows/desktop/msi/defaultuifont

Jenifer
10-01-2018, 02:20 AM
Hi everyone , i have a question about Dialog's Font changing....

My project is just installshield, and my problem is I DONT KNOW changing font in dialog......

Plz help me..... everybody :confused::confused:

Hi,

If you are creating a Basic MSI project, you can play TextStyle property of dialog as well TextStyle table can be modified in the Direct Editor. Text Style records contain both the font and color information of the given text. For information on what needs to be placed into the various fields in the TextStyle table, see the MSI Help Library topic "TextStyle table"

If you are trying to change the color and font of control in a Standard Project, see the Help Topic in the InstallShield Language Reference "SetFont Example"

Hope this helps
Thanks,
Jenifer