center MessageBox in parent form

  • Thread starter Thread starter John A Grandy
  • Start date Start date
J

John A Grandy

It appears to not be possible to configure a MessageBox so that it centers
itself within its parent WinForm. Apparently, it always appears center
screen.

Or am I mistaken ?
 
John A Grandy said:
It appears to not be possible to configure a MessageBox so that it centers
itself within its parent WinForm. Apparently, it always appears center
screen.

You can change the start position of message boxes using a Win32 dialog
hook.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top