Re: Global utility windows
Re: Global utility windows
- Subject: Re: Global utility windows
- From: adam baker <email@hidden>
- Date: Sun, 22 Dec 2002 11:29:46 -0500
Clark
If what you're talking about is a systemwide utility window (that is, a
utility window that floats above all other open windows), then you can
do it in either Carbon or Cocoa.
In Carbon, use the Window manager function CreateNewWindow and specify
kUtilityWindowClass.
In Cocoa, create an NSPanel and specify NSNonActivatingPanelMask as the
styleMask. This is only available in Mac OS X 10.2 and later.
For more information, see Aqua Human Interface Guidelines: Windows
(
http://developer.apple.com/techpubs/macosx/Essentials/
AquaHIGuidelines/AHIGWindows/index.html).
Best of luck and best wishes for the holidays,
adam
On Saturday, December 21, 2002, at 04:27 PM, Clark Mueller wrote:
Can these be done in Cocoa? What I'm looking for is a window that
behaves like a utility window but that stays floating in all
applications, like is used in Christ's Tree (it's on Apple's main Mac
OS X downloads page, right now)? Can it be done in Cocoa? Can it be
done in Carbon? I haven't been able to find how to do it at all, but
I've seen a lot of evidence that it's possible. I haven't found any
kind of documentation that has tipped me off, and all of my web
searches on the topic have turned up dry - many examples of apps that
use them, but none on how to make them.
Thanks in advance,
Clark Mueller
email@hidden
_______________________________________________
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.