• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
kCGStatusWindowLevel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kCGStatusWindowLevel


  • Subject: kCGStatusWindowLevel
  • From: Orr Philip <email@hidden>
  • Date: Fri, 11 May 2007 18:16:23 +0100

I have a status menu item that displays a NSBorderlessWindowMask window. When the time comes to display the window I use [flipWindow makeKeyAndOrderFront:sender]; but this just displays the window on screen above all other windows but does not make it active or the main window. I have canBecomeKeyWindow and canBecomeMainWindow returning true.

Also when I orderOut the window disappears but no windows beneath it become active. I would like to return the active window back to that before my app was called, if any.

One other point I noticed, If you create a shortcut key combination for a menu option, since the menu app isn't active the key combination isn't recognised. Is there a way to over come this.

Thanks

Philip
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Prev by Date: Re: Hang when Nib is loaded
  • Next by Date: Re: Scope variable pattern
  • Previous by thread: Re: Transparent NSTableView background == black background?
  • Next by thread: Which flavor of objc_msgSend for NSSize return
  • Index(es):
    • Date
    • Thread