dcsimg
 

CHotButton - a "HotSpot" Button

by Rick Shide

A Button control that enables you to place images on a button and handle clicks on that part of the button (the hotspot).

CHotButton is a subclassed CButton that has a "hot" area on the right. This makes it a dual purpose button, pressing the hotspot area sends the button notification BN_HOT_CLICKED instead of BN_CLICKED. Pressing the non

This article was originally published on Friday Jun 23rd 2000
Home
Mobile Site | Full Site