Hello, List, Question about the window level. I will be so appreciated for any comments.
There are three kinds of windows in my application: one modal window, the window launched by NSHelperManager, and the font or color panel. For my application, there is a button in the modal window, if user click this button, I will open the helper book through NSHelperManager. Unfortunately, the helper window is ordered in the back of the modal window, I think this is not so UI-friendly. in order to put the helper book window in the front of the modal window, I set the modal window level when the this window become main or key: -(void) windowDidBecomeMain:(NSNotification*) n { [myWindow setLevel:kCGNormalWindowLevel+1]; } but this change cause another issue that, the font panel will appear in the front of the modal window, when user click the font menu. So, do you have any suggestion, I have tried other window level values defined, but all failed to reach my goal, that making the modal window be ordered in the back of the helper window, but ordered in the front of the others. Thanks very much. Andrew _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com