Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Treeview Scrollbar

Status
Not open for further replies.

edderic

Programmer
May 8, 1999
628
For working with the treeview on a TouchScreen i need to set the scrollbars to 1cm width .

Ho can i do this ???

Eric

Thanks for the answer Eric De Decker
vbg.be@vbgroup.nl

License And Copy Protection AxtiveX.

Download Demo version on my Site:
 
Eric -

I had a look through the WinUser.h header file. That info is reported by the GetSystemMetrics function as:
[tab]SM_CXVSCROLL
[tab]SM_CYHSCROLL
[tab]SM_CYVSCROLL
[tab]SM_CXHSCROLL

I think you can set the width through a call to MoveWindow once you have the handle to the scrollbar.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top