taskmgr: Set column order through listview.

This commit is contained in:
Nikolay Sivov 2015-03-30 23:49:44 +03:00 committed by Alexandre Julliard
parent e845bded34
commit db4dd8cd38
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ void AddColumns(void)
InsertColumn(24, wszIOOtherBytes, LVCFMT_RIGHT, TaskManagerSettings.ColumnSizeArray[24], -1);
size = SendMessageW(hProcessPageHeaderCtrl, HDM_GETITEMCOUNT, 0, 0);
SendMessageW(hProcessPageHeaderCtrl, HDM_SETORDERARRAY, (WPARAM) size, (LPARAM) &TaskManagerSettings.ColumnOrderArray);
SendMessageW(hProcessPageListCtrl, LVM_SETCOLUMNORDERARRAY, (WPARAM) size, (LPARAM) &TaskManagerSettings.ColumnOrderArray);
UpdateColumnDataHints();
}