|
-
Jan 3rd, 2002, 06:09 AM
#1
Thread Starter
Hyperactive Member
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*
please enlighten me... any way you can...heh
-
Jan 3rd, 2002, 08:48 AM
#2
Frenzied Member
try using a shape control and then the form's image property to get the outline of it
-
Jan 3rd, 2002, 04:48 PM
#3
Thread Starter
Hyperactive Member
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.
-
Jan 3rd, 2002, 05:44 PM
#4
Couldn't you just set the backcolor of the Form to White?
-
Jan 3rd, 2002, 07:02 PM
#5
Thread Starter
Hyperactive Member
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...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|