View Single Post
Old 10-26-2019, 05:53 AM   #752
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default

Quote:
Originally Posted by Dafarkias View Post
Dafarky again. Different topic.

Is there currently a way to remove a window titlebar from a preexisting Reascript gfx window? Specifically:

https://forum.cockos.com/showthread.php?t=226263
yep:

From my Stripper script I use (along these lines):

Code:
local win = reaper.JS_Window_Find('- LBX Stripper -', true)
if win then
  local style = reaper.JS_Window_GetLong(win, 'STYLE')
  if style then
    style = style & (0xFFFFFFFF - 0x00C40000)
    reaper.JS_Window_SetLong(win, "STYLE", style)
  end
end
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website
lb0 is offline   Reply With Quote