• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

DISPLAYING SPLASH SCREEN ???

How to display a splash screen(dialog) just before display of the  main screen(dialog) ??
i am using ms vc++ 4.0.

thanks !
0
kashif063098
Asked:
kashif063098
  • 7
  • 2
1 Solution
 
thresher_sharkCommented:
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
 
prasanthCommented:
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
 
thresher_sharkCommented:
I hadn't ever seen that.  But I am fairly new to VC++ as well... have you tried either method kashif?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
thresher_sharkCommented:
I hadn't ever seen that.  But I am fairly new to VC++ as well... have you tried either method kashif?
0
 
kashif063098Author Commented:
thresher_shark,

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



0
 
thresher_sharkCommented:
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
 
thresher_sharkCommented:
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
 
thresher_sharkCommented:
AHHH!! Sorry about these duplicate posts, EE keeps giving me errors so I keep reposting...
0
 
kashif063098Author Commented:
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
 
thresher_sharkCommented:
Okay, I'm glad you got it working.  Glad I could help!
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 7
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now