laptop and a wrench

Bogue

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

Dernière publication: August 31, 2014 ArcGIS for Desktop
Numéro d’ID de bogue NIM042359
EnvoiFebruary 12, 2009
Dernière modificationJune 5, 2024
S’applique àArcGIS for Desktop
Version trouvée9.3
Langue du programmeC#
Système d’exploitationWindows OS
Version du système d’exploitationXP
StatutWill Not Be Addressed

Solution de contournement

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());}

Étapes pour reproduire

ID de bogue: NIM042359

Logiciel:

  • ArcGIS for Desktop

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement