How to reset position?

vnarod

Regular
Joined
Mar 22, 2002
Messages
84
I had a cascading error and was getting message boxes with errors in a cascade mode, i.e. each one moved down and right from previous. I have fixed the error, but non ALL message boxes are shown in lower right corner instead of center. Reboot didn't help. How to reset it so that boxes are in the center again?
 
When you call MessageBox.Show, pass the form you're calling
to one of the overloaded methods (it's the first parameter). That
way, the box will always show in the center of the form, I'm fairly sure.
 
But it should be in the center by default! I am sure, somewhere in registry or somewhere else there is now an entry that makes it appear in the corner. But where???
 
Back
Top