Seite 1 von 1

Kleines Fenster

Verfasst: 12.01.2005 18:42
von M@xx
Hi Leute!

Ist es irgendwie möglich, ein Fenster zu öffnen, das ungefähr 5*5 Pix groß
ist? Mit OpenWindow() hat PB wenn ich als Breite 5 angegeben hab, das
Fenster trotzdem ungefähr 100 Pixel breit gemacht :cry:.

Schonmal Danke im Vorraus!

Verfasst: 12.01.2005 18:48
von Zaphod
das fenster muß borderless sein.

Code: Alles auswählen

#mybutton = 5


If OpenWindow(0, 100, 200, 5, 5, #PB_Window_BorderLess | #PB_Window_ScreenCentered , "ziemlich kleines fenster")
   
  Repeat
    EventID.l = WaitWindowEvent()

    If EventID = #PB_Event_CloseWindow
      Quit = 1
    EndIf

  Until Quit = 1
 
EndIf

End 
[quote][/quote]

Verfasst: 12.01.2005 18:51
von M@xx
Danke :D :D !!!