Announcement

Collapse
No announcement yet.

Always on top ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Always on top ?

    Hi there,


    I know I asked it before, but is it possible to make a window "always on top" using AMS4, WITHOUT a 3rd party software ? If not, it would be great to implement this feature in a future build ! [img]/ubbthreads/images/icons/smile.gif[/img]

    Thanks a lot !

  • #2
    Re: Always on top ?

    No but WINDOW>BRING TO FRONT exists.

    Corey Milner
    Creative Director, Indigo Rose Software

    Comment


    • #3
      Re: Always on top ?

      I know, but I can't make a loop with the "Window > Bring to front" action, it just doesn't make sense ! I've programmed a cool video player using AMS4, and the only thing missing is the "always on top" feature (like Windows Media Player 6.4). Is there a .dll I could include with my program and that would add this functionality (like the .dll you supplied for "save window position") ? If so, where could I find it ?

      Thanks in advance !

      Comment


      • #4
        Re: Always on top ?

        Definitely an easy thing to achieve programmatically, now to see if anyone has the time to write a .dll for you... I hope so, that would be a great .dll to have.

        Corey Milner
        Creative Director, Indigo Rose Software

        Comment


        • #5
          Re: Always on top ?

          Hi There,
          I use in my projects the function "setwindowpos", from the windows library: User32.dll, which works in my case.

          call the function from autoplay:

          %DLLResult% = File.CallDLLFunction ( "%WinDir%\System32\USER32.DLL", "SetWindowPos", "%windowhandlerfrom autoplay%, HWND_TOPMOST,Xpos,Ypos,Width,Height,SWP_NOSIZE,SWP _NOMOVE")

          Where
          HWND_TOPMOST = -1
          SWP_NOSIZE = &H1
          SWP_NOMOVE = &H2

          See microsoft documentation for full explanation of possible parameters/arguments for "setwinpos"

          Hope this helps.




          Comment

          Working...
          X