"Gynvael Coldwind" <gynvael at vexillium.org> writes: > + /* get width and height > + */ > + width = GetDeviceCaps(graphics->hdc, HORZRES); > + height = GetDeviceCaps(graphics->hdc, VERTRES); This won't do what you want. You should probably use something like GetClipBox() here. -- Alexandre Julliard julliard at winehq.org