Valuater Posted October 10, 2006 Share Posted October 10, 2006 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) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now