How to calculate vertical scroll bar's width
-
I set a Dialog's "Vertical scroll" property true.Now I want to calculate its scroll bar's width. how to do it ? Thanks in advance.
-
I set a Dialog's "Vertical scroll" property true.Now I want to calculate its scroll bar's width. how to do it ? Thanks in advance.
Peter, Chan wrote:
I set a Dialog's "Vertical scroll" property true.Now I want to calculate its scroll bar's width. how to do it ?
::GetSystemMetrics( SM_CXVSCROLL );
Nibu thomas A Developer Code must be written to be read, not by the compiler, but by another human being. http:\\nibuthomas.wordpress.com
-
Peter, Chan wrote:
I set a Dialog's "Vertical scroll" property true.Now I want to calculate its scroll bar's width. how to do it ?
::GetSystemMetrics( SM_CXVSCROLL );
Nibu thomas A Developer Code must be written to be read, not by the compiler, but by another human being. http:\\nibuthomas.wordpress.com
Thanks a lot.
-
I set a Dialog's "Vertical scroll" property true.Now I want to calculate its scroll bar's width. how to do it ? Thanks in advance.