msos2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
OWNERITEM (1.2)
                                                      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