��������: GetNodeIndex ��������: int ����˵��: ȡ��������ֵܽڵ�ĵ�ǰ����
| 650 | // ����˵��: ȡ��������ֵܽڵ�ĵ�ǰ���� |
| 651 | //************************************ |
| 652 | int CTreeNodeUI::GetNodeIndex() |
| 653 | { |
| 654 | if(!GetParentNode() && !pTreeView) |
| 655 | return -1; |
| 656 | |
| 657 | if(!GetParentNode() && pTreeView) |
| 658 | return GetTreeIndex(); |
| 659 | |
| 660 | return GetParentNode()->GetTreeNodes().Find(this); |
| 661 | } |
| 662 | |
| 663 | //************************************ |
| 664 | // ��������: GetLastNode |
nothing calls this directly
no test coverage detected