• 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
Xcode: Setting window to ignore mouse click events & Build problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Doc-based app, text fields, and losing focus
  • Next by Date: Re: Opening a sheet in a non document project?
  • Previous by thread: Re: Doc-based app, text fields, and losing focus
  • Next by thread: Document opening question
  • Index(es):
    • Date
    • Thread