J
Jesse
I've got a bunch of PictureBoxes on a form. People can click on them to
"select" them. I'm trying to figure out how to show three different states:
unselected, selected, disabled ("grayed out").
Basically, I want to apply (and later undo) a color transformation to the
whole image. Is there a good way to do it?
Thanks!
The best I could come up with was to draw a frame around the picture, but I
ran into Z-order problems, where the rectangle I drew got overdrawn by
another control next to the PictureBox. No idea how to fix that, either...
rect = myPictureBox.Bounds
rect.Inflate(1, 1)
e.Graphics.DrawRectangle(myPen, rect)
--
"select" them. I'm trying to figure out how to show three different states:
unselected, selected, disabled ("grayed out").
Basically, I want to apply (and later undo) a color transformation to the
whole image. Is there a good way to do it?
Thanks!
The best I could come up with was to draw a frame around the picture, but I
ran into Z-order problems, where the rectangle I drew got overdrawn by
another control next to the PictureBox. No idea how to fix that, either...
rect = myPictureBox.Bounds
rect.Inflate(1, 1)
e.Graphics.DrawRectangle(myPen, rect)
--