Solved

Getting system scrollbar size...

Posted on 2002-06-17
3
203 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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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 is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand and use conditional statements 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.

929 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

12 Experts available now in Live!

Get 1:1 Help Now