Solved

DISPLAYING SPLASH SCREEN ???

Posted on 1998-09-05
10
206 Views
Last Modified: 2013-11-20
How to display a splash screen(dialog) just before display of the  main screen(dialog) ??
i am using ms vc++ 4.0.

thanks !
0
Comment
Question by:kashif063098
  • 7
  • 2
10 Comments
 
LVL 6

Expert Comment

by:thresher_shark
ID: 1321760
Here is what I do:

1) Create a dialog box.  Make it have no title bar, menus, etc.
2) Put some icon/bmp/image and text in it.  Whatever you want it to say.
3) Before your main window is drawn, display the dialog box using the "Create" function.  This way the box is "modeless" and the program can continue processing in the background.

If you want to be ambitious, create a separate thread for the dialog box.
0
 
LVL 2

Expert Comment

by:prasanth
ID: 1321761
I may be wrong and this might only be in 5.0+ but even in 4.x I think there is a prebuilt Splash screen component you can add to your project by going to the Project menu. After adding this component to your porject you just need to modify the bitmap to suit your needs.
0
 
LVL 6

Expert Comment

by:thresher_shark
ID: 1321762
I hadn't ever seen that.  But I am fairly new to VC++ as well... have you tried either method kashif?
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 6

Expert Comment

by:thresher_shark
ID: 1321763
I hadn't ever seen that.  But I am fairly new to VC++ as well... have you tried either method kashif?
0
 

Author Comment

by:kashif063098
ID: 1321764
thresher_shark,

i am going to try both tomorrow at work,
thanks for helping me out !



0
 
LVL 6

Expert Comment

by:thresher_shark
ID: 1321765
Hmm... just so you know, I tried adding the splash screen component that prasanth mentioned (which was a good idea), but it only seems to work if you have an MDI or SDI application.  It does not work with dialog.  If you need help implementing my idea, I can give you precise instructions.
0
 
LVL 6

Expert Comment

by:thresher_shark
ID: 1321766
Hmm... just so you know, I tried adding the splash screen component that prasanth mentioned (which was a good idea), but it only seems to work if you have an MDI or SDI application.  It does not work with a dialog based application.  If you need help implementing my idea, I can give you precise instructions.
0
 
LVL 6

Expert Comment

by:thresher_shark
ID: 1321767
AHHH!! Sorry about these duplicate posts, EE keeps giving me errors so I keep reposting...
0
 

Author Comment

by:kashif063098
ID: 1321768
thresher_shark,
i tried your frst solution and it worked. i don't have any option to give you the points,i think you need to select answer "instead of comment then i will be able to give you the points.

thank you very much for the help ALL !


0
 
LVL 6

Accepted Solution

by:
thresher_shark earned 20 total points
ID: 1321769
Okay, I'm glad you got it working.  Glad I could help!
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
repeateFront java challenge 31 92
Define unique primary key 9 92
wordcount challenge 11 121
Problem to App source 6 33
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question