次の方法で共有


IVsUIShell.SetToolbarVisibleInFullScreen(Guid[], UInt32, Int32) Method

Definition

Sets the toolbar to visible when the window is in full-screen mode.

public:
 int SetToolbarVisibleInFullScreen(cli::array <Guid> ^ pguidCmdGroup, System::UInt32 dwToolbarId, int fVisibleInFullScreen);
public int SetToolbarVisibleInFullScreen (Guid[] pguidCmdGroup, uint dwToolbarId, int fVisibleInFullScreen);
abstract member SetToolbarVisibleInFullScreen : Guid[] * uint32 * int -> int
Public Function SetToolbarVisibleInFullScreen (pguidCmdGroup As Guid(), dwToolbarId As UInteger, fVisibleInFullScreen As Integer) As Integer

Parameters

pguidCmdGroup
Guid[]

[in] Unique identifier of the toolbar group; can be null to specify the standard group.

dwToolbarId
UInt32

[in] Double word containing the toolbar id.

fVisibleInFullScreen
Int32

[in] true indicates that the toolbar is visible in full-screen mode. The default value is false.

Returns

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_".

Applies to