Prevent Window Dragging?

Is it possible to prevent a window from being moved by dragging?

I’m creating a small app (just for my own personal use), and would like the window to stay exactly where it opens - I want to prevent the window from becoming draggable.

Any pointers would be greatly appreciated.
Thank you all in advance.

Use a plain box…

I tried that previously, but my window has a toolbar, so unfortunately that is not an option :frowning:
I thought maybe there was some kind of declare, which would allow a window to have a toolbar, but have it’s position fixed.

Thank you for trying to help :slight_smile:

Sub Open() declare sub setMovable lib "AppKit" selector "setMovable:" (windowRef as integer, value as Boolean) setMovable(self.handle, false) End Sub

Exactly what I needed - thank you Tim :slight_smile: