Q
Problem solve Get help with specific problems with your technologies, process and projects.

How do I center a message box on a window?

How do I center a message box on a window?
If the message box is in fact a user-drawn form, then you can do this by going into the toolbox properties of the form, and modifying the 'StartPosition' to 'CenterParent' or 'CenterScreen' for the window to be drawn in the center of the display.
This was last published in March 2003

Dig Deeper on Win Development Resources

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchCloudComputing

SearchSoftwareQuality

TheServerSide.com

SearchCloudApplications

Close