Feature request of TWinControl, a Boolean property for allowing TWinControl painting completely by user
Original Reporter info from Mantis: sainimu78
-
Reporter name: fantangshan
Original Reporter info from Mantis: sainimu78
- Reporter name: fantangshan
Description:
I create a render context using third party library in a TWinControl, I use TWinControl or its descendents because it has the Handle, a HWND on windows. This Handle is used to create a render context such as gl or GDI or vulkan render context.
But TWinControl will erase the painted render context because DoubleBuffered property doesn't make sense with the global var ThemeService.ThemeEnabled.
So I think TWinControl need a new Boolean proerty to allow users to paint completely by themselves
I already implemented it, please think it through for this requirement and merge my code or only my idea into trunc and consider other widget types, that would be very grateful.
I can't create patch for now, I upload the source code zip with directory, please unzip it and compare it with root them.
Mantis conversion info:
- Mantis ID: 33123
- Platform: windows
- Version: 1.9 (SVN)
- Fixed in revision: 57267 (#90e09822)