Como ocultar/mostrar la title bar

Aquí puedes preguntar o compartir tus dudas y conocimientos acerca del programa
Hay alguna manera de ocultar/mostrar la title bar en los proyectos de ams?, creo recordar haber intentado con win api pero sin exit, alguien tiene algún método o Código para ello?
HIDE: ON
Hidebb Message Hidden Description
usamakey escribió:
07 May 2022 10:52
HIDE: ON
Hidebb Message Hidden Description
I'm trying start app in flat window mode, and swap to standard (non resizable) in specific page, but for my was impossible, the unique way was i found is making this stupid sequence
local WHandle = Application.GetWndHandle();
local params_def = (0x00000000+0x00C00000+0x00080000+0x00040000+0x00020000);

DLL.CallFunction("User32.dll", "SetWindowLongA", WHandle..",-16,"..params_def, DLL_RETURN_TYPE_INTEGER, DLL_CALL_STDCALL);--no es posible usar esta linea directamente, hay que usarla, algo por detras tiene que actualizarse(puto windows)
Window.Show(WHandle);

DLL.CallFunction("User32.dll", "SetWindowLongA", WHandle..",-16,"..0x00000000+0x00800000, DLL_RETURN_TYPE_INTEGER, DLL_CALL_STDCALL);--luego se puede ejecutar esta linea
Window.Show(WHandle);

DLL.CallFunction("User32.dll", "SetWindowLongA", WHandle..",-16,"..params_def, DLL_RETURN_TYPE_INTEGER, DLL_CALL_STDCALL);--y finalmente volver a ejecutar la primera nuevamente
Window.Show(WHandle);
Never mind, I think I'll leave it at that. Anyway thanks @usamakey ^^