Solved

capturing mousemoves off speedbuttons

Posted on 1997-04-24
2
220 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

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

739 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