| 457 | } |
| 458 | |
| 459 | void SetItemEnabled(HPROPERTY hProp, BOOL bEnable) |
| 460 | { |
| 461 | ATLASSERT(::IsWindow(m_hWnd)); |
| 462 | ATLASSERT(hProp); |
| 463 | if( hProp == NULL ) return; |
| 464 | hProp->SetEnabled(bEnable); |
| 465 | // Repaint item... |
| 466 | int nItem = -1, nSubItem = -1; |
| 467 | if( !FindProperty(hProp, nItem, nSubItem) ) return; |
| 468 | _InvalidateItem(nItem, nSubItem); |
| 469 | } |
| 470 | |
| 471 | void Navigate(UINT wCode) |
| 472 | { |
nothing calls this directly
no test coverage detected