◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINMENUS typedef struct _OWNERITEM { /* oi */ HWND hwnd; HPS hps; USHORT fsState; USHORT fsAttribute; USHORT fsStateOld; USHORT fsAttributeOld; RECTL rclItem; SHORT idItem; ULONG hItem; } OWNERITEM; The OWNERITEM structure contains information about an item, usually a list-box or a menu item. Field Description ──────────────────────────────────────────────────────────────────────────── hwnd Identifies the handle of the item. hps Identifies the presentation space. fsState Specifies highlighting flags. fsAttribute Specifies attribute flags. fsStateOld Specifies previous highlighting flags. fsAttributeOld Specifies previous attribute flags. rclItem Specifies the RECTL structure that contains the coordinates of the rectangle that bounds the item. idItem Identifies the item. hItem Specifies an application-defined item handle. See Also WM_DRAWITEM, WM_MEASUREITEM, RECTL ♦