Metafiles and bitmap images can be used as native pictures. Native pictures are used as the picture static values for push buttons and visual switches.
Two native pictures are required for push buttons. The “button up” picture is displayed when the button is not being clicked. The “button down” picture is displayed when the button is being clicked. Often, the button up and button down pictures are drawn to produce a three-dimensional effect (offsetting the button down picture one pixel down and to the right) when the button is pushed. To have the best appearance, the native pictures used should be the same physical size.
Visual switches can be used to display a series of native pictures. For each image displayed, only one native picture is required. To have the best appearance, all native pictures used for the visual switch should be the same physical size.
The following example shows the ten native pictures used for a visual switch in a progress control window. Based upon the value of the visual switch, the corresponding picture is displayed, indicating progress.