G Gawelek Nov 27, 2003 #1 Is it possible to get to know if certain scrollbar is hidden or not? Of course without using WinApi
R Rene Nov 27, 2003 #2 Haven't test this but I wonder if you can use the ClientSize property of a control and compare it to the control normal size for example: if(myControl.ClientSize.Width == myControl.Width) MessageBox.Show("No Vertical Scrollbars showing"); Not sure if the ClientSize with no scrollbars will be equal to the regular width, you may have to account for border styles etc.] Try it, hope it works.
Haven't test this but I wonder if you can use the ClientSize property of a control and compare it to the control normal size for example: if(myControl.ClientSize.Width == myControl.Width) MessageBox.Show("No Vertical Scrollbars showing"); Not sure if the ClientSize with no scrollbars will be equal to the regular width, you may have to account for border styles etc.] Try it, hope it works.