Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Popup method question

Status
Not open for further replies.
Oct 10, 2003
90
US
Been looking around, can't quite find an answer to my questions.

Using the popup method, is there a way to control its placement?

Also, is there a way of making it to be a background window when it comes up, and NOT the active window?
 
Are you referring to an HTML page popup? That's more for the HTML or Javascript forum than VBScript.

Lee
 
Actually, it is a vbscript question.

Here is the line I am working with from the MSDN documentation.

Displays text in a pop-up message box.

intButton = object.Popup(strText,[nSecondsToWait],[strTitle],[nType])

My question would be is there any way to have the popup show up in one of the corners instead of dead center of the screen. Also, can the window come up as a background window, and not the active window.
 
You may take a look at the InputBox function for placement.
WSH is not well suited for GUI, you may consider using HTA.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top