"François Revol" <revol@xxxxxxx> wrote: > Wrong. > The BDirectWidnow frame does change, but not the framebuffer. so? > Are you sure you know what that means when we say "BDirectWindow > accesses the framebuffer" ? I means there is not another framebuffer > for that window, it points to the screen. So except by changing the > Screen size and bitdepth you can't do that. i'm pretty sure i know how a bdirectwindow works. you surely have a point about changing the screen bitdepth - it has to be done in the real envirnment. but you're wrong about the rest. > Which is also why when > drawing you need to use he screen width and not the window width to go > to the next line. wrong. it's not the screen width, it's the screen-line pitch, or stride, name it as you wish. from the POV of the user of a framebuffer this has little to do with the buffer's visible geometry - horizontal dimension is one thing, scanline stride is another (the only thing that can be expected about it is that it spans _at_least_ framebuffer's number-of-columns). > François. blu