Show / Hide Table of Contents

Property wnd.CommonControlType


Overload

If this control is (or is based on) a standard control provided by Windows, such as button or treeview, returns the control type. Else returns None.

public WControlType CommonControlType { get; }
Property Value
WControlType

Remarks

Sends message WM_GETOBJECTQUERYCLASSNAMEIDX. Slower than wnd.ClassName or wnd.ClassNameIs, but can detect the base type of controls based on standard Windows controls but with a different class name.