Quote Originally Posted by czar
http://www.pascalgamedevelopment.com/viewtopic.php?t=3963&highlight=wmsyscommand

have a look there

This is what I use - but more info in the thread


procedure WMSysCommand(var Msg : TWMSysCommand); message WM_SYSCOMMAND;
How is this proc suppose to be called? It won't plug onto the application.OnMessage....