• C

Getting system scrollbar size...

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)...
kmoorthyrAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
jkrCommented:
Use 'GetSystemMetrics()':

int nScrollBarWidth = GetSystemMetrics ( SM_CXVSCROLL);

0
 
kmoorthyrAuthor Commented:
Thanks buddy
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.