> I need to scroll the draw window by step of 1 on a 320x320 screen > (PalmOS 5) but this function seems to only allow only step of 2.
you can roll your own loop? :) > Is there a way to fix this problem ? do you know why WinScrollRectangle() works in step's of 2? :) its most likely because they just do WORD moves of memory. so, in 8bpp = 2 pixels, in 16bpp = 1 pixel. in 4bpp = 4 pixels :) moving 1 pixel on 8bpp requires BYTE moves, and, that can be *slow* :) consider the limit of 2 an optimization the API's have taken. --- Aaron Ardiri [EMAIL PROTECTED] CEO - CTO +46 70 656 1143 Mobile Wizardry http://www.mobilewizardry.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
