I am trying to make a splash screen for my application, but the window that the splash screen should be in is transparent for some reason. Anyone experienced the same?
The image I am loading is located at the correct place, as I am loading it later on with the exact same code, and it works then
Here is code that I think is relevant:
HWND splashScreen = CreateWindowEx( WS_EX_CLIENTEDGE,"STATIC","",
// Load the picture for the splash screen
SendMessage( splashScreen, BM_SETIMAGE, IMAGE_BITMAP,
(LPARAM)LoadImage(NULL, TEXT("UI\\newFilmButton.bmp"), IMAGE_BITMAP,100,50,LR_LOADFROMFILE));
// Show the splash screen