Treeview selected item background [Solved]
-
When an item in a treeview is selected it is colored blue. But if you set the focus on another control the selected item keeps selected but has no visual clue for this, you can't see which is selected. Is there a way to change the background of the selected item using WinAPI-function and/or C(++) only? Thanks Rozis
modified on Tuesday, July 28, 2009 6:02 AM
-
When an item in a treeview is selected it is colored blue. But if you set the focus on another control the selected item keeps selected but has no visual clue for this, you can't see which is selected. Is there a way to change the background of the selected item using WinAPI-function and/or C(++) only? Thanks Rozis
modified on Tuesday, July 28, 2009 6:02 AM
Try adding the TVS_SHOWSELALWAYS style to your tree control.
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Life: great graphics, but the gameplay sux. <
-
Try adding the TVS_SHOWSELALWAYS style to your tree control.
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Life: great graphics, but the gameplay sux. <