Function windows_win::raw::window::find_child

source ·
pub fn find_child<T: AsRef<OsStr>>(
    class_name: T,
    window_name: Option<T>,
    parent: Option<HWND>,
    child_after: Option<HWND>
) -> Result<HWND>
Expand description

Search for a window’s child.

Parameters

  • class_name - Name of window’s class.
  • window_name - Window’s title.
  • parent - Handle to a parent window. Default is desktop.
  • child_after - Handle to a child window after which to start search.

Return

  • Ok - Handle to window.
  • Err - Error reason.