` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Windows API: Changing button properties when mouse is over using subclassing
2002-10-12 -- Dennis E. Evans
 
Hi all, "Chris Moore" wrote in message > I am trying to change the icon on a button on the Frames toolbar when the > mouse is over it. I placed a Region control over the button and turned the Drop the region and sub class the button. The zip file has a class that will change the icon (or color, text whatever) for a button, if you want to work with several buttons use a queue and track the window proc for the controls. The mouse leave and hover events are one shot deals so the resetTracking method must be called. Dennis Download btnicon.zip


Today is November 21, 2024, 6:42 am
This article has been viewed 35211 times.
Google search has resulted in 28 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: