02-17-2007, 10:21 AM
Show selection when the control loses focus? Add style TVS_SHOWSELALWAYS (0x20) or LVS_SHOWSELALWAYS (0x8). These styles are not displayed in Styles dialog. Instead, click the small button by the Styles button and add this value to the current value.