| 430 | } |
| 431 | |
| 432 | void _GetInplaceRect(HTREEITEM iItem, RECT* pRect) const |
| 433 | { |
| 434 | ATLASSERT(iItem); |
| 435 | ATLASSERT(pRect); |
| 436 | RECT rcText = { 0 }; |
| 437 | GetItemRect(iItem, &rcText, TRUE); |
| 438 | RECT rcItem = { 0 }; |
| 439 | GetItemRect(iItem, &rcItem, FALSE); |
| 440 | ::SetRect(pRect, rcText.right + HORIZ_VALUE_GAP, rcItem.top, rcItem.right, rcItem.bottom); |
| 441 | if( m_cxColumn>0 ) pRect->left = max( (int) pRect->left, m_cxColumn ); |
| 442 | } |
| 443 | |
| 444 | void _DestroyInplaceWindow() |
| 445 | { |
no test coverage detected