Hello again- long time no see 
So, I really need help in this case. I've got a parentwindow, and 2 childs with a PB-GRAPHIC CONTROL on it- the controls are as big as their window. The GRAPHIC CONTROLS are subclassed, to recieve all kind of WM-Messages to manage their positions per drag-and-drop.
To get more performance while changing coordinates/size of my GRAPHIC-windows (theres a possibility to mark more than one window at a time), I send to my parent
SendMessage(hParent, %WM_SetRedraw, 0, BYVAL %NULL) every time the mouse has moved while pressing the left button of the mouse.
After this SET_REDRAW message I do all the reposition stuff, and, of course I send
SendMessage(hParent, %WM_SetRedraw, 1, BYVAL %NULL) to my parent. Cause this isn't working without any redraw commands, I added "DIALOG REDRAW hParent". But in this case this can be very counterproductive- If I just move 1 graphic window, all other childwindows of my parent are flickering while sizing/moving.
Is there a possibility to get all windows which need redraws, without redraw the entire parentwindow with all childwindows to avoid this flicker?
Best regards,
Marc Giesmann

So, I really need help in this case. I've got a parentwindow, and 2 childs with a PB-GRAPHIC CONTROL on it- the controls are as big as their window. The GRAPHIC CONTROLS are subclassed, to recieve all kind of WM-Messages to manage their positions per drag-and-drop.
To get more performance while changing coordinates/size of my GRAPHIC-windows (theres a possibility to mark more than one window at a time), I send to my parent
SendMessage(hParent, %WM_SetRedraw, 0, BYVAL %NULL) every time the mouse has moved while pressing the left button of the mouse.
After this SET_REDRAW message I do all the reposition stuff, and, of course I send
SendMessage(hParent, %WM_SetRedraw, 1, BYVAL %NULL) to my parent. Cause this isn't working without any redraw commands, I added "DIALOG REDRAW hParent". But in this case this can be very counterproductive- If I just move 1 graphic window, all other childwindows of my parent are flickering while sizing/moving.
Is there a possibility to get all windows which need redraws, without redraw the entire parentwindow with all childwindows to avoid this flicker?
Best regards,
Marc Giesmann
Comment