Jump to content

SplashTextOn question


 Share

Recommended Posts

I have a script that uses SplashTextOn, it is working great if the game is in a windowed mode, but if you are running the game in full screen mode the text just flashes on the top for a second and then goes behind the game. Is there anyway to keep it ontop? Even set to default ) always ontop it just flashes to the back.

SplashTextOn("Get this pos", "Please Click on that once", 400, 100, -1, -1, 0, "Ariel", 15);

While 1

Sleep ( 100 )

If _IsPressed("01") Then

$pos = MouseGetPos()

ExitLoop

EndIf

WEnd

SplashOff()

$getthisx = $pos[0]

$getthisy = $pos[1]

Edited by Cuervo

-Tim

Link to comment
Share on other sites

SplashTextOn("Get this pos", "Please Click on that once", 400, 100, -1, -1, 2, "Ariel", 15)

opt [optional] Add them up - default is 'center justified/always on top/with title'

0 = Center justified/always on top/with title (default)

1 = Thin bordered titleless window

2 = Without "always on top" attribute

4 = Left justified text

8 = Right justified text

16 = Windows can be moved

32 = Centered vertically text

And then activate your window winactivate? Prob your game want to be selected.

Edited by xzaz
Link to comment
Share on other sites

SplashTextOn("Get this pos", "Please Click on that once", 400, 100, -1, -1, 2, "Ariel", 15)

opt [optional] Add them up - default is 'center justified/always on top/with title'

0 = Center justified/always on top/with title (default)

1 = Thin bordered titleless window

2 = Without "always on top" attribute

4 = Left justified text

8 = Right justified text

16 = Windows can be moved

32 = Centered vertically text

And then activate your window winactivate? Prob your game want to be selected.

Yeah, I don't think putting it below and then calling it back up will work. I'm sure it has something do do with the game updating and redrawing the screen.

Is there anyway to "force" the text window to the top?

-Tim

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...