Add process token tab font settings
@@ -589,6 +589,7 @@ INT_PTR CALLBACK PhpTokenPageProc(
PhAddListViewGroup(tokenPageContext->ListViewHandle, PH_PROCESS_TOKEN_CATEGORY_PRIVILEGES, L"Privileges");
PhAddListViewGroup(tokenPageContext->ListViewHandle, PH_PROCESS_TOKEN_CATEGORY_GROUPS, L"Groups");
ListView_SetImageList(tokenPageContext->ListViewHandle, tokenPageContext->ListViewImageList, LVSIL_SMALL);
+ PhRegisterWindowCallback(tokenPageContext->ListViewHandle, PH_PLUGIN_WINDOW_EVENT_TYPE_FONT, NULL);
PhSetDialogItemText(hwndDlg, IDC_USER, L"Unknown");
PhSetDialogItemText(hwndDlg, IDC_USERSID, L"Unknown");
@@ -705,6 +706,7 @@ INT_PTR CALLBACK PhpTokenPageProc(
PhpTokenPageFreeListViewEntries(tokenPageContext);
+ PhUnregisterWindowCallback(tokenPageContext->ListViewHandle);
PhSaveListViewColumnsToSetting(L"TokenGroupsListViewColumns", tokenPageContext->ListViewHandle);
if (tokenPageContext->Groups) PhFree(tokenPageContext->Groups);
