cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kingkong3
Level 3

Somebody Help Me... For Dialog's Font Change

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:
Labels (1)
0 Kudos
(2) Replies
Roman1
Level 9

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

0 Kudos
Jenifer
Flexera Alumni

kingkong3 wrote:
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
0 Kudos