Solved

capturing mousemoves off speedbuttons

Posted on 1997-04-24
2
223 Views
Last Modified: 2010-04-04
I want to create a win97 style speedbutton, and to do this i need to know when the mouse has moves off the given speedbutton.  I can do this for the application as a whole, but not for individual components.  So, to reiterate, i need a handle to an event that occurs when the mouse moves off a speedbutton.
0
Comment
Question by:Heapster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
erajoj earned 80 total points
ID: 1335720
You can use a freeware component by Fabrice Deville
(fdev@tornado.be), it's really good (I think).
It includes src, so you can derive your own if you want to
do some coding.
Ver: 2.6
Addresses:
http://www.cdrom.com/pub/delphi_www/ftp/free/explbtn.zip
http://www.tietovayla.fi/borland/delphi/extra/super_pa/ftp/free/explbtn.zip
http://www.ege.edu.tr/delphi/ftp/free/explbtn.zip
Size: 87,217

Send a mail to Fabrice if you like it!

0
 
LVL 1

Author Comment

by:Heapster
ID: 1335721
Thanks for the help, I had this component already, but it is really naff - when you move from one button to the next the colours in the non-client become corrupted, so there are all kinds of palette shennagins going down. On closer inspection of the code in question, it was revealed to me that a CM_Mouseleave message was the just the ticket.  I havent graded very highly because i really needed to know the code - all the components i've evaluated out there claiming to be win97 buttons have been naff in some respect or other, but at least it pointed me in the right direction.  Cheers! The Heapster
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question