| 229 | |
| 230 | |
| 231 | LRESULT DumpMemoryGui::OnListMemoryColumnClicked(NMHDR* pnmh) |
| 232 | { |
| 233 | NMLISTVIEW* list = (NMLISTVIEW*)pnmh; |
| 234 | int column = list->iSubItem; |
| 235 | |
| 236 | if(column == prevColumn) |
| 237 | { |
| 238 | ascending = !ascending; |
| 239 | } |
| 240 | else |
| 241 | { |
| 242 | prevColumn = column; |
| 243 | ascending = true; |
| 244 | } |
| 245 | |
| 246 | // lo-byte: column, hi-byte: sort-order |
| 247 | ListMemorySelect.SortItems(&listviewCompareFunc, MAKEWORD(column, ascending)); |
| 248 | |
| 249 | return 0; |
| 250 | } |
| 251 | LRESULT DumpMemoryGui::OnListMemoryClick(NMHDR* pnmh) |
| 252 | { |
| 253 | int index = ListMemorySelect.GetSelectionMark(); |
nothing calls this directly
no outgoing calls
no test coverage detected