Select to view content in your preferred language

ShowWindow problem

827
3
02-03-2012 04:01 AM
DavideLimosani
Frequent Contributor
hi all,

I've noticed that the behaviour of custom tools added using MapApplication.Current.ShowWindow is slightly different from the beta version.

Previously when I expanded the dialog the position of the top left corner was mantained and the risk to hide the title bar behind the top edge of the viewer was null.

Now instead when I expand the dialog the position of the center is mantained and, if my tool is particularly high, the risk to hide the titlebar is relevant.

Am I missing something? Can I reproduce the first behaviour?

Sorry for my bad English but it is not a simple concept to explain in a foreign language.

Thank you in advance,

Davide
0 Kudos
3 Replies
KatherineDalton
Esri Regular Contributor
Hello Davide,

Could you send us a screen shot of what you are seeing?

Thank you,

Katy
Katy Dalton | Technical Consultant
THE SCIENCE OF WHERE™
0 Kudos
KatherineDalton
Esri Regular Contributor
Davide,

As per our email, yes, the behavior is slightly different from Beta 2 to Final.  The recommended approach is to set a fixed size for the dialog and use a scrollbar instead of having the dialog resize to fit the contents.

Thank you,

Katy
Katy Dalton | Technical Consultant
THE SCIENCE OF WHERE™
0 Kudos
DavideLimosani
Frequent Contributor
Hi Katherine,

thank you very much for your help.

Anyway, I hope you will rethink this behaviour in the next version of the viewer.

Best regards,

Davide
0 Kudos