Sign in to follow this  
Followers 0
hxhjx

[SOLVED] @SW_SHOW on windows 7

7 posts in this topic

#1 ·  Posted (edited)

hi,

anybody already found out that @SW_SHOW doesnt work on windows 7 ?

Edited by hxhjx

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

so simply :) . thank you very much.

nevery worked with the window functions

Edited by hxhjx

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  
Followers 0