Hi.
Yet again some winapi problem...
My window has trouble redrawing itself. When i drag any window over my window than it will redraw itself right. But when i am resizing or on fresh start, my window does not correctly redraw. ( see attachment)
my window has these styles:
my controls also have the WS_CLIPCHILDREN | WS_CLIPSIBLINGS flags.. I trieed without these flags and the problems still occur.Code:LClass.style = CS_PARENTDC;
cCreate.style = WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_OVERLAPPEDWINDOW;
in the WM_CREATE event of my window im calling ShowWindow and UpdateWindow and activatewindow...
when my listview is in icon view. it draws scrollsbars but it doesnt draw them right(unless i put a difrent window ontop and then activate my window again it draws ok.)
in the resize event im calling MoveWindow on my controlls with brepaint to False...
so my question is... is the poroblem with the style flags? or is it i need to set bRepaint to true... thanks
