Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
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?
  • *Experts*
Posted

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.

"Being grown up isn't half as fun as growing up

These are the best days of our lives"

-The Ataris, In This Diary

Posted
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???

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...