winapi - Get form Titlebar color from Delphi -


my question simple, can't find information it. need detect, delphi, information titlebar; example height , particularly color? think there windows api, i've found nothing on web. can suggest me how reach these tasks.

to heigth of tile bar use getsystemmetrics api (with sm_cycaption parameter).

for caption area color - there system colors defined in graphics unit, ie clactivecaption , clinactivecaption, these colors defined in windows control panel.


Comments