473,383 Members | 1,980 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

How do I create a splash window?

11
In BCB I created a splash window as a starting window of my application program. I setup a timer on the splash window so that it can be automatically closed after showing up some times and then my main program form comes up. However, my main program form keeps created in the same time interval as the splash window maintaining. I guess the timer on the splash window is still working because I used the following sentences to create my main window when the splash window is closed:

Application->CreateForm(__classid(TMainForm),&MainForm);
MainForm->WindowState=wsNormal;
MainForm->ShowModal();

Can any body tell me how to avoid this happening? Do I need to destory the splashwindow totally?

Thanks,
Jun 18 '07 #1
0 1324

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Ryan | last post by:
Hello, I have a c++ application and I would like to simply play a short video clip (mpg file) as a splash screen when the application first begins to execute. I seem to be having trouble so far. ...
3
by: Jeroen Ceuppens | last post by:
Is there a specified method to do that? Thx Jeroen
3
by: andrewcw | last post by:
I implemented the simplest of splash screens ( static and on its own thread ). But it seem that when first called maybe 8 seconds elapsed before it showed up, the main form follows several seconds...
14
by: SStory | last post by:
I am trying to make a splash screen for my vb.net app. It is an mdi app. including the splash code produces wierd results. not inluding makes things fine. Also have tried loading the splash...
8
by: Mike | last post by:
Hi , I use formBorderStyle = "None" for the splash window. If I will not open if as a Dialog (frmSplash.ShowDialog) then the form will not be on the front of other windows. >From another side...
1
by: Ken Allen | last post by:
I am developing a small utility program that must perform a considerable amount of 'background' or 'research' work before it can display any user interface. In general it can take 3-15 seconds to...
1
by: BRAHM | last post by:
I am using this code to set up the splash screen startup time. Protected Overrides Function OnInitialize( _ ByVal commandLineArgs As _ System.Collections.ObjectModel.ReadOnlyCollection(Of...
1
by: BRAHM | last post by:
I am using this code to set up the splash screen startup time. Protected Overrides Function OnInitialize( _ ByVal commandLineArgs As _ System.Collections.ObjectModel.ReadOnlyCollection(Of...
0
by: agarwalsunitadhn | last post by:
Hi I am new in window programming. I am working on a window base project in C#.net. and for the new project i have to design a splash screen displayed just for a minute. i dont know hoe to...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.