• 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: Display a "Red frame" on the screen
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Display a "Red frame" on the screen


  • Subject: Re: Display a "Red frame" on the screen
  • From: Peter Lübke <email@hidden>
  • Date: Fri, 08 Apr 2011 20:26:34 +0200


Am 08.04.2011 um 19:24 schrieb eveningnick eveningnick:

I was thinking about the window. But then it has to be something with
a big hole inside. This hole ought to be transparent for mouse clicks
(so if there's something below my "window", that 'something' has to be
clickable and focused, and receive keyboard input)? Is it possible to
do somehow? Borderless is a window without a title (as i understand).
What kind of properties should i specify to make a window as that "Red
frame"? I mean, i really want it to be just a mark for the user,
without any "windowing" behaviour (well, the user can drag it, if he
clicks on the 'red frame' with mouse, but that is the only relation to
a real window it should have).

In OS Windows i would probably use "Regions" API, but i have no idea
what to do in Mac OS. Could you give me a clue?

Invoke -setIgnoresMouseEvents: on the borderless window.

Cheers,

Peter

_______________________________________________

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


  • Prev by Date: Re: Compiling screensaver for 10.5
  • Next by Date: Re: Compiling screensaver for 10.5
  • Previous by thread: Re: Display a "Red frame" on the screen
  • Next by thread: Framework Installation Directory
  • Index(es):
    • Date
    • Thread