Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the toolbar to visible when the window is in full-screen mode.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function SetToolbarVisibleInFullScreen ( _
pguidCmdGroup As Guid(), _
dwToolbarId As UInteger, _
fVisibleInFullScreen As Integer _
) As Integer
int SetToolbarVisibleInFullScreen(
Guid[] pguidCmdGroup,
uint dwToolbarId,
int fVisibleInFullScreen
)
int SetToolbarVisibleInFullScreen(
[InAttribute] array<Guid>^ pguidCmdGroup,
[InAttribute] unsigned int dwToolbarId,
[InAttribute] int fVisibleInFullScreen
)
abstract SetToolbarVisibleInFullScreen :
pguidCmdGroup:Guid[] *
dwToolbarId:uint32 *
fVisibleInFullScreen:int -> int
function SetToolbarVisibleInFullScreen(
pguidCmdGroup : Guid[],
dwToolbarId : uint,
fVisibleInFullScreen : int
) : int
Parameters
- pguidCmdGroup
Type: array<System.Guid[]
[in] Unique identifier of the toolbar group; can be nulla null reference (Nothing in Visual Basic) 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.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
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_".
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.