You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Overlay/Photoshop Splash Screen/Photoshop Splash Screen
MenuBar Menu
MenuItem UntitledMenu3 = ""
MenuItem UntitledMenu2 = "File"
MenuItem FileQuit = "Quit"
MenuItem UntitledMenu0 = "Edit"
MenuItem EditUndo = "Undo"
MenuItem UntitledMenu1 = "-"
MenuItem EditCut = "Cut"
MenuItem EditCopy = "Copy"
MenuItem EditPaste = "Paste"
MenuItem EditClear = "Clear"
End MenuBar
Class App Inherits Application
EventHandler Sub Open()
dim w,h,x,y as integer
w=SplashScreen.Width
h=SplashScreen.Height
x=(screen(0).Width-w)/2
y=(screen(0).Height-h)/2
o=new OverlayMBS(x,y,w,h)
o.Pict=SplashScreen
o.mask=SplashScreenMask
o.UpdateShow
t = new MyTimer
t.Period = 60000 // one minute
t.Mode = 1
me.AutoQuit = false // for Windows
End EventHandler
Property o As overlaymbs
Property t As MyTimer
End Class
ExternalFile SplashScreen
End ExternalFile
ExternalFile SplashScreenMask
End ExternalFile
Class MyTimer Inherits Timer
EventHandler Sub Action()
quit
End EventHandler
End Class