• 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: Problems when putting a window between desktop and desktop icons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems when putting a window between desktop and desktop icons


  • Subject: Re: Problems when putting a window between desktop and desktop icons
  • From: Andreas Mayer <email@hidden>
  • Date: Fri, 24 Oct 2008 01:15:46 +0200


Am 23.10.2008 um 19:48 Uhr schrieb Markus Amalthea Magnuson:

Any other suggestions are welcome.

I did not see any reply to Charles' suggestion:

Am 21.10.2008 um 23:09 Uhr schrieb Charles Steinman:

Does [window setIgnoresMouseEvents:YES] work?

In case that does *not* work, you may need to additionally tell Carbon that you want the window to ignore mouse events:


- (void)setClickThrough:(BOOL)clickThrough
{
/* carbon */
void *ref = [window windowRef];
if (clickThrough) {
ChangeWindowAttributes(ref, kWindowIgnoreClicksAttribute, kWindowNoAttributes);
} else {
ChangeWindowAttributes(ref, kWindowNoAttributes, kWindowIgnoreClicksAttribute);
}
/* cocoa */
[window setIgnoresMouseEvents:clickThrough];
}



Andreas _______________________________________________

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: 
 >Re: Problems when putting a window between desktop and desktop icons (From: Matt Neuburg <email@hidden>)
 >Re: Problems when putting a window between desktop and desktop icons (From: "Markus Amalthea Magnuson" <email@hidden>)

  • Prev by Date: Re: MVC
  • Next by Date: Re: /Library/Logs vs. user/Library/Logs
  • Previous by thread: Re: Problems when putting a window between desktop and desktop icons
  • Next by thread: Re: Problems when putting a window between desktop and desktop icons
  • Index(es):
    • Date
    • Thread