Xcode: Setting window to ignore mouse click events & Build problems
Xcode: Setting window to ignore mouse click events & Build problems
- Subject: Xcode: Setting window to ignore mouse click events & Build problems
- From: Jacob Chapa <email@hidden>
- Date: Tue, 25 Nov 2003 13:56:40 -0600
I am trying to get a window to ignore mouse click events.
The window is behind the desktop icons
I successfully did this in Project builder with this code:
- (void)setClickThrough:(BOOL)clickThrough
{
/* carbon */
void *ref = [mainWindow windowRef];
if (clickThrough)
ChangeWindowAttributes(ref, kWindowIgnoreClicksAttribute,
kWindowNoAttributes);
else
ChangeWindowAttributes(ref, kWindowNoAttributes,
kWindowIgnoreClicksAttribute);
/* cocoa */
[mainWindow setIgnoresMouseEvents:clickThrough];
}
However in Xcode this does not do anything, it does not make the window
ignore mouse events so that they can go to the desktop icons.
Also, when I open the standalone build it opens just fine on my
computer, but on anyone else running panther it wont open. It tries to
open, then closes back up.
Is this a known problem? Any information would help.
Thank you.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.