ReactOS 0.4.16-dev-2491-g3dc6630
IAccessibleComponent Interface Reference

This interface is implemented by any object that can be rendered on the screen. More...

Inheritance diagram for IAccessibleComponent:
Collaboration diagram for IAccessibleComponent:

Properties

long locationInParent ([out] long x) [get]
 Returns the location of the upper left corner of the object's bounding box relative to the immediate parent object.
 
IA2Color foreground [get]
 Returns the foreground color of this object.
 
IA2Color background [get]
 Returns the background color of this object.
 

Additional Inherited Members

- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Detailed Description

This interface is implemented by any object that can be rendered on the screen.

This interface provides the standard mechanism for an assistive technology to retrieve information concerning the graphical representation of an object. Coordinates used by the functions of this interface are specified in different coordinate systems. Their scale is the same and is equal to that of the screen coordinate system. In other words all coordinates are measured in pixels. They differ in their respective origin:

  • The screen coordinate system has its origin in the upper left corner of the current screen.
  • The origin of the parent coordinate system is the upper left corner of the parent's bounding box. With no parent the screen coordinate system is used instead.

Definition at line 2097 of file iaccessible2.idl.

Property Documentation

◆ background

IA2Color IAccessibleComponent::background
get

Returns the background color of this object.

Parameters
[out]backgroundThe returned color is the background color of this object or, if that is not supported, the default background color.
Return values
S_OK

◆ foreground

IA2Color IAccessibleComponent::foreground
get

Returns the foreground color of this object.

Parameters
[out]foregroundThe returned color is the foreground color of this object or, if that is not supported, the default foreground color.
Return values
S_OK

◆ locationInParent

long IAccessibleComponent::locationInParent([out] long x)
get

Returns the location of the upper left corner of the object's bounding box relative to the immediate parent object.

The coordinates of the bounding box are given relative to the parent's coordinate system. The coordinates of the returned position are relative to this object's parent or relative to the screen on which this object is rendered if it has no parent. If the object is not on any screen the returned position is (0,0).

Parameters
[out]x
[out]y
Return values
S_OK

The documentation for this interface was generated from the following file: