There is at least one other one to stop the window from moving, but I think it requires a lot deeper coding than I would be able to do… I think it has something to do with the DefWindowProc, WM_SYSCOMMAND and SC_MOVE “thingies” so you can trap the move when the user clicks on the toolbar as well as the Move option in the window’s menu (the menu that appears when clicking on the top left corner of the window)…
Yeah yeah you want to lock it to lock it - nice answer mike but what can you expect from a goalie ?
Why would you want to lock it at all ?
If it looks like it can move but won’t then you may just get bug reports about it not moving
Is it to not overlay some main window ?
But if the person moves the window the tool window should move with the main window ?
It all started when I found the Cocoa declares then I was like “Dude cool… Ill put it in as a menubar option.”. I figured it would be easy on Win also Basically thats how I came to this epiphany
I juse used ad property 1 and 2 and get the status of the windows when you open the windows, and then I use this same in Move event of the windows, so the windows is locked, you can’t move it. Status1 and status2 is property for this Windows.