I can’t adjust a TTrackBar thumb size to a higher size. See the image:

I got a small thumb on the left, and I can’t make it bigger (but not the TrackBar itself).
Desired thumb size is shown on an image with a red area.
Maybe I can use WINAPI somehow?
C++ apps have bigger thumb often.
This is what I’m actually hopping for:

It would seem like this cannot be done with the standard trackbar control. Indeed, I cannot see any trackbar style or trackbar message related to this. There is only the
TBM_SETTHUMBLENGTH, which you also can access from VCL’sTTrackBar.ThumbLength, but this also affects the height of the background sunken rectangle.A corollory is that I doubt the observation that “C++ apps have bigger thumb often”.
Of course, you can always make your own trackbar-like control.
Or do you only want to shrink the sunken rectangle? Then just set
ShowSelRangetoFalsein the Object Inspector. But if themes are on, you still cannot make the thumb bigger than about 24.If you are on an old version of Delphi with no
TrackBar.ShowSelRange, you need to remove the window styleTBS_ENABLESELRANGEmanually. You can do this at any time usingSetWindowLong, or you can do it inCreateParamsof a subclassed trackbar control. The simplest way might be to use an ‘interposer class’:To get the appearance in the Notepad++ screenshot, you should also set
TickMarkstotmBothandTickStyletotsNone.This doesn’t answer your question, though, which was about making the thumb larger. This will make the sunken rectangle smaller… From your screenshots, however, I would guess this is what you want.