Solved

Display introductory window

Posted on 2001-06-26
8
147 Views
Last Modified: 2013-11-20
How can I display a momentary window containing certain information at the beginning of an mfc application in VC++ with the view as RichEditView.
0
Comment
Question by:snb2001
8 Comments
 
LVL 9

Expert Comment

by:Pacman
ID: 6227094
Create a nonmodal Dialog and show it.
0
 
LVL 10

Expert Comment

by:makerp
ID: 6227109
set a timer in the dialog so it dismisses itself after a set amount of time, assuming you dont want the user to have to dismiss it
0
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
ID: 6227196
Commonly called a "splash screen" and there are many examples of how to do this.

Here is an example:

http://www.codeproject.com/dialog/splasher.asp
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 2

Expert Comment

by:Chandra V
ID: 6227764
You Can Add a Splash Screen to your application by Cliking on

Project->Add to Project->Components and Controls

and selecting the 'Visual C++ Components' directory from the dialog, in the directory select the 'Splash Screen' and click 'Insert' Button. This will automatically add code to your application.

If you want to add some thin like 'Tip of the Day' you can add it by selecting the 'Tip of the day' in the dialog.
0
 

Author Comment

by:snb2001
ID: 6229957
How can I modify the contents of the splash screen obtained from Components and control
0
 

Author Comment

by:snb2001
ID: 6229971
I need to add database dependent info in the splash screen and not a bitmap.
0
 
LVL 32

Expert Comment

by:jhance
ID: 6230686
It doesn't matter, the technique is the same.  A window is just a window.  In the code where the bitmap is being drawn, draw it yourself and put your database output there.
0
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 9490129
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Answered by : jhance

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Roshan Davis
EE Cleanup Volunteer
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
has22 challenge 11 93
Line meaning 9 85
Message not shown 5 49
Bartender label printing - switch on and off graphics 3 36
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
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.

785 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