Jump to content

Recommended Posts

Posted (edited)

Hello there..

I've tried various mixtures of codes to get my program to always be on top of other windows, but it's not working out.. e.g. heres an example..

if processexist ("swatblatter.exe") or ("autoit3.exe") then
opt ("WinTitleMatchMode", 2)
WinSetState ("swatblatter", "", @SW_SHOW)
winactive("swatblatter")
winactivate("swatblatter")
endif

opt ("WinTitleMatchMode", 2)
WinSetState ("swatblatter", "", @SW_SHOW)
winactive("swatblatter")
winactivate("swatblatter")

thanks for such a wonderful program!

appreciate the help!

Edited by slightly_abnormal
Posted (edited)

You using guicreate?

If so have you tried $WS_EX_TOPMOST as the extended style?

how?

$Form2 = GUICreate("window", 500, 500, 302, 218, , $WS_EX_TOPMOST)

I got errors.. :o

Edited by slightly_abnormal
Posted (edited)

how?

$Form2 = GUICreate("window", 500, 500, 302, 218, , $WS_EX_TOPMOST)

I got errors.. :o

oh I got it..

$Form2 = GUICreate("Windowizer", 390, 300, 302, 218, BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS), $WS_EX_TOPMOST)

Your way is better though..

gracias very much, grafost.. :geek:

Edited by slightly_abnormal

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
×
×
  • Create New...