G
Guest
Hi,
I have a Windows Forms .NET application - I'm trying to display a splash
screen.
I've checked out the online suggestion :
http://support.microsoft.com/default.aspx?scid=kb;en-us;186459
I cut & paste the provided Splash.c into Form1.cpp - I modify my resource.h
to define the bitmap, delete my app.rc & add splash.rc. I also add
Splashu.bmp & Icon1.ico as resource files.
It looks the most promising, but I can't shake 2 errors :
error C2440: '=' : cannot convert from 'HANDLE' to 'HBITMAP'
error C2440: '=' : cannot convert from 'HGDIOBJ' to 'HBRUSH'
I'm guessing I didn't incorporate the splash window properly - what could be
the reason for the error ?
Thanks,
ak
I have a Windows Forms .NET application - I'm trying to display a splash
screen.
I've checked out the online suggestion :
http://support.microsoft.com/default.aspx?scid=kb;en-us;186459
I cut & paste the provided Splash.c into Form1.cpp - I modify my resource.h
to define the bitmap, delete my app.rc & add splash.rc. I also add
Splashu.bmp & Icon1.ico as resource files.
It looks the most promising, but I can't shake 2 errors :
error C2440: '=' : cannot convert from 'HANDLE' to 'HBITMAP'
error C2440: '=' : cannot convert from 'HGDIOBJ' to 'HBRUSH'
I'm guessing I didn't incorporate the splash window properly - what could be
the reason for the error ?
Thanks,
ak