Announcement

Collapse
No announcement yet.

Some more effective alternative for option "Always on Top"?

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

  • Some more effective alternative for option "Always on Top"?

    The option "Always on Top" does not work as I would like. Is there any way to make the project window always remain above all windows? some kind of Z-Index property ... it happens that I execute a third-party application but this is put on top even if it has selected that always on top option

  • #2
    What's the code you are using.
    I have this on one of my projects and it works pretty well.

    Code:
    -- Sets VeriHash On Top then resets to Not on Top
    Window.SetOrder(Application.GetWndHandle(),  HWND_TOPMOST);
    Application.Sleep(200);
    Window.SetOrder(Application.GetWndHandle(),  HWND_NOTOPMOST);
    Is your similar ?

    Comment


    • #3
      Should have added, I have that on Page 1, On Show

      Comment


      • #4
        native:
        Window.SetOrder

        WinApi plugin:
        WinApi.SetForegroundWindow(WndH)

        alternatively you can use the user32.dll function:
        BringWindowToTop

        Comment


        • #5
          Thank you all, I did not know that option and that plugin. Solved

          Comment

          Working...
          X