Click to See Complete Forum and Search --> : custom window resize


ralioan
August 23rd, 2004, 03:34 PM
hi,

i have a custom window created from a combination of regions. When i am
trying to resize it, the screen is redrawn only if i drag from the left or
top, else the screen remains "dirty".

i tried to pass correct the parameters at wm_nccalcsize but this didn't
helped. Actually for now i don't know what to do...

thanks

Erik Wiggins
August 23rd, 2004, 07:06 PM
InvaladateRect will cause your WM_PAINT to fire this will redraw the intire window which should solve your problem.

ralioan
August 25th, 2004, 05:31 AM
thanks, was another problem, SetWindowRgn has a parameter 'bRedraw' which has to be true and that's it....