but if i press on dock icon,
only the menu reappear not the window.... How to tell application on a
click on dock if it is close to reappear?
See:
- (BOOL)applicationShouldHandleReopen:(NSApplication *)theApplication
hasVisibleWindows:(BOOL)flag
in NSApplication docs.