Jump to content

Recommended Posts

Posted

Hi guys!  Here is my code:


 

  Reveal hidden contents

WinSetOnTop Func doesn't work! :(

Posted

It couldn't work:

  Quote

ShellExecute

Runs an external program using the ShellExecute API.

Return Value

Success: the PID of the process that was launched. Or -1 if there was no PID available.
Failure: 0 and sets the @error flag to non-zero.
Expand  
  Quote

WinSetOnTop

Change a window's "Always On Top" attribute.

WinSetOnTop ( "title", "text", flag )

Parameters

title The title/hWnd/class of the window to change. See Title special definition.
text The text of the window to change. See Text special definition.
flag Determines whether the window should have the "TOPMOST" flag set.
    $WINDOWS_NOONTOP (0) = remove on top flag
    $WINDOWS_ONTOP (1) = set on top flag

Constants are defined in "AutoItConstants.au3".
Expand  

because a pid is not the needed hwnd.

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
  • Recently Browsing   0 members

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