How can I obtain the TRect for a form's minimize button when using VCL styles?
Asked
Active
Viewed 185 times
1

hikari
- 3,393
- 1
- 33
- 72
-
Using SO's search brings up https://stackoverflow.com/a/479507/4299358 which suggests issuing [WM_GETTITLEBARINFOEX](https://learn.microsoft.com/en-us/windows/desktop/menurc/wm-gettitlebarinfoex) – AmigoJack Aug 13 '20 at 21:18
-
2I'm not sure that this approach will retrieve the correct results when used with VCL styles. – Uwe Raabe Aug 13 '20 at 21:37