Link to home
Start Free TrialLog in
Avatar of pedrovdb
pedrovdb

asked on

Msgbox function: is it possible to change the size and position of a standard messagebox when it is displayed on screen ?

I have created a simple basic messagebox which looks like this:

Msgbox "Do you want to login ?",vbYesNo, "Registration form"

Like this, the messagebox is always dislayed in the middle of the screen and also with a size that VB determines.

I want to:

1) change the startup position of this messagebox as it is overlapping another form which I don't want

2) I also want to determine myself the size of the messagebox, like you do with an ordinary form

Thanking you in advance fot your help...
ASKER CERTIFIED SOLUTION
Avatar of idcanada
idcanada

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ones msgbox is displayed, you can send msgs to it
https://www.experts-exchange.com/Q.10109181
Avatar of jjmartin
jjmartin

If you want to get creative with message boxes, the best bet is to make your own, then you have complete control over the appearance, and postion.