Jump to content
Sign in to follow this  
Juanola

Message SplashTextOn on GUI

Recommended Posts

Juanola

How Can I show one SplashTextOn ontop only when my gui have the focus?

I use the option "0"

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

But it ALWAYS show the splashtexton on all the programs and I only want what the splashtexton show ontop on my GUI.

With the msgbox I use the the window handle to use as the parent for this dialog.

But How Can I do it with the splashtexton ?

Thank you!

Edited by Juanola

Share this post


Link to post
Share on other sites
PsaltyDS

How Can I show one SplashTextOn ontop only when my gui have the focus?

I use the option "0"

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

But it ALWAYS show the splashtexton on all the programs and I only want what the splashtexton show ontop on my GUI.

With the msgbox I use the the window handle to use as the parent for this dialog.

But How Can I do it with the splashtexton ?

Thank you!

I tried a demo with _WinAPI_SetParent(), but it didn't work. This does, as a work-around:
Global $hMain = GUICreate("Test GUI", 300, 300, 200, 200)
GUISetState()
SplashTextOn("Test Splash", "Test me.", 400, 100, 150, 300, 2)
Global $hSplash = WinGetHandle("[CLASS:AutoIt v3;Title:Test Splash]", "Test me.")
    
Do 
    If WinActive($hMain) Then WinActivate($hSplash)
Until GUIGetMsg() = -3

:D


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.