Used LoadImage to make SplashScr but no work
Posted: Mon Nov 22, 2010 4:57 am
Use the code below to Load full Screen Night time Image. When I try to load it, it sat incorrect parameter or some to that effect. Could some one please tell me how I can
make It work. Its a beautiful Image.
Kotpockets say thanks in advance!!
If OpenWindow(0, 0, 0, 1024,728, #PB_Window_ScreenCentered)
If LoadImage(0, "StarMap.bmp") ; change 2nd parameter to the path/filename of your image
;ImageGadget(0, 10, 10, 100, 83, ImageID(0)) ; imagegadget standard
;ImageGadget(1, 130, 10, 100, 83, ImageID(0), #PB_Image_Border) ; imagegadget with border
EndIf
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
make It work. Its a beautiful Image.
Kotpockets say thanks in advance!!
If OpenWindow(0, 0, 0, 1024,728, #PB_Window_ScreenCentered)
If LoadImage(0, "StarMap.bmp") ; change 2nd parameter to the path/filename of your image
;ImageGadget(0, 10, 10, 100, 83, ImageID(0)) ; imagegadget standard
;ImageGadget(1, 130, 10, 100, 83, ImageID(0), #PB_Image_Border) ; imagegadget with border
EndIf
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf