判断是否滚动条

var  
  Style:   Integer;
begin
  Style := GetWindowLong(Handle, GWL_STYLE);//wnd为控件句柄
  if (Style and (WS_VSCROLL)) <> 0 then
    Caption := 'Yes'
  else
    Caption := 'No';
end;
原文地址:https://www.cnblogs.com/chengxin1982/p/1498554.html