Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Getting system scrollbar size...

Posted on 2002-06-17
3
Medium Priority
?
242 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 300 total points
ID: 7083472
0
 

Author Comment

by:kmoorthyr
ID: 7084853
Thanks buddy
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
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 opening and writing to files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.

783 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