-
Fill Region
I cant seem to figure this out so maybe someone has some tips for me.
I create a rounded rectangle region in a picture box with CreateRoundRectRgn, and i then want to fill that region with white. It would be awesome if it had a black line around it but im not going to get greedy.
But I cant get anything to show up. If i could just use a shape for this i would but i dunno how to get the hdc of a shape so that i can do what i ultimately have to do (setting region for a controls transparency) so umm *scratches head* :confused:
please enlighten me... any way you can...heh
-
try using a shape control and then the form's image property to get the outline of it
-
the shape control doesnt register as part of the image...i dont think so anyway. I tried it just to make sure and it didnt work for me.
-
Couldn't you just set the backcolor of the Form to White?
-
nah cuz not only is it spose to be a rounded rectangle but its a chat balloon, thus theres a triangular 'tail' on it as well...