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 protected])

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 [EMAIL PROTECTED]

Reply via email to