Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » About Splashwnd Collapse All
Subject Author Date
Anil Siddhpura Nov 11, 2009 - 12:32 AM


I have created one SDI Application. And i am using splash wnd before the frame is created.

I have used the same splash wnd class given in one of your sample application. It is working fine. But the problem is, my screen resolution is too high. And the bitmap image i used in splash wnd is small compare to that screen resolution. Because of that my whole screen does not cover by that bitmap image.


Is there any way to stratch the bitmap image in splash wnd? So that i can cover whole screen with that bitmap before that frame created.


Technical Support Nov 14, 2009 - 2:15 PM

Here is how you can get the size of the desktop:

CPoint pt( 0, 0 );
CExtPaintManager::monitor_parms_t _mp;
            CExtPaintManager::stat_GetMonitorParms( _mp, pt ); 

The _mp.m_rcMonitor property specifies the entire monitor coordinates including all the shell bar windows docked to the monitor sides (i.e. windows like standard Windows Task Bar). The _mp.m_rcWorkArea property specifies the work area coordinates on the monitor which does not include shell bars (i.e. coordinates of the maximized window). The last rectangle is what you need. It gives you size of bitmap you should use in your splash window.

Technical Support Nov 12, 2009 - 2:30 PM

You can query the size of desktop area and resize your splash bitmap to make it equal to desktop area size. Then you can assign such big bitmap to your splash window.

Anil Siddhpura Nov 13, 2009 - 11:43 PM


Yes i have already tried that. I am quering my screen size and then set the bitmap size. But the problem is my Bitmap is not that much large.
Is there any way to stratch bitmap as per screen size in splashwnd.

Anil Siddhpura Nov 11, 2009 - 10:17 PM


No, it’s showing the bitmap correctely, but the problem is it covers only some part of screen(the size of bitmap). I want to cover whole screen with botmap. So is there any way to stratch the bitmap at run time using splash wnd.

Technical Support Nov 11, 2009 - 11:49 AM

Splash windows are typically quite small and never cover the entire screen. At least we did not see such full screen splash windows.
Do you mean that the splash window does not show its bitmap background correctly? Could you provide us with a screenshot demonstrating what’s wrong with the splash window in your application.