PDA

View Full Version : WinAPI ScrollWindowEx


Peterius
06-10-2003, 06:09 PM
I've been trying to use ScrollWindowEx to scroll a static control filled with text. Though I've tried to define the clipping region RECTs that are fed to the function properly and specifically (even though msdn says that you can leave a lot of the arguments as NULL), the function still smears the text in the static control all over the place. Text that is outside of the clipping region when you scroll down, for instance, is not drawn inside of the clipping region. Instead the text that is already there is simply written again and again on top of it.

I'm trying to teach myself the Windows API, I am a Mac OS 9.0 API guru so I'm trying to switch. I feel I have only a rudimentary understanding of how this function works, and any help anyone could lend would be much appreciated.

stuka
06-16-2003, 02:04 PM
I'm not a Win32 API expert, but if you can show me some code, I MAY be able to help - I've toyed with the Win32 API, and know more in some ways than I want :)