Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make msgbox display non-centered.

Status
Not open for further replies.

fordboy0

Programmer
Jan 24, 2003
13
US
Hey all!

Hope all is going well...

I have a strange problem that probably hasn't occurred for most of you.

I am building an application that uses two monitors. They are configured as one on top of the other. Ie. My total screen resolution (as far as access is concerned) is 768H x 2048V.

The problem arises when I call the msgbox function. It always defaults to the center of the screen, which in my case is the center of both screens. ie. Half of the dialog box is on one screen and half is on the other.

I have a workaround where I have created a new form and call it as acDialog, but it sure would be nice if I didn't have to do that.

Any thoughts?

TIA!

-Jeff
 
Jeff

A search in the forums for 'message box center', turned up the following thread. I believe it will answer your question.

thread702-486683

Vic
 
Sorry for the delay... Other problems you know :)

Thanks for the info, I guess I should have searched first. It's what I thought I would have to do, but it's implemented better, so... Yoink!

Thanks again!

-Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top