Is there a way to hide the minimize maximize and restore buttons in an app?

6478
4
05-11-2016 02:04 AM
by Anonymous User
Not applicable

When creating an app (in this case designed for a Windows system) is there a way to hide the title bar at the top of the application that also contains the minimize, maximize and restore buttons?

Regards,

-Paul

0 Kudos
4 Replies
ShobanaSuresh
Esri Contributor

Hi Paul,

The title bar with minimize, maximize and restore buttons can be hidden by passing "--show fullscreen" command line parameter when launching the app.

C:\Users\username\Applications\ArcGIS\MyApp\MyApp.exe --show fullscreen

Other possible command line values are,

--show maximized ( Shows the window as maximized.)

--show minimized ( Shows the window as minimized.)

--show  normal ( Shows the window as normal, i.e. neither maximized, minimized, nor fullscreen.)

Currently the maximized mode is used when "Full Screen" setting is enabled in AppStudio Settings tool. This will be fixed to use the "--show fullscreen" mode in next AppStudio update( scheduled for release towards end of next month).

Thanks

Shobana

by Anonymous User
Not applicable

Thanks Shobana.

For those who might try this in the interim before next release, note that for this to work you need to set the 'Full Screen mode' in the AppStudio settings tool to disabled.

Cheers,

-Paul

0 Kudos
by Anonymous User
Not applicable

Hi Shobana

Just a follow up to this thread from a couple of months back.

I see that in AppStudio now (v1.2), as you mentioned, the 'Full Screen' setting now uses the '--show fullscreen' mode. However, since there appears to be four standard 'options', so to speak, (fullscreen, maximised, minimised and normal), it would be great if, in a future AppStudio update, the 'Full Screen' toggle switch be changed to a radio button with those four options.

Typically, I would use either 'Full Screen' or 'Maximised', but it would make sense to expose all four options.

Cheers,

-Paul

0 Kudos
ShobanaSuresh
Esri Contributor

Hi Paul,

Thanks for your feedback. I've logged an enhancement request in our system to expose the four options in AppStudio Settings.

Regards

Shobana

0 Kudos