[This is an old thread, posting for the archives.]
Synopsis: using a NSPanel to show a message and a determinate
progress indicator results in the progress bar drawing in grey
instead of Aqua.
This happens if the window is not key.
PGM in the original thread had the solution, and it's also touched on
in NSWindow's class description:
canBecomeKeyWindow
Returns YES if the receiver can become the key window, NO if it can't.
- (BOOL)canBecomeKeyWindow
Discussion
Attempts to make the receiver the key window are abandoned if this
method returns NO. NSWindow's implementation returns YES if the
receiver has a title bar or a resize bar, NO otherwise.
Now, my custom panel had a single overridden method: