Jump to content

Recommended Posts

Posted

This is probably just a matter of finding the right combination of styles but I haven't had any luck yet.

How do i created a child gui that has an on top attribute as compared to it's parent.

And prevents a access to it's parent.

To make things simpler create a gui window that behaves like this msgbox.

Thanks,

Kenny

$1 = GUICreate("")
GUISetState()
MsgBox(0,"","",0,$1)
Exit

 "I believe that when we leave a place, part of it goes with us and part of us remains... Go anywhere, when it is quiet, and just listen.. After a while, you will hear the echoes of all our conversations, every thought and word we've exchanged.... Long after we are gone our voices will linger in these walls for as long as this place remains."

Posted

Hi, this doesn't appear to be a style.

This is information from the message box:

>>>> Window <<<<
Title:  
Class:  #32770
Position:   591, 364
Size:   104, 88
Style:  0x94C803C5
ExStyle:    0x00010101
Handle: 0x004B038A

Then I make a GUI with the same styles:

$1 = GUICreate("")
GUISetState()
GUICreate("",104,88,-1,-1,0x94C803C5,0x00010101,$1)
Sleep(5000)
Exit

and it doesn't recreate the same effect.

You will probably end up checking which window is active and then activating the one behind it.

Posted

You need to disable your main gui to achieve the effect you want:

$1 = GUICreate("Parent")
GUISetState()
$2 = GUICreate("Child",250,104,-1,-1,-1,-1,$1)
GuiSetState(@SW_DISABLE,$1)
GUISetState(@SW_SHOW, $2)
Sleep(5000)
Exit

Just remember to enable the parent once the child is closed.

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
×
×
  • Create New...