A method to reposition standard MsgBox windows from VB
Posted
by Aaron Young
on February 7th, 2004
The new routine has the following Format:
'
public Function MsgBoxEx(Prompt, optional X = -1, optional Y = -1, _
optional StartupPosition as StartupPos = CenterScreen, _
optional Buttons as VbMsgBoxStyle = vbOKOnly, optional Title, _
optional HelpFile, optional Context) as VbMsgBoxResult
'
'
You can specify the startup x and y positions or even whether the message box is centered to the screen or the calling form.

Comments
There are no comments yet. Be the first to comment!