Hello, i'm trying to change the behaviour of my window when i press the close button ( or command + w), the idea is that it is only hidden ( like ichat) as if i had done command + h
i ve yet been unsuccessful with this
what i tried was simply putting my AppController as the delegate of my window and overwrite the windowShouldClose method, inside i did
but that did not work, i still can t get it back after closing...
any ideas?
thank you
i ve yet been unsuccessful with this
what i tried was simply putting my AppController as the delegate of my window and overwrite the windowShouldClose method, inside i did
Code:
[mainWindow orderOut:[notification object]];
return;
any ideas?
thank you