laptop and a wrench

Error

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

Última publicación: August 31, 2014 ArcGIS for Desktop
Número de ID del error NIM042359
EnviadoFebruary 12, 2009
Última modificaciónJune 5, 2024
Relacionado conArcGIS for Desktop
Versión encontrada9.3
Lenguaje del programaC#
Sistema operativoWindows OS
Versión de sistema operativoXP
EstadoWill Not Be Addressed

Solución alternativa

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

Pasos para reproducir

ID del error: NIM042359

Software:

  • ArcGIS for Desktop

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga