Here is demo project. Attached.
When I click all 3 buttons, my TCustomControl shows/hides. And Listbox1 log must show that my control got the CM_SHOWINGCHANGED. It shows it only on the 1st showing of control. I expected that event is got on every toggling, ie also when I click buttons many times: 1 2 3 1 2 3 1 2 3 etc.
It's on all widgetsets: win64 gtk2 qt5 qt6.
How TCustomControl can get the event of parent's showing/hiding?