Re: Implementing backgrounded/anchored windows
Re: Implementing backgrounded/anchored windows
- Subject: Re: Implementing backgrounded/anchored windows
- From: Darkshadow <email@hidden>
- Date: Mon, 2 Jun 2003 02:34:05 -0400
- Nightproductions: dreamstatic.dyndns.org
Set the window level to -1 and it'll "stick" to the desktop. Even if
the application is active, it'll stay behind all the other windows.
[[textView window] setLevel:-1]
To get it acting normal again, set the level to zero.
Darkshadow
On Monday, June 2, 2003, at 01:39 AM, R. Kyle wrote:
Hey all,
I've looked around quite a bit, tried a few things and I'm still
running
into problems with this. I apologize if you've heard this one before..
I have a small application which uses NSTextView to display an HTML
page
in the background and refresh it every minute or so. I want the window
to
be anchored to the desktop-- if possible, it'd be great if the window
would stay anchored until a modifier key is held down and the window is
dragged around...but I know that might be a little much to ask :)
I currently have the app backgrounded with LSUIElement. Thanks in
advance
for any help you might be able to provide, I'm very new to Cocoa
programming (this is week one)..
Best,
--Ryan
Ryan Kyle
Mary Gates Hall CRC Macintosh Lead
Educational Partnerships and Learning Technologies
131E Mary Gates Hall
University of Washington
(206) 221-6850
_______________________________________________
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.
_______________________________________________
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.