Object Identifiers

[This is preliminary documentation and subject to change.]

The oleacc.dll dynamic-link library recognizes and provides the following standard object identifiers (defined in winable.h). The system reserves zero and all negative values for standard objects.

Clients will receive and use these values to identify parts of a window. Servers use these values to identify the corresponding parts of a window, but must provide positive values to identify any other objects they employ within an application.

OBJID_ALERT
Refers to an alert associated with a window or application.
OBJID_CARET
Refers to the text insertion bar (caret) in the window.
OBJID_CLIENT
Refers to the window's client area. In most cases, the operating system controls the frame elements and the client object contains all elements that the application controls. List boxes use OBJID_CLIENT for item notifications.
OBJID_CURSOR
Refers to the mouse pointer. There is only one mouse pointer in the system and it is not a child of any window.
OBJID_HSCROLL
Refers to the window's horizontal scroll bar.
OBJID_MENU
Refers to the window's menu bar.
OBJID_SIZEGRIP
Refers to the window's size grip, an optional frame component located at the lower right corner of the window frame.
OBJID_SOUND
Refers to a sound object. Sound objects do not have screen locations or children, but do have name and state attributes. They are children of the application playing the sound.
OBJID_SYSMENU
Refers to the window's system menu.
OBJID_TITLEBAR
Refers to the window's title bar.
OBJID_VSCROLL
Refers to the window's vertical scroll bar.
OBJID_WINDOW
Refers to the window itself rather than a child object.