Jump to content

Recommended Posts

Posted

well i have a programm window and i try to set its state to @SW_SHOW... and this doesnt work. it event doesnt show up.

instead i use this as a little kind of workaround:

WinSetOnTop ($windowHandle[1], "", 1)
WinSetOnTop ($windowHandle[1], "", 0)

but then the windows isnt aktive, just on top

regards hxhjx

Posted

well i have a programm window and i try to set its state to @SW_SHOW... and this doesnt work. it event doesnt show up.

instead i use this as a little kind of workaround:

WinSetOnTop ($windowHandle[1], "", 1)
WinSetOnTop ($windowHandle[1], "", 0)

but then the windows isnt aktive, just on top

regards hxhjx

Then you didn't want @SW_SHOW. What you wanted was to bring the window to the top not change it from hidden. If the window was hidden then winsetontop will not show it.
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Posted

i just want the window to be aktive, so keyboard does work for example. or shortcuts like F1 - F12.

Try WinActivate() :)

EndFuncAutoIt is the shiznit. I love it.

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...