Help needed with Minimizing...


cocoa love
Okay hi my name is Roger, and i have a problem with minimizing a window i am currently working on. This is no ordinary window. It has a custom window shape, and image. Its alot like the "RoundTransparentWindow" that comes from Apple. However i can't get it to minimize. I hook up buttons and tell it to minimize but it just emitts a warning beep. Can anyone help me with this? Thanks.