Win32/64 Interface

From Free Pascal wiki
Revision as of 19:44, 30 January 2008 by Mattias2 (talk | contribs) (New page: ==Scrolling== The scrolling is currently done by moving the childs instead of the client area. This is incompatible to the other widgetsets and has a drawback: Moving one child after the ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Scrolling

The scrolling is currently done by moving the childs instead of the client area. This is incompatible to the other widgetsets and has a drawback: Moving one child after the other generates several move messages. The LCL receives the messages and each time it has to react. For example it has to realign all anchored childs. You can control this trouble for one widgetset but it will never work well for all. So this works for Delphi VCL, but not for the LCL. Therefore another approach must be implemented:

Betwen child windows and parent window a 'client area' window is inserted. The child windows are put onto the 'client area' window and when the childs are scrolled the 'client area' window is moved instead. This is already done by the other widgetsets.

Mattias: I will implement this eventually, but my winapi interface knowledge is little and I have a lot of other lazarus tasks already, so I can't say when I implement it.