Re: Types of Windows
Re: Types of Windows
- Subject: Re: Types of Windows
- From: Lorenzo <email@hidden>
- Date: Tue, 04 May 2004 11:22:47 +0200
Hi,
thanks for replying so quickly.
I already activated that check-box with no result.
But I found the way to get what I needed.
I subclassed shorlty the NSPanel then I overrided only this method:
@implementation MYPaletteWindow
- (BOOL)canBecomeKeyWindow
{
return NO;
}
@end
This way my palette window never becames active and it never deactivates the
other windows. And I can quite drag items from the palette to the other
windows. Great.
Thank you anyway.
Best Regards
--
Lorenzo
email: email@hidden
>
From: "M. Uli Kusterer" <email@hidden>
>
Date: Tue, 04 May 2004 10:57:55 +0200
>
To: Lorenzo <email@hidden>, email@hidden
>
Subject: Re: Types of Windows
>
>
At 8:52 Uhr +0200 04.05.2004, Lorenzo wrote:
>
> I created a NSPanel with the check-box "utility windows" on.
>
> The palette window stays over the other windows very well as I expected.
>
> But when I click on it, it becames the active window, deactivating the other
>
> windows. And I don't want this. I have to drag an item from the palette
>
> window to a different window, and any time I try to drag an item, the other
>
> window deactivates. Do you know how to solve this problem?
>
>
There's a "non-activating panel" option on NSPanel in Interface
>
Builder, but I haven't tried whether that fixes it yet.
>
--
>
Cheers,
>
M. Uli Kusterer
>
------------------------------------------------------------
>
"The Witnesses of TeachText are everywhere..."
>
http://www.zathras.de
_______________________________________________
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.