paint the screen grey when the application begins

allimbued

Member
Joined
Feb 23, 2012
Messages
11
Programming Experience
Beginner
I am trying to paint the Computer Screen grey for the duration that the splash screen and the next popup screen (both of the dimensions lesser than the Computer Monitor's)run, the background is always grey.
I have the following for that
VB.NET:
System.Drawing.Graphics.FromHdc(GetWindowDC(0)).DrawImage(b, 
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]My[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2].Computer.Screen.Bounds)
Application.Run(rd)
[/SIZE]


The application begins with a splash screen. Though the background is grey initially, as soon as the splash screen runs, the background grey vanishes. Please help me engineer the code to accomplish the goal.
Thanks
 
Back
Top