A ToggleIcon item has an on/off value like the ToggleButton but displays similar to an IconCmd. The item resource for the ToggleIcon is similar to the ToggleButton resource, with added Icon information. Also, ToggleButtons may be converted to display as ToggleIcons by calling the new function, mdlDialog_toggleButtonSetIcon.
The ToggleIcon item is defined in a resource file with the following structure:
The ToggleButton functions are applicable to ToggleIcon dialog items. In addition, the following new functions have been added for both dialog item types:
mdlDialog_toggleButtonSetIcon
mdlDialog_toggleButtonSetPressedIcon