Method wnd.IsOwnedBy
Overload
Returns true
if this window is directly or indirectly owned by window w.
public bool IsOwnedBy(wnd w, int level)
Parameters
w (wnd) |
level (int)
Return
|
Returns
Remarks
Many popup menus and similar temporary windows don't have an owner window. Instead they have topmost style. If level is 2, this function tries to detect this case. In most cases it works, but not always (depends on styles).