|
-
Sep 22nd, 2009, 03:09 AM
#1
Thread Starter
Lively Member
Alpha blended non rectangular form in VB6
Hello guys,
I did ask this question in another forum already, but got no answer...
Hope that here are some pros, who can help me. 
I did use following example code as base for my project:
http://www.activevb.de/cgi-bin/uploa...oad.pl?id=2126
It loads an alpha blended png file and creates a splash screen with it.
It looks really gorgeous! 
But now I have two problems:
* All controls on the form are invisible.
* I am not able to add additional grafics to the "splash screen"
I also found examples to merge two grafic files together, but I like to add these grafics on some user events - that means, that the splash screen was already created. And I don't know how to apply addtional grafics to that window.
Right now I am presenting this addtional grafical elements in a second form above the so call splash screen (as you can see, I am not using it as splash screen ) - but this is a pretty ugly programming style, since form movement creates unattractive effects - even with subclassing techniques.
Is there a way to add controls ot that window and merge additional grafics to the form after it was created?
Or is there another way to create an alpha blended non rectangular form, which does not show the mentioned issues?
I found a nice thread in this forum here, which has the same topic:
http://www.vbforums.com/showthread.php?t=463045
Unforunately the example has the problem, that the form can't be moved.
Addtionally there is a "black boarder" effect, if the example is launched - this does not happen in my activevb example.
- But maybe both examples can be combinded somehow...
I really appreciate your help!
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
|