Platforms to show: All Mac Windows Linux Cross-Platform
FAQ.How to make a window borderless on Windows?
// Sets window to borderless popup type, and sets its initial dimensions.// Call this method, then Win32SetBorderlessPos, and then RB's Show// method. Use RB Frame type 7 (Global Floating Window).Const SWP_NOMOVE = &H2Const SWP_FRAMECHANGED = &H20Const HWND_TOPMOST = -1Const GWL_STYLE = -16Const WS_POPUPWINDOW = &H80880000Dim styleFlags as Integer#If TargetWin32 Then Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (hwnd as Integer, nIndex as Integer, dwNewLong as Integer) as Integer Declare Function SetWindowPos Lib "user32" (hwnd as Integer, hWndInstertAfter as Integer, x as Integer, y as Integer, cx as Integer, cy as Integer, flags as Integer) as Integer styleFlags = SetWindowLong( w.WinHWND, GWL_STYLE, WS_POPUPWINDOW ) styleFlags = BitwiseOr( SWP_FRAMECHANGED, SWP_NOMOVE ) styleFlags = SetWindowPos( w.WinHWND, HWND_TOPMOST, 0, 0, wd, ht, styleFlags ) #EndIf