Link to home
Start Free TrialLog in
Avatar of newyuppie
newyuppieFlag for Ecuador

asked on

form custom shape from png

hi,
vb2005

im trying to have a form have a custom shape from a .png image. is this possible?
thanks
Avatar of Kinger247
Kinger247

Yes you can, I know you like links :) so :

http://www.freevbcode.com/ShowCode.asp?ID=6146

In the example it uses an simpson.png (not included !). But I just ran with an image on my machine with a mostly white background.
It skinned to the image nicely.
Avatar of newyuppie

ASKER

hi kinger, congrats on the 50000 points.

code does indeed work and it skins nicely. only problem i see is that its a bit on the slow side. for instance, im using a form set as a splashscreen, and using this code, it shows *after* the main form loads, so its taking a while to draw. on another sad note, it flickers for 1 second before drawing and its very noticeable.
does that happen in your computer too?

NY
ASKER CERTIFIED SOLUTION
Avatar of Kinger247
Kinger247

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
very savvy indeed!
it does seem to work fine, let me perform some tests ill get back to you
NY
sorry to have taken some days, i was off. great answer!
NY
no problem, yes thought I hadn't seen any comments from you for a couple of days ..