• 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: Desktop window eating clicks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Desktop window eating clicks


  • Subject: Re: Desktop window eating clicks
  • From: "email@hidden" <email@hidden>
  • Date: Wed, 13 May 2009 08:57:16 +0200

[window setIgnoresMouseEvents:YES];

2009/5/13 Trygve Inda <email@hidden>:
> imageView = [[NSImageView alloc] initWithFrame:NSMakeRect(0, 0,
> dispBounds.size.width, dispBounds.size.height)];
>
> [imageView setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
>
> window = [[NSWindow alloc] initWithContentRect:dispBounds
> styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO];
>
> [window setLevel:kCGDesktopWindowLevel+1];
>
> [[window contentView] setAutoresizesSubviews:YES];
>
> [[window contentView] addSubview:imageView];
>
> This works to create a window into which I draw an image, but clicks on the
> desktop do nothing to the icons sitting on the desktop.
>
> Why?
>
> Note that the window is owned by a background process
>
> <key>LSUIElement</key>
> <string>1</string>
>
> Thanks,
>
> Trygve
>
>
> _______________________________________________
>
> 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

References: 
 >Desktop window eating clicks (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: [iPhone] Caching images fetched from a URL?
  • Next by Date: Re: Desktop window eating clicks
  • Previous by thread: Re: Desktop window eating clicks
  • Next by thread: How to limit the file type when dragging?
  • Index(es):
    • Date
    • Thread