Page 1 of 1 1
Topic Options
#133017 - 2005-01-26 10:36 PM setfocus on a messagebox???
matthewst Offline
Getting the hang of it

Registered: 2005-01-26
Posts: 89
run "c:\windows\explorer.exe"
MESSAGEBOX ("blah blah", "title")
SETFOCUS("title")


doesn't seem to work. the explorer window opens in front of the messagebox

Top
#133018 - 2005-01-26 11:03 PM Re: setfocus on a messagebox???
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Ja, SetFocus won't work as the script is suspended until the MessageBox receives it's response. What you want is System-model mode. Try this...

Code:

run "c:\windows\explorer.exe"
MESSAGEBOX ("blah blah", "title",4096)


Top
#133019 - 2005-01-27 01:24 AM Re: setfocus on a messagebox???
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
additionaly : Undocumented MessageBox Styles
_________________________



Top
#133020 - 2005-01-27 01:08 PM Re: setfocus on a messagebox???
matthewst Offline
Getting the hang of it

Registered: 2005-01-26
Posts: 89
Thanks!!!

This forum is great!

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 611 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.101 seconds in which 0.067 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org