IVsUIShell::SetToolbarVisibleInFullScreen Method (array<Guid>^, UInt32, Int32)
Visual Studio 2015
Sets the toolbar to visible when the window is in full-screen mode.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int SetToolbarVisibleInFullScreen( array<Guid>^ pguidCmdGroup, unsigned int dwToolbarId, int fVisibleInFullScreen )
Parameters
- pguidCmdGroup
-
Type:
array<System::Guid>^
[in] Unique identifier of the toolbar group; can be null to specify the standard group.
- dwToolbarId
-
Type:
System::UInt32
[in] Double word containing the toolbar id.
- fVisibleInFullScreen
-
Type:
System::Int32
[in] true indicates that the toolbar is visible in full-screen mode. The default value is false.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsUIShell::SetToolbarVisibleInFullScreen( [in] const GUID *pguidCmdGroup, [in] DWORD dwToolbarId, [in] BOOL fVisibleInFullScreen );
To access full-screen mode, choose Full Screen from the View menu, or press Shift+ALT+ENTER. The list of toolbar enumerations is provided in ShellCmdPlace.ctc and SharedCmdPlace.ctc. All toolbar groups begin the constant "IDM_VS_TOOL_".
Show: