Jump to content

a Question about "re-painting"


 Share

Recommended Posts

I have a parent and child gui

i tried to use $WS_CLIPCHILDREN on the parent and this does re-paint the child, however it uses 100% of the CPU also

i have a small loop

While WinExists($parent) and WinExists($child)
            $XR_msg = GUIGetMsg()
            If $XR_msg = $GUI_EVENT_CLOSE Then ExitLoop
           
           ; wanting to put a child re-paint in here 
        WEnd

I also tried to re-paint with this

DllCall("user32.dll", "int", "InvalidateRect", "hwnd", $child , "int", 0, "int", [1/0])

but thats not right either it repaints only a portion

is there a message i can send to the child handle or something

thx

8)

NEWHeader1.png

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