06-29-2010, 09:07 AM
(This post was last modified: 06-29-2010, 09:13 AM by Dean Roddey.)
If you have an image enabled but undefined, that's probably what you would get for that image. It'll be a 1x1 transparent image most likely since that's what the bitmap class will default itself to until some content is set on it. So when the button is being drawn unpressed, that's like what you will get.
I did debug into it far enough to see that I am getting a DrawBitmap when the button is pressed, and that's what prompted me to go look at the image and notice that it had no alpha. I checked the path so I know it was for the drawing of the pressed image. When it's released, you'd get the fill of the area and the draw of the default undefined image again.
But I'll get more info on exactly what's happening.
I did debug into it far enough to see that I am getting a DrawBitmap when the button is pressed, and that's what prompted me to go look at the image and notice that it had no alpha. I checked the path so I know it was for the drawing of the pressed image. When it's released, you'd get the fill of the area and the draw of the default undefined image again.
But I'll get more info on exactly what's happening.
Dean Roddey
Explorans limites defectum
Explorans limites defectum