SilverpointDev / sptbxlib

SpTBXLib is an expansion package for TB2K Delphi components that adds multiple features including support for styles and custom skins.
https://www.silverpointdevelopment.com
Other
73 stars 33 forks source link

The fix TTBCustomDockableWindow.WMMove is not in the TB2K patch #53

Closed pyscripter closed 4 years ago

pyscripter commented 4 years ago

The following fix is not included in the TB2K patch.

I forgot to change a line in TB2Dock, change this in TTBCustomDockableWindow.WMMove:

SendMessage(W, WM_ERASEBKGND, WPARAM(BmpDC), 0);

To:

SendMessage(W, WM_ERASEBKGND, WPARAM(BmpDC), LPARAM(BmpDC)); // Robert: Pass BmpDC on LParam to support DoubleBuffered property

Originally posted by @SilverpointDev in https://github.com/SilverpointDev/sptbxlib/issues/40#issuecomment-450391861

pyscripter commented 4 years ago

Sorry I was wrong.