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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for