Is there a easy way to center MessageBox in parent form in .net 2.0
From a comment on Joel Spolsky's blog:
A Messagebox is always centered on the screen. You can provide an owner, but that is just for Z-order, not centering. The only way is to use Win32 hooks and center it yourself. You can find code doing that online if you search for it.
Much easier is to just write your own message box class and add centering functionality. Then you can also add default captioning, Do not show again-checkbox and making them modeless.
"Win32 hooks" probably refers to using SetWindowsHookEx
as shown in this example.