Solved

Getting system scrollbar size...

Posted on 2002-06-17
3
194 Views
Last Modified: 2010-04-15
Pls let me know the api for getting standard scrollbar width ...Is there any function available with device context? I would like to find the system scrollbar width without using any class(CScrollbar)...
0
Comment
Question by:kmoorthyr
  • 2
3 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 7083470
Use 'GetSystemMetrics()':

int nScrollBarWidth = GetSystemMetrics ( SM_CXVSCROLL);

0
 
LVL 86

Accepted Solution

by:
jkr earned 100 total points
ID: 7083472
0
 

Author Comment

by:kmoorthyr
ID: 7084853
Thanks buddy
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now