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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CTreeView and TVS_HASBUTTONS

Status
Not open for further replies.

Xarris

Programmer
Mar 21, 2002
3
GR
Hello
I Create a CTreeView and É take its CTreeCtrl with &GetTreeCtrl() function.

How can I modify this Tree View Control so that it has the "TVS_HASBUTTONS" style.
Thanks
 
try this:
GetTreeCtrl()->ModifyStyle( 0, TVS_HASLINES | TVS_HASBUTTONS );
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top