• 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
Re: anotherDockProgram-help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: anotherDockProgram-help


  • Subject: Re: anotherDockProgram-help
  • From: Uli Kusterer <email@hidden>
  • Date: Sat, 21 Jan 2006 11:19:44 +0100

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
  • Follow-Ups:
    • Re: anotherDockProgram-help
      • From: Alan Smith <email@hidden>
    • Re: anotherDockProgram-help
      • From: Markus Hitter <email@hidden>
References: 
 >anotherDockProgram-help (From: Alan Smith <email@hidden>)

  • Prev by Date: Re: drawing and setting pixels
  • Next by Date: Re: drawing and setting pixels
  • Previous by thread: Re: anotherDockProgram-help
  • Next by thread: Re: anotherDockProgram-help
  • Index(es):
    • Date
    • Thread