Link to home
Start Free TrialLog in
Avatar of Matthew Bragg
Matthew BraggFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Delphi 6's TShellTreeView component - how to highlight the selected folder?

I updated Delphi 6's TShellTreeView component using the download from http://cc.embarcadero.com/Item.aspx?id=16739

After getting this update the component appears to work ok but it isn't easy to see which folder is currently open. The folder icon changes from a closed file icon to an open one but the visible difference is really small and our users are often elderly and find it hard to see which folder is open. If the component has keyboard focus then the whole folder name is highlighted and you can see it easily, but I'd like it to be subtly highlighted even when it doesn't have focus - just like a Windows Explorer folder tree.

The attached screen shots show  TShellTreeView with and without keyboard focus, and Windows Explorer with and without keyboard focus.

My question is: how can I add the subtle focus in that Pascal code? I can't find where to do it.  TShellTreeView.TIF
ASKER CERTIFIED SOLUTION
Avatar of Sinisa Vuk
Sinisa Vuk
Flag of Croatia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Matthew Bragg

ASKER

I can't believe I missed seeing that property. It fixes it - thanks very much!