Hi everyone
I hope that question was not asked before, so it's bar basic.
I'm looking to make a toggled menu item on my app but i don't find the appriopriate documentation, neither a sample code to look.

I would like to make a menu item with two step
Show / Hide "Window", like the toggle menu item when you show/hide a toollbar...
It's covered by the Aqua Human Interfaces guidelines pdf, but no indication found for "How To" this... (page 48)
For the moment I have two menu items :
-> Show
The Window
- (IBAction)showWindow

id)sender
{
/* display our window */
[self showTheWindow:itsWindow];
}
-> Hide
The Window
- (IBAction)hideWindow

id)sender
{
/* close our window */
[itsWindow close];
}
Of course, I made an IBOutlet for itsWindow
If anyone have an idea, I know it's a basic question, but it'll be much apprieciated
Thx,
Az'