[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

I want to make the color distingusher.

Posted on 2011-09-11
4
Medium Priority
?
234 Views
Last Modified: 2012-05-12
first , I want to know the color under the mouse cursor.
second , want to magnify the range of 100 by 100 pixels under the mouse cursor.


please recommend me the functions.
Thanks in advance.
0
Comment
Question by:gamjaradio
[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
  • 3
4 Comments
 
LVL 25

Accepted Solution

by:
epasquier earned 2000 total points
ID: 36521227
first, here is how to write a dll that will 'hook' to all mouse events, even outside your application, and send that to your application
http://forum.codecall.net/pascal-delphi-tutorials/33993-mouse-hook-tutorial-delphi-codes.html

I'm writting the application that will use that dll, capture the screen portion under the mouse and display it along with the pixel color underneath
0
 
LVL 25

Assisted Solution

by:epasquier
epasquier earned 2000 total points
ID: 36521553
Full projects :
- MouseHook.dpr => MouseHook.dll
- MouseZoom.dpr => MouseZoom.exe
both binaries must be in the same directory when running

 MouseZoom.zip

 Mouse Zoom
0
 

Author Comment

by:gamjaradio
ID: 36527023
Thanks a lot ,

Please , just One advice more .

I changed mouse cursor , 'fountainpen filler' shape , but it is just when it in my form .
If the cursor off the form , is changed to as windows want.

How can I keep mouse cursor ,even off my application form.
0
 
LVL 25

Expert Comment

by:epasquier
ID: 36529351
I would have been inclined to say it's not possible, as every applications can set it's own cursor and the OS is changing the cursor accordingly each time the mouse move over an application.

but I checked if someone has an idea about it, and yes, apparently you could implement a workaround by setting ALL system cursors image to the one you want.
check this
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_20665275.html

I haven't tested any of it, and if you need help about that, post a new question
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

650 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