Detecting the mouse cursor in a PictureBox?

  • Thread starter Thread starter Jim Bancroft
  • Start date Start date
J

Jim Bancroft

Hi everyone,

I have an assignment where I have to load an image into a picture box (no
problem), then loop over it, from left to right, playing a different sound
based on the RGB value of the pixel.

I could use a suggestion on a good way to load and play sounds in .Net, but
my larger question was: Can I detect the mouse's location in the
picturebox, using events in some way perhaps? I'm in the starting stages
and could use any tips, however general or specific. Thanks!
 
This handwriting sample does just that.

http://www.eggheadcafe.com/articles/dotnetcompactframework_capture_signature_to_file.asp

Need to read the rgb value of the pixel?

http://www.eggheadcafe.com/articles/20031218.asp

--
Robbe Morris - 2004-2006 Microsoft MVP C#
I've mapped the database to .NET class properties and methods to
implement an multi-layered object oriented environment for your
data access layer. Thus, you should rarely ever have to type the words
SqlCommand, SqlDataAdapter, or SqlConnection again.
http://www.eggheadcafe.com/articles/adonet_source_code_generator.asp
http://www.eggheadcafe.com
 
Back
Top