Application.Caption resets on window resize

446
0
04-05-2013 11:17 AM
GregCzajko
New Contributor
Hi All,
I've built an extension which updates the Application Caption using this code (C#):

ESRI.ArcGISExplorer.Application.Application.Caption = "Caption Test Here";


The code works perfectly and the caption is updated as desired.  However, I've noticed a curious behaviour (Canadian here) when resizing the application window in that the Caption is reset to the initial value.

eg.
Caption after the new Map loads:
ArcExplorer - Admin_Dept - gczajko

Caption after I resize the application window:
ArcExplorer - Admin_Dept

I've checked for an Event similar to OnCaptionUpdate() but nothing like this seems to exist.  Does anyone know why the caption refreshes to the 'default' on Application resize?

cheers,
Greg

System Details:
Windows 7 64
Explorer 2500
Explorer SDK 2500
.NET 3.5 SP1
0 Kudos
0 Replies