In addition to specifying location and size of controls in a resource file, you can also specify control properties. The following table shows the control properties you can specify in a resource script.
Value |
Description |
ASFC_DISPID_AUTOSCALEFONT | Adjusts fonts to fit the control. The value following this property specifies the minimal size allowed when reducing the font size. |
ASFC_DISPID_BACKCOLOR | Sets the background color. The value following this property is a DWORD that stores the RGB color and sets the background color. Use standard RGB values. |
ASFC_DISPID_FONT | Sets the font. |
ASFC_DISPID_FORECOLOR | Sets the foreground color. The value following this property is a DWORD that stores the RGB color and sets the foreground color. Use standard RGB values. |