Image
-
I am reading a graphic into an image (Image class) and displaying it on a form. Among other things, I am providing methods for moving the image around on the screen using the mouse. When the user clicks on the image I would like to shade the image (tint?) so that the user knows the image is selected. Similar to (or exactly like) like an icon changes color when the user selects one on the desktop. Any ideas about the best way to do that? Gary Kirkham A working Program is one that has only unobserved bugs I thought I wanted a career, turns out I just wanted paychecks
-
I am reading a graphic into an image (Image class) and displaying it on a form. Among other things, I am providing methods for moving the image around on the screen using the mouse. When the user clicks on the image I would like to shade the image (tint?) so that the user knows the image is selected. Similar to (or exactly like) like an icon changes color when the user selects one on the desktop. Any ideas about the best way to do that? Gary Kirkham A working Program is one that has only unobserved bugs I thought I wanted a career, turns out I just wanted paychecks
graphics.FillRectangle(new SolidBrush(Color.FromArgb(80 ,SystemColors.Highlight)), imageRect); graphics.DrawRectangle(SystemPens.Highlight, imageRect);
-Blake