PDA

View Full Version : VB: Get pixel color of mouse over.


Morgoth
04-27-2003, 06:51 PM
I am looking for some tutorials in vb that will help me be able to calculate the RGB value of a pixel when my mouse is over top of it..

Does anyone know where I can find something that will help me?

scroots
04-27-2003, 09:03 PM
wouldn't an onclick be better as in your case you would click the grey button to select option to choose colour and then move mouse therefore choosing grey as a value. same will happen with colour pallette.


scroots

Morgoth
04-28-2003, 12:44 AM
No, I need to have it mouseover... Because on click will do two commands, and all clicking will do is stop the on mouse over, and grab the last value...

So, what I really need help with is finding a tutorial on what I am trying to do...

scroots
04-28-2003, 08:23 PM
Morgoth, i now understand, I just didn't wanted you making something worthless because of a stupid mistake.


scroots

Morgoth
04-28-2003, 08:31 PM
That's ok scroots, you didn't know what my plan was.