Show / Hide Table of Contents

Method RestoreWindow

| Edit this page View Source

RestoreWindow(nint)

Activates and displays the window. If the window is minimized or maximized, the system restores it to its original size and position. An application should specify this flag when restoring a minimized window.

Declaration
public static bool RestoreWindow(nint hWnd)
Parameters
Type Name Description
nint hWnd

Window handle

Returns
Type Description
bool

true if the window was previously visible, or false if the window was previously hidden.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX