void highlight(control c); void unhighlight(control c); int ishighlighted(control c); void flashcontrol(control c);
Push buttons, checkboxes, radio buttons, etc are highlighted when the user holds down a mouse button inside the control's boundary, and become unhighlighted when the mouse button is released. The highlight function makes a control appear highlighted, and unhighlight returns a control to its normal appearance. Whether or not a control is currently highlighted is reported by ishighlighted.
The function flashcontrol similates a mouse button click in a button, checkbox or radio button. The control will become highlighted and after a short period of time will be unhighlighted. This function does nothing more than change the appearance of the control for a brief period of time.