Carbon


Window Feature Reporting Constants

Header: MacWindows.h

enum {
    kWindowCanGrow = 1,
    kWindowCanZoom = 2,
    kWindowCanCollapse = 4,
    kWindowIsModal = 8,
    kWindowCanGetWindowRegion = 16,
    kWindowIsAlert = 32,
    kWindowHasTitleBar = 64
};

Constant descriptions

kWindowCanGrow

If this bit (bit 0) is set, the window has a grow box (may not be visible).

kWindowCanZoom

If this bit (bit 1) is set, the window has a zoom box (may not be visible).

kWindowCanCollapse

If this bit (bit 2) is set, the window has a collapse box.

kWindowIsModal

If this bit (bit 3) is set, the window should behave as modal.

kWindowCanGetWindowRegion

If this bit (bit 4) is set, the window supports a call to GetWindowRegion.

kWindowIsAlert

If this bit (bit 5) is set, the window is an alert box (may be movable or not). When this constant is added to kWindowIsModal, the user should be able to switch out of the application and move the alert box.

kWindowHasTitleBar

If this bit (bit 6) is set, the window has a title bar.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)