Message Box (MsgBox) Postion X/Y

GohDiamond

"Access- Imagineer that!"
Local time
Yesterday, 20:18
Joined
Nov 1, 2006
Messages
550
Is there a way to define the screen position of a message box?
Or would I have to create a form of my own to act as the Message Box?

Thanks in advance for your help
Goh
 
Is there a way to define the screen position of a message box?
Or would I have to create a form of my own to act as the Message Box?

Thanks in advance for your help
Goh
Just using VBA code you cannot change this position. You would need to create your own form and use it.

If you really really must do this and you are a confident Windows API coder then I think you would be able to detect that the message box is coming and while it is being drafted by windows you could change its position. I could not think of a reason that this amount of work would be worth it.

If you have a look in the examples here or search iCandy you will see I made some message box forms. They do use the windows API and I know of small problems with different Operating systems as I made them for XP but they may not work so well on Win 7.
 

Users who are viewing this thread

Back
Top Bottom