Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Utility window does not allow collapse
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Utility window does not allow collapse



I would like my utility window to be collapsable under OS X. But when I create the window as follows:

result = CreateNewWindow( kUtilityWindowClass,
kWindowStandardFloatingAttributes + kWindowStandardHandlerAttribute,
&boundsRect, &gKeyboardPalette );

Whereby MacWindows.h defines:

kWindowStandardFloatingAttributes = (kWindowCloseBoxAttribute | kWindowCollapseBoxAttribute)

My window does not become collapsable. The collapse box does not become active. If I change the window class to kDocumentWindowClass the window does become collapsable. I run 10.0.4.

Is this a bug or some kind of HI 'feature'?

David.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.