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...
pedrovdbAsked:
Who is Participating?
 
idcanadaConnect With a Mentor Commented:

1. The start up position can NOT be changed.
Unless you were to make your own. Not that compilcated, A form, 3 buttons and a label
or two. Play with the Visible and caption properties of the controls.

2. However, the size you can play with...
Msgbox "                                                                   " & vbcrlf & "Do you want to login ?",vbYesNo, "Registration form"



0
 
amebaCommented:
Ones msgbox is displayed, you can send msgs to it
http://www.experts-exchange.com/Q.10109181
0
 
jjmartinCommented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.