Custom Window Frame in Carbon

I wrote this example ages ago, but it never saw the light of day. Today I decided to clean it up a bit and put it out there for others to play with. It’s a simple piece of code that shows how simple it is to put up a window with a custom frame that replaces the standard frame you’d see in a Mac OS X Window.

This is written in Carbon, not Cocoa. It’s fairly straightforward in Cocoa as well. I think the same basic principles apply, only there’s more of @ and[] and sometimes $#%!#(.

It uses the HIFramework stuff that’s part of the Apple Developer examples.

Enjoy.

CustomFrame.zip


No Comments so far
Leave a comment



Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(required)

(required)