On Tue, 08 Jan 2008 20:55:59 +0300
Andrey Gusev <[EMAIL PROTECTED]> wrote:

> * Andrey Gusev <[EMAIL PROTECTED]> [Tue, 08 Jan 2008 20:53:48 +0300]:
> > Can somebody comments situation with ScrollBox scrolling Win32 wrong
> > implementation ?
> >
> > I have in view of
> > http://bugs.freepascal.org/view.php?id=10471,
> > http://bugs.freepascal.org/view.php?id=10400
> > issues, that still actual on svn 13339.
> 
> 13669, mistyped
> 
> >
> > More concrete: where and how much deeply to dig, to fix that
> > problem ?

The problem is, that at the moment the win32 interface moves the childs
instead of moving the client area. This operation is not atomic, that
means, each child move creates messages. It is nearly impossible to
make this operation atomic platform independently. That's why instead
all widgetsets should instead move the 'client area'. This means the
childs should be put on an internal widget - the 'client area widget'.
Scrolling means then to simply move the client area widget.
So, it is needed that TWin32WSScrollingWinControl creates an internal
widget and put its childs on this widget. That's all.
The winapi part is not hard. The hardest part is to understand the
win32 interface and fix all places, where this might be relevant.

AFAIK the other widgetsets already use an internal client area widget.

Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to