take a screenshot of your screen
crop it to have only a small square of about 10x10 pixel
save it as bitmap
the cropped image must be only of an area of the screen like the background of the 'start' button or the background of the taskbar
that color is also the default background of a windows form
the color named "control" inside visual studio
now: file, new, project, windows application
put there a picturebox, and put inside it that bitmap
it should be a 10x10 image of the same color of the form's background color, but it isn't, at least here, it appears brighter
i'm running windows 2000 with visual studio .net and the bitmap is 24bit (i've tried with many formats, bmp gif png emf, and made under paint shot pro and ms paint)
and i tried also with the picturebox backgroundimage and panel's backgroundimage, same behaviour
..I'm getting mad
thanks for any help!
Pierpaolo
www.abruzzesi.com
www.daimmo.it