Code: Alles auswählen
If OpenWindow(0, 450, 200, 300, 100, #PB_Window_SystemMenu | #PB_Window_TitleBar , "hiltwin_1.00")
SetWindowPos_(WindowID(),#HWND_TOPMOST,0,0,0,0,#SWP_SHOWWINDOW|#SWP_NOMOVE|#SWP_NOSIZE)
If CreateGadgetList(WindowID())
ButtonGadget(0, 235, 70, 60, 20, "ok")
StartDrawing(WindowOutput())
DrawingMode(1)
Locate(110, 10)
DrawText("(c) hiltwin 2005")
Locate(110, 30)
DrawText("version 1.00")
Locate(110, 50)
DrawText("www.hiltwin.org")
; UseImage(1)
; DrawImage(ImageID(), 1, 1 , 96, 96)
StopDrawing() ; This is absolutely needed when the drawing operations are finished !!! Never forget it !
EndIf
EndIf
Repeat
Event = WaitWindowEvent()
WindowID = EventWindowID()
If WindowID=0 And event= #PB_Event_CloseWindow
quit=1
EndIf
Until quit=1
quit=0
CloseWindow(0)
Frdl. Gruss
Hiltwin