SETHTCOLOR |
Top Previous Next |
Syntax SETHTCOLOR(win as WINDOW,id as INT,hc as UINT) Description .Sets the hot tracking color used by a button of type @RGNBUTTON Parameters win - Parent window or dialog of the control. id - Controls identifier. hc - The hot tracking color. Return value NONE Remarks A region button supports automatic an automatic hot tracking color. The hot tracking color is displayed whenever the mouse is over the buttons client area. If the region button has a normal bitmap, but no hot tracking bitmap, then this color is used the tint the normal bitmap to provide the hot tracking effect. If the region button has both a normal and hot tracking bitmap then this color is ignored. Under all other circumstances the color is displayed as a solid color. Example usage button 3 is a regioned button with automatic hot tracking color |