by bader (7 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 8th January 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
RightToLeft for TreeView
API Declarations
Const GWL_EXSTYLE = -20 'TreeView1 RightToLeft True
'put this code in Load event
SetWindowLong TreeView1.hWnd, GWL_EXSTYLE, WS_EX_LAYOUTRTL 'TreeView1 RightToLeft True
TreeView1.Refresh 'TreeView1 RightToLeft True