Solved

Getting system scrollbar size...

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C dll call freezes 5 103
C hashtable library 3 93
C simple state machine for client server handshake 4 302
C++ :Change value from  DisableCMD registry 4 60
An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
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…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

831 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