Also z.B. sowas hier:
Code: Alles auswählen
CatchImage(0, ?Picture)
width = ImageWidth(0)
height = ImageHeight(0)
If OpenWindow(0, 0, 0, width, height, "Das Bild", #PB_Window_SystemMenu|#PB_Window_ScreenCentered)
If CreateGadgetList(WindowId(0))
ImageGadget(0, 0, 0, width, height, ImageId(0)
EndIf
Repeat
Delay(0)
event = WindowEvent()
Until event = #PB_Event_CloseWindow
EndIf
Picture:
IncludeBinary("bild.bmp")