Sign in to follow this  
Followers 0
Valuater

a Question about "re-painting"

1 post in this topic

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

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