Jump to content

Modal GUI, set parent and don't show taskbar entry


owilsky
 Share

Recommended Posts

Hi,

I searched the forum but did not find anything suitable.

I want to show a GUI that is modal, so it should show on top of the calling application. It should not display a taskbar entry. And it should stay on top of the calling app when I switch to another app and back.

Any idea if and how I could do that?

Thanks for any advice!

Oliver

Link to comment
Share on other sites

OK, found the answer:

Opt("WinTitleMatchMode",2)

$Form1 = GUICreate("Title", 220, 118, 700, 300)

DllCall("user32.dll", "int", "SetParent", "hwnd", WinGetHandle("Title"), "hwnd", WinGetHandle('Parent title'))

Oliver

Link to comment
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
 Share

  • Recently Browsing   0 members

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