delphi 判断是否出现滚动条

delphi
判断是否出现滚动条

 
  if (GetWindowlong(Stringgrid1.Handle,
GWL_STYLE) and WS_VSCROLL) <> 0 then
   
ShowMessage('Vertical scrollbar is visible!');
  if
(GetWindowlong(Stringgrid1.Handle, GWL_STYLE) and WS_HSCROLL) <> 0
then
    ShowMessage('Horizontal scrollbar is
visible!');
 
 
 
上一篇:css设置滚动条颜色与样式以及如何去掉与隐藏滚动条


下一篇:jquery.validate.js 表单验证简单用法