Carbon


Window Definition Message Constants

Header: MacWindows.h

enum {
    wDraw = 0,
    wHit = 1,
    wCalcRgns = 2,
    wNew = 3,
    wDispose = 4,
    wGrow = 5,
    wDrawGIcon = 6
};

Constant descriptions

wDraw

Draw the window’s frame.

wHit

Report the location of a mouse-down event.

wCalcRgns

Calculate the structure region and the content region.

wNew

Perform additional initialization.

wDispose

Perform additional disposal.

wGrow

Draw the dotted outline of the window that you see during a resizing operation.

wDrawGIcon

Draw the outlines for the size box and the scroll bar.

The Window Manager passes a value defined by one of these constants in the message parameter of your window definition function to specify the action your function must perform. Other messages are reserved for internal use by the system.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)