Код: Выделить всё
CHeaderCtrl* pHeaderCtrl = m_cTree.GetHeaderCtrl();
if (pHeaderCtrl)
{
//BOOL bb = pHeaderCtrl->ModifyStyle(0, pHeaderCtrl->GetStyle() | HDS_BUTTONS);
// Modify the header item style to include the split button style
HDITEM item;
item.mask = HDI_FORMAT;
//item.iItem = 0; // Index of the header item you want to modify
pHeaderCtrl->GetItem(0, &item);
item.fmt |= HDF_SPLITBUTTON;
pHeaderCtrl->SetItem(0, &item);
}
Стандартный вид:

Когда мышь наведена:

Подробнее здесь: https://stackoverflow.com/questions/790 ... ermanently
Мобильная версия