Writing an application and want to add a splash screen. I have two issues:
1) I want the Splash Window to remain Focused and On Top so it stays visible no matter what
2) I have an image on the screen and it is not showing and I am not sure why?
Code: Select all
Procedure CreateSplashWindow()
Protected GUIState = #False
If OpenWindow(#SplashWindow,0,0,505,241,"",#PB_Window_Invisible|#PB_Window_BorderLess|#PB_Window_ScreenCentered|#WS_POPUP)
ImageGadget(#SplashImage,10,10,405,141,ImageID(#GPLogo))
SetGadgetState(#SplashImage,ImageID(#GPLogo))
InvalidateRect_(GadgetID(#SplashImage),0,1)
GUIState = #True
Else
GUIState = #False
EndIf
ProcedureReturn GUIState
EndProcedure
