
m_ xxxPointSize - the point size used for strings, (-1,-1) => Calculate point size.m_ xxxFontName - the name of the font for strings.m_ xxxRightMargin - the distance from the right side to strings.m_ xxxLeftMargin - the distance from the left side to the place strings.m_ xxxVerticalHeight - the maximum height of a group of strings.m_ xxxVerticalOffset - empty space between the top of the bitmap and the first string.

I use Status only when the application is loading.Įach group has static variables that specify how the strings in that group are drawn: I prefer the product name to be larger, with the multiple lines of the body smaller. The Body consists of one or more of the company name, version, copyright, and comment strings. There are 3 groupings of strings: Product Name, Body, and Status. The version strings are written on top of the bitmap.
Screen marker byshighlight mfc professional#
Depending on your artistic talent, you can make a very professional splash screen. I typically place the company logo and the application icon in the IDB_SPLASH bitmap. Since I'm a consultant, I create a specialized bitmap for each client. replace About Dialog with Splash windowĬSplashWindow::ShowSplashScreen( this, " ", 10000) Void CSplashMfcDialogDlg::OnSysCommand(UINT nID, LPARAM lParam) The splash screen disappears when clicked on, a key is pressed, or the desired time has elapsed. Therefore, you don't have to modify the splash screen every time the version changes. The class gets all the information to display the splash screen from a bitmap and the version strings in the resources. I wrote another article, Splash Screen C++ Class without MFC or. The class consists of two files, SplashWindow.h and SplashWindow.cpp. I use this class for programs from tiny dialog applets to complex applications that take a couple of minutes to load and initialize. Gone are the problems of mismatched version numbers and forgetting to fill in the version strings. CSplashWindow satisfies these requirements by having a visually appealing client graphic and all the information drawn from the version strings. As a consultant, I strive to create a professional product that looks good, is free from errors and is customized to the client. Most developers use the boring “about dialog” that is created automatically. I created the class, CSplashWindow, to handle both.
Screen marker byshighlight mfc download#
