Export (0) Print
Expand All

Appendix F: Object Identifier Values for OBJID_QUERYCLASSNAMEIDX

When OLEACC sends a WM_GETOBJECT message with the lParam parameter set to OBJIDQUERYCLASSNAMEIDX, many standard USER or common controls (COMCTL) return one of the following values.

USER or common controlReturn value
Listbox65536+0
Button65536+2
Static65536+3
Edit65536+4
Combobox65536+5
Scrollbar65536+10
Status65536+11
Toolbar65536+12
Progress65536+13
Animate65536+14
Tab65536+15
Hotkey65536+16
Header65536+17
Trackbar65536+18
Listview65536+19
Updown65536+22
ToolTips65536+24
Treeview65536+25
RichEdit65536+28

 

Only USER and Windows common controls (COMCTL) will return one of the values from the table. If a window returns 0 in response to this message, the window may be one of the following:

  • A custom control
  • A control other than one of the controls in the previous table
  • An old version of a system control that does not recognize the WM_GETOBJECT message

If a window returns 0, clients may need to use RealGetWindowClass or GetClassName. You can use these functions to determine the type of control based on class name.

In general, clients can use the information provided by OLEACC.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft