Hi, I am developing an app in cocoa.I need to show a progress at the bottom bar of window .But i am searching for a solution to put a bottom bar in a NSwindow .Looking forward for a solution
+9
A:
This is the code to put a bar at the bottom of the window (like in the finder):
[theWindow setContentBorderThickness:24.0 forEdge:NSMinYEdge];
Tom Dalling
2009-07-08 10:00:37
Don't forget to set `autorecalculatesContentBorderThickness` to `NO`: http://developer.apple.com/releasenotes/Cocoa/AppKit.html
Peter Hosey
2009-07-08 11:36:12
I've been looking for this for over a year, thanks!
alexy13
2010-09-13 21:27:19
+2
A:
Tom's answer is correct, but also take a look at BWToolKit. It includes a few nice controls for working with bottom bars.
Marc Charbonneau
2009-07-08 13:17:02