Sign in to follow this  
Followers 0
owilsky

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

2 posts in this topic

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

Share this post


Link to post
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

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