Splash screen with transparecny png. C++ Builder
up vote
0
down vote
favorite
I want to create a splash screen before my application starts, but i have some troubles with it. I have a image which contains some drawings and it is transparent ( has no background ).
Something like "Blade and Soul" splash screen. I can't post a link here with it, sorry.
I tried to create a panel, give it a color and in my form i set that color to be shown as transparent, but i can still see the borders even though i have set it to be border less.
And another problem that i have encountered is about 3 forms. I have the first form ( main form ), a second form and a third form. I want them to be shown as follow: Main form ( stays 5 seconds on desktop, gets away- i want to hide it - then comes the 2nd form ) Second form ( stays on desktop till i press a button which shows the 3rd form and makes the second one dissapears )
I did this by writing the following code:
Form2->Show();
this->Hide();
Of course, i added a timer and this code is executed after the timer finishes counting so it's 5 seconds.
It works flawless, but from Form2 to Form3 it doesn't work correctly.
Form3->Show();
this->Hide();
I created a button and i wrote this code in it. Form3 appears while Form2 dissapears but then Form2 appears back and i don't understand why...
I'm sorry for my bad english. :)
screen loading transparent
add a comment |
up vote
0
down vote
favorite
I want to create a splash screen before my application starts, but i have some troubles with it. I have a image which contains some drawings and it is transparent ( has no background ).
Something like "Blade and Soul" splash screen. I can't post a link here with it, sorry.
I tried to create a panel, give it a color and in my form i set that color to be shown as transparent, but i can still see the borders even though i have set it to be border less.
And another problem that i have encountered is about 3 forms. I have the first form ( main form ), a second form and a third form. I want them to be shown as follow: Main form ( stays 5 seconds on desktop, gets away- i want to hide it - then comes the 2nd form ) Second form ( stays on desktop till i press a button which shows the 3rd form and makes the second one dissapears )
I did this by writing the following code:
Form2->Show();
this->Hide();
Of course, i added a timer and this code is executed after the timer finishes counting so it's 5 seconds.
It works flawless, but from Form2 to Form3 it doesn't work correctly.
Form3->Show();
this->Hide();
I created a button and i wrote this code in it. Form3 appears while Form2 dissapears but then Form2 appears back and i don't understand why...
I'm sorry for my bad english. :)
screen loading transparent
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to create a splash screen before my application starts, but i have some troubles with it. I have a image which contains some drawings and it is transparent ( has no background ).
Something like "Blade and Soul" splash screen. I can't post a link here with it, sorry.
I tried to create a panel, give it a color and in my form i set that color to be shown as transparent, but i can still see the borders even though i have set it to be border less.
And another problem that i have encountered is about 3 forms. I have the first form ( main form ), a second form and a third form. I want them to be shown as follow: Main form ( stays 5 seconds on desktop, gets away- i want to hide it - then comes the 2nd form ) Second form ( stays on desktop till i press a button which shows the 3rd form and makes the second one dissapears )
I did this by writing the following code:
Form2->Show();
this->Hide();
Of course, i added a timer and this code is executed after the timer finishes counting so it's 5 seconds.
It works flawless, but from Form2 to Form3 it doesn't work correctly.
Form3->Show();
this->Hide();
I created a button and i wrote this code in it. Form3 appears while Form2 dissapears but then Form2 appears back and i don't understand why...
I'm sorry for my bad english. :)
screen loading transparent
I want to create a splash screen before my application starts, but i have some troubles with it. I have a image which contains some drawings and it is transparent ( has no background ).
Something like "Blade and Soul" splash screen. I can't post a link here with it, sorry.
I tried to create a panel, give it a color and in my form i set that color to be shown as transparent, but i can still see the borders even though i have set it to be border less.
And another problem that i have encountered is about 3 forms. I have the first form ( main form ), a second form and a third form. I want them to be shown as follow: Main form ( stays 5 seconds on desktop, gets away- i want to hide it - then comes the 2nd form ) Second form ( stays on desktop till i press a button which shows the 3rd form and makes the second one dissapears )
I did this by writing the following code:
Form2->Show();
this->Hide();
Of course, i added a timer and this code is executed after the timer finishes counting so it's 5 seconds.
It works flawless, but from Form2 to Form3 it doesn't work correctly.
Form3->Show();
this->Hide();
I created a button and i wrote this code in it. Form3 appears while Form2 dissapears but then Form2 appears back and i don't understand why...
I'm sorry for my bad english. :)
screen loading transparent
screen loading transparent
edited Nov 18 at 11:13
asked Nov 18 at 10:57
g0dafk
115
115
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53360093%2fsplash-screen-with-transparecny-png-c-builder%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown