Re: anotherDockProgram-help
Re: anotherDockProgram-help
- Subject: Re: anotherDockProgram-help
- From: Alan Smith <email@hidden>
- Date: Sat, 21 Jan 2006 10:38:19 -0500
Thanks, guys! I just googled NDAlias and found the developers home page, so
I think that I wouldn't have any problem implementing that. But how do you
subclass NSWindow? The only way I can think of is through IB. Just like
subclassing NSObject. But then how do you change the flag? Do you link the
window to the subclass and then in the .m file change it?
I just hope you all don't find this to trivial and leave me in the dark.
Thanks again, Alan
On 1/21/06, Uli Kusterer <email@hidden> wrote:
>
> Am 19.01.2006 um 15:17 schrieb Alan Smith:
> > I'm pretty new to Cocoa so don't say things like "ah, duh", and
> > "you dits".
>
> "you dits"?
>
> > I want to write a better Dock and have quite a few questions about
> > that kind
> > of stuff. I'll ask one question at a time. The first one: how do
> > you make a
> > border-less window NON-programatically?
>
> An easy way to do it and make NIBs like you're used to would be to
> subclass NSWindow and change the constructor so it turns on the
> borderless window flag. Then all you have to do is set the "Custom
> Class" of the window in your NIB after dragging in your custom window
> header into the NIB file.
>
> > I found on the web how to make one
> > programatically but then you can't place things in it with IB. Or
> > can you?
>
> You could always use NSNibLoading to load stuff from a NIB file.
>
> > If this first question is easily answered, then here's the next
> > one: how do
> > you make alias's and have them show up on your window?
>
> Someone mentioned NDAlias, which I'd also recommend. I think
> there's also BDAlias. Google should tell you more. Showing them on
> the window means you'll have to make your own view to display them or
> use an NSButton or an NSMatrix of NSButtonCells or whatever else you
> can think of.
>
> Cheers,
> -- M. Uli Kusterer
> http://www.zathras.de
>
>
>
_______________________________________________
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