Jump to content

Gui Windows Within Gui Window


Recommended Posts

_WinAPI_SetParent()

Or if you're old fashioned:

DLLCall("user32.dll", "hwnd", "SetParent", "hwnd", WinGetHandle("Title of child window"), "hwnd", WinGetHandle("Title of parent window"))
Link to comment
Share on other sites

Okay i've done my research and figured out how to make a really nice MDI Gui. I face another minor problem though. I have the option to change the background picture of the parent gui and when I try to change it, the child gui's dissapear until I click and move them around a bit to redraw or something(This also happens when I minimize and restore back).

Any quick way to fix this problem?

Link to comment
Share on other sites

Okay i've done my research and figured out how to make a really nice MDI Gui. I face another minor problem though. I have the option to change the background picture of the parent gui and when I try to change it, the child gui's dissapear until I click and move them around a bit to redraw or something(This also happens when I minimize and restore back).

Any quick way to fix this problem?

You could try to send the WM_PAINT message when one of these events happen.

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...