Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 337
  • Last Modified:

Message Box positioning

Using VB6 with SP3.  Is there a way to specify the position of a message box?  This one pastes right on top of something I wish to see too.  I don't want to move that.  I want to move the message box. -- Norm
0
npnp
Asked:
npnp
1 Solution
 
TheMekCommented:
As far as I know the MsgBox always centers in the screen. An alternative is to write your own form that behaves like a messagebox, but which you handle yourself completely. A lot of work, so it's probably easier to just let the msgbox pop up at the center and then move it away if you want to see what's underneath it.
Not much help, but like I said, I don't think it can be positioned.

Greetings,
   Erwin
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
It is certainly possible to move the messagebox, but you would need async processing, some API, in one word a lot of stuff.

I agree with TheMek that it would probably be easier to develop your own messagebox...

0
 
SimonacCommented:
The funny thing is that U can specify the position of an InputBox; Once again the consistency and proffesionalism of microsoft products is demonstrated...
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
DalinCommented:
Create your own msgbox!
Just add a form, call it frmMsg.
Use labels to show your message, add command button...
then use
frmMsg.show vbmodal

The nice thing is that you can specify font, color, size, position, even add some graphics...

0
 
caraf_gCommented:
http://homepage.eircom.net/~carafa/VB/Pino.htm

Check out the "A custom message box" link
0
 
npnpAuthor Commented:
Thats what I thought!  Maybe I was wrong, I hoped.  But no.

Thanks to everyone.  Wish I could distribute points. -- Norm
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now