AppWindow.ShowOnceWithRequestedStartupState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Shows the window with the default presenter in the requested state.
public:
virtual void ShowOnceWithRequestedStartupState() = ShowOnceWithRequestedStartupState;
void ShowOnceWithRequestedStartupState();
public void ShowOnceWithRequestedStartupState();
function showOnceWithRequestedStartupState()
Public Sub ShowOnceWithRequestedStartupState ()
Remarks
ShowOnceWithRequestedStartupState
is the equivalent of calling ShowWindow(SW_SHOWDEFAULT). It uses the show mode specified in the STARTUPINFO struct, if specified. This applies to the default presenter (OverlappedPresenter). Check the OverlappedPresenter.RequestedStartupState property to determine the presenter state (Maximized
, Minimized
, or Restored
) that will result from calling the ShowOnceWithRequestedStartupState
method.