• 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
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: Tommaso Pecorella <email@hidden>
  • Date: Wed, 9 Feb 2005 18:45:51 +0100

Hi,

I'd like to create a simple window that should stay on the background of the desktop (aka, behind all the icons, without interfering with normal icon placement or operation).

My window is a borderless window, more or less the Apple RoundTransparentWindow sample code, with a minor tweak.
I found out that using
[result setLevel: kCGDesktopWindowLevel];
the window is where it should be, but it still catch mouse events and it is impossible to place an icon above it, though it is possible to place the window behing the icon. Aka, the icon stops working if the window is behind it.

How can I avoid this ?

Moreover (yes, I want too much), I'd like to be able to re-enable mouse events catching in a simple way.
Let me better explain. The app will be a dock-free, menu-free app (NSUIElement = 1). It should be launched at login and stay there... but I need to be able to quit it in a more elegant way than a kill from a terminal, to move the window if needed, to resize the window if needed (both operations will be not so frequent) and to twek some parameters from a config panel.

My idea is to write a companion app that re-enable the "normal" behavior (menu and so on) so I can use a plain config panel and move the window.
Any good idea to do this ?

Thanks in advange,
Tommaso


---
Tommaso Pecorella - Ph.D.

CNIT Research Scientist
Università di Firenze Unit

email: email@hidden
       email@hidden

phone1: +39-055-4796485
phone2: +39-0574-602539
mobile: +39-348-0176826
fax:    +39-055-4796485
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Ignore mouse events and desktop level window (it's always better with a subject)
      • From: Stephane Sudre <email@hidden>
  • Prev by Date: DOM classes?
  • Next by Date: Re: Ignore mouse events and desktop level window (it's always better with a subject)
  • Previous by thread: Re: DOM classes?
  • Next by thread: Re: Ignore mouse events and desktop level window (it's always better with a subject)
  • Index(es):
    • Date
    • Thread