This document is archived and information here might be outdated.  Recommended version.


ControlsFullScreenCommand CoClass (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

ControlsFullScreenCommand CoClass

The applications active window take up the full screen.

Product Availability

Available with ArcGIS Engine.

Description

The CLSID of this command is: {17B7DEB8-B31D-4B96-A89B-AC24BD07EB41}.

This command works with the ToolbarControl, PageLayoutControl, MapControl, GlobeControl, SceneControl, ArcMap, ArcScene and ArcGlobe.

The ControlsFullScreenCommand takes the parent application window and resizes it to the size of the monitor. In Windows XP the task bar will automatically be hidden. Using the ControlsFullScreenCommand a subsequent time will cause the parent application window to resize itself to its original size.

When using the ControlsFullScreenCommand implement resize code within your application to resize any controls on the parent application window when its gets resized.

If multiple instances of the ControlsFullScreenCommand are working with a different IToolbarControl::Buddy using the ControlsFullScreenCommand on one ToolbarControl will cause the ControlsFullScreenCommand on the other ToolbarControl to disable.

Interfaces

Interfaces Description
ICommand (esriSystemUI) Provides access to members that define a COM command.