Solved

DISPLAYING SPLASH SCREEN ???

Posted on 1998-09-05
10
188 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
 
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Unix / Linux grid computing 5 127
Complete beginner needs help making a cron job 9 104
no14 challenge 14 57
matchUp  challenge 9 72
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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…
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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now