• 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
Re: NSView directly drawn on screen?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSView directly drawn on screen?


  • Subject: Re: NSView directly drawn on screen?
  • From: Chunk 1978 <email@hidden>
  • Date: Fri, 12 Jun 2009 02:59:44 -0400

NSBorderlessWindowMask (i think that's what it's called) is what
you're looking for.  Apple supplies a sample app here:
http://developer.apple.com/samplecode/RoundTransparentWindow/index.html

On Fri, Jun 12, 2009 at 1:51 AM, John Ku<email@hidden> wrote:
> What I am trying to achieve is like CoverSutra's:
> screenshot1.png<http://sophiestication.s3.amazonaws.com/images/coversutra/screenshot1.png>
> A menu bar pop up menu where there is key/responder event but yet doesn't
> switch away from the current running application.
>
> I experiemented with various NSWindow settings, but it always deactivates
> the current application and switches to my app.
>
> I am a starting coder so I haven't fully comprehended Apple's provided
> documents. But my wild wild guess is drawing an NSView directly without
> NSWindow. Would this work? Is this
> possible? What other ways can this be done?
>
>
> Thank you all,
> John
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSView directly drawn on screen?
      • From: John Ku <email@hidden>
References: 
 >NSView directly drawn on screen? (From: John Ku <email@hidden>)

  • Prev by Date: Re: API for fetching the computer name in cocoa
  • Next by Date: Re: API for fetching the computer name in cocoa
  • Previous by thread: NSView directly drawn on screen?
  • Next by thread: Re: NSView directly drawn on screen?
  • Index(es):
    • Date
    • Thread