Jump to content
Sign in to follow this  

a Question about "re-painting"

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 

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




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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.