Board index » Visual Studio » skinned Dialog & scrollbars
|
Enno
|
skinned Dialog & scrollbars
Visual Studio61
I have a skinned (WS_EX_LAYERED) Dialog-App and would like to scroll a child dialog without flicker. ScrollWindow(...) copies the valid clientregion and the new (now visible) region is drawn in OnPaint(). My Problem is that these steps are visible which means when the copy occurs i see the old pixels of the clientarea overlapped with the copied pixels of the valid clientregion and at last the new pixels are drawn in OnPaint(). You can imagine this isnt a "nice" scrolling. If i turn of the LAYERED-style everthing works fine, cause it just happens so fast, that the eye cannt catch these steps. So what can I do to make ScrollWindow(...) paint to the device context all at once or is there another way of a flicker free scrolling of a skinned app? Thx Mark - |
