Paul
Get MSG.WSC from http://cwashington.netreach.net/.
Dominic Marks
dominic_marks*@hotmail.com
No, you can't get rid of that button, but you CAN use something that looks
virtually identical to a message box, but has no titlebar buttons...
Coding inside IE? Then take a look at the "Erstaz Message Box" found on the
page mentioned below. It's all DHTML, and unless you look very closely,
it's indistinguishable from the real thing. O.K. it does have a user close
button in the title bar, but Hey!, its DHTML! All you have to do is remove
the button tag with the btnUserClose id, and remove the statement that sets
the "pointer" to the onClick event, and the user close button will be gone.
Coding a stand-alone script? Sorry, IE takes sssoooooo lllooonnngggggg to
load. You stand-alone scripters might like take a look at the "Fake Message
Box" helper utiltiy mentioned on the same page (click on "Ersatz MB",
they're both together). It has no buttons at all on the titlebar, and loads
much faster than IE (about 20x faster). It's written in "rapidQ basic"
(sorry, a non-microsoft product), but hey, that's why it's so lite weight!
http://home.att.net/~wshvbs/index.htm
cheers, jw
btw, would some kindly person please explain why all these requests to get
rid of the MB titlebar button(s)??? I find a great number of things about
programming to get annoyed about, but those button(s) on the titlebar never
got to me...
otoh, I CAN understand that annoyance with the "vbScript" titlebar caption.
In most programming situations the titlebar caption presents an opportunity
to introduce the contents (and set the tone) of the message which is spelled
out in the "body" of the message box. And, unless you happen to be one of
those weird scripters, the vast majority of the normal public have no idea
what "vbScript" means. So in effect, the titlebar caption space is
wasted...
"Paul Jenkins" <paul.j...@empire.ca> wrote in message
news:O9afQ68KAHA.249@cppssbbsa05...
"jim_w" <jwarrington*noSteekin*@*Spam*worldnet.att.net> wrote in message
news:OKrmZrLLAHA.253@cppssbbsa05...> hi Paul,
Dominic Marks