InstallShield 2016 ยป InstallScript Language Reference
The CtrlSetFont function specifies a font for a control in a custom dialog. Call this function from within the DLG_INIT routine of the dialog message processing loop.
Syntax
CtrlSetFont ( szDialogName, hFont, nControlID );
Parameters
Parameter |
Description |
szDialogName |
Specifies the name of a valid dialog. |
hFont |
Specifies the handle of a font that has been created by a call to GetFont |
nControlID |
Specifies the resource ID of the control whose font is to be set. To set the font for all the controls in the dialog, pass the predefined constant ALLCONTROLS in this parameter. |
Return Values
Return Value |
Description |
0 |
CtrlSetFont successfully set the requested font in a dialog. |
< 0 |
CtrlSetFont was unable to set the font in the requested dialog. |
See Also
InstallShield 2016 Help LibraryMay 2017 |
Copyright Information | Flexera Software |