laptop and a wrench

Bug

If ArcReaderControl application loses focus while opening and WindowState is Maximized, then map display gets clipped.

Last Published: August 31, 2014 ArcGIS for Desktop
Bug ID Number NIM042359
SubmittedFebruary 12, 2009
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found9.3
Program languageC#
Operating SystemWindows OS
Operating System VersionXP
StatusWill Not Be Addressed

Workaround

1. Click “Restore Down” on top left corner of the application (middle button) and click again same button (Maximize) to get the correct map display.2. Another workaround: a. Comment-out code line, “this.WindowState = FormWindowState.Maximized;” in Form1_Load event. b. Comment/Uncomment code of Program.cs as following. The key thing here is to “minimize” and then “maximize”. If comment-out code line, “Form1.WindowState = FormWindowState.Minimized;” then you’ll see the same (clipped map display) behavior.static void Main(){ Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Form1 Form1 = new Form1(); ApplicationContext applicationContext = new ApplicationContext(); applicationContext.MainForm = Form1; Form1.Show(); Form1.WindowState = FormWindowState.Minimized; Form1.WindowState = FormWindowState.Maximized; Application.Run(applicationContext); //Application.Run(new Form1());}

Steps to Reproduce

Bug ID: NIM042359

Software:

  • ArcGIS for Desktop

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options