| 1119 | // Header messages |
| 1120 | |
| 1121 | LRESULT OnHeaderChanging(int /*idCtrl*/, LPNMHDR /*pnmh*/, BOOL& bHandled) |
| 1122 | { |
| 1123 | // HACK: With the PGS_EX_ADDITEMATEND style we need to |
| 1124 | // repaint the last item to avoid a paint bug. |
| 1125 | // Code supplied by Ludvig A. Norin. |
| 1126 | if( (m_di.dwExtStyle & PGS_EX_ADDITEMATEND) != 0 ) { |
| 1127 | RECT rcItem = { 0 }; |
| 1128 | GetItemRect(GetItemCount(), &rcItem, LVIR_BOUNDS); |
| 1129 | InvalidateRect(&rcItem, FALSE); |
| 1130 | } |
| 1131 | // Destroy in-place window before dragging header control |
| 1132 | _DestroyInplaceWindow(); |
| 1133 | bHandled = FALSE; |
| 1134 | return 0; |
| 1135 | } |
| 1136 | |
| 1137 | LRESULT OnHeaderDblClick(int /*idCtrl*/, LPNMHDR /*pnmh*/, BOOL& /*bHandled*/) |
| 1138 | { |
nothing calls this directly
no test coverage detected