Adding Photoshop Image

03-05-2003, 06:58 AM
I an image i edited in photoshop. I want this to be my main forms interface. The image is square but the picture itself is square with rounded edges. How do i get my form to round it's edges to match the images edges?

03-05-2003, 07:35 AM,0010,01/

03-05-2003, 07:35 AM
Try this:

It's not *exactly* what you need, but it should show you how to use GetDIBits
and SetWindowRgn to make a non rectangular form.

Heh, didn't realize that Hand's example had a bitmap shaping example in it.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum