Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What class or method do I use to retrieve system metrics like the width of a scrollbar?

0
Posted

What class or method do I use to retrieve system metrics like the width of a scrollbar?

0

In the .NET framework, you use the SystemInformation class from the System.Windows.Forms namespace. This class has comparable information to what GetSystemMetrics() returned in VC6. There is also a Screen class that contains additions display device properties.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.