AccessibleObject::UseStdAccessibleObjects Method (IntPtr, Int32)
This API supports the product infrastructure and is not intended to be used directly from your code.
Associates an object with an instance of an AccessibleObject based on the handle and the object id of the object.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
protected: [SecurityPermissionAttribute(SecurityAction::Demand, Flags = SecurityPermissionFlag::UnmanagedCode)] void UseStdAccessibleObjects( IntPtr handle, int objid )
Creates an accessible object with the methods and properties for the specified type of system-provided user interface element.
Server applications can call this function when they contain a custom UI object that is similar to a system-provided object. Server applications call CreateStdAccessibleObject and override the IAccessible methods and properties as needed to match their custom object. This approach saves server developers the work of fully implementing all the IAccessible properties and methods.
Valid objid values.
Refers to a message associated with a window or application.
Refers to the text insertion bar (caret) in the window.
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.
Refers to the mouse pointer. There is only one mouse pointer in the system and it is not a child of a window.
Refers to the window's horizontal scroll bar.
Refers to the window's menu bar.
Refers to the window's size grip, an optional frame component located at the lower right corner of the window frame.
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.
Refers to the window's system menu.
Refers to the window's title bar.
Refers to the window's vertical scroll bar.
Refers to the window itself rather than to a child object.
Available since 1.1