EnableExplicit If OpenWindow(0,0,0,500,250,"Window",#PB_Window_SystemMenu|#PB_Window_ScreenCentered) ;If OpenWindow(0,0,0,500,250,"Window",#PB_Window_BorderLess|#PB_Window_ScreenCentered) If GetWindowLongPtr_(WindowID(0),#GWL_STYLE)&#WS_BORDER MessageRequester("","Fensterrahmen: Ja",0) Else MessageRequester("","Fensterrahmen: Nein",0) EndIf End Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow EndIf