Show / Hide Table of Contents

Method wnd.HasStyle


Overload

Returns true if the window has all specified style flags (see wnd.Style).

public bool HasStyle(WS style, bool any = false)
Parameters
style  (WS)

One or more styles.

any  (bool)

Return true if has any (not necessary all) of the specified styles. Note: don't use WS.CAPTION, because it consists of two other styles - BORDER and DLGFRAME.

Returns
bool

Remarks

Supports lastError.