A pixel from another program...
-
Hello, I am writing an application that will provide the feature of "taking" a pixel color from any other window, currently displayed. When the user right clicks with the mouse on the desktop, taskbar, or the system tray for example, the color (RGB) of the pixel he has clicked on must be obtained. Do you have any idea how this functionality could be implemented? The real question is how could I obtain another window's DC (from which I could get the pixel), and the mouse coordinates when the user presses the right button on another window... Thank you in advance. "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell
I' sure there's someone here on CP that already did that, check the different sections. check this one Colour preview and picker applet
Maximilien Lincourt Your Head A Splode - Strong Bad
-
Hello, I am writing an application that will provide the feature of "taking" a pixel color from any other window, currently displayed. When the user right clicks with the mouse on the desktop, taskbar, or the system tray for example, the color (RGB) of the pixel he has clicked on must be obtained. Do you have any idea how this functionality could be implemented? The real question is how could I obtain another window's DC (from which I could get the pixel), and the mouse coordinates when the user presses the right button on another window... Thank you in advance. "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell
-
? "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell
-
? "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell
Vladimir Georgiev wrote: ? What is your question? The provided link looks just like what you are after.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
-
Vladimir Georgiev wrote: ? What is your question? The provided link looks just like what you are after.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
My "?" was for the Greeeg's smiley. I did not understand what he meant about that. But anyway, I agree that the link provided gives me the right clues for solving my problem, for which I thank Maximilien :) I am sorry for the misunderstanding... "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell
-
My "?" was for the Greeeg's smiley. I did not understand what he meant about that. But anyway, I agree that the link provided gives me the right clues for solving my problem, for which I thank Maximilien :) I am sorry for the misunderstanding... "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell
Vladimir Georgiev wrote: My "?" was for the Greeeg's smiley. I did not understand what he meant about that. It was just Greeeg's way of providing a hyperlink. He used an image tag instead of an anchor tag.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
-
? "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell
Click on the smiling icon ! http://www.codeproject.com/gdi/screencolorpicker.asp The Code Project - Screen Color Picker - Fonts & GDI
-
Vladimir Georgiev wrote: My "?" was for the Greeeg's smiley. I did not understand what he meant about that. It was just Greeeg's way of providing a hyperlink. He used an image tag instead of an anchor tag.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
-
How do I add an achor tag ? How do I write a [code] section, which appears in light yellow if I remember well Is there a link that explains all of these things and others ? Thanks !
When replying to a post, check out the formatting (and smiley) options below the text box.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
-
When replying to a post, check out the formatting (and smiley) options below the text box.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
-
Thank you, I am realizing now that with Mozilla browser only the smileys appears, not the others.
No matter. You can insert <A>, < PRE>, and <CODE> tags manually.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen