Показать сообщение отдельно
Старый 26.12.2002, 20:51     # 1
Vasily
Guest
 
Сообщения: n/a

Что имел в виду Вильям Г.?

Кто знает что означает такой пассаж в MSDN (речь идет о состоянии TVIS_EXPANDEDONCE TreeView control):

«...The item's list of child items has been expanded at least once. The TVN_ITEMEXPANDING and TVN_ITEMEXPANDED notification messages are not generated for parent items that have this state set in response to a TVM_EXPAND message. Using TVE_COLLAPSE and TVE_COLLAPSERESET with TVM_EXPAND will cause this state to be reset. This value applies only to parent items...»

Какой смысл устанавливать этот флаг, если после сворачивания списка он сбрасывается.
И как все-таки можно избежать повторный сообщений TVN_ITEMEXPANDING and TVN_ITEMEXPANDED.