diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-17 00:43:52 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-17 00:43:52 +0300 |
commit | ca445d73975b8f78003887562da4c5ef6f6d835e (patch) | |
tree | fc5ed6a3a1791ab6bc17f773cd74407e65563514 /options.cpp | |
parent | 78e9e2fae403e930b5ca3ee1c772ad8008a833f1 (diff) |
modified: main.cpp
modified: messages.cpp
modified: options.cpp
Diffstat (limited to 'options.cpp')
-rw-r--r-- | options.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/options.cpp b/options.cpp index c4bcd7a..a64695f 100644 --- a/options.cpp +++ b/options.cpp @@ -162,13 +162,13 @@ static BOOL CALLBACK DlgProcGpgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA ListView_SetItemState(hwndList, iRow, 0x2000, 0xF000); user_data[i] = hContact; ZeroMemory(&item,sizeof(item)); + ListView_SetColumnWidth(hwndList, 0, LVSCW_AUTOSIZE);// not sure about this + ListView_SetColumnWidth(hwndList, 1, LVSCW_AUTOSIZE); + ListView_SetColumnWidth(hwndList, 2, LVSCW_AUTOSIZE); + ListView_SetColumnWidth(hwndList, 3, LVSCW_AUTOSIZE); + ListView_SetColumnWidth(hwndList, 4, LVSCW_AUTOSIZE); i++; } - ListView_SetColumnWidth(hwndList, 0, LVSCW_AUTOSIZE);// not sure about this - ListView_SetColumnWidth(hwndList, 1, LVSCW_AUTOSIZE); - ListView_SetColumnWidth(hwndList, 2, LVSCW_AUTOSIZE); - ListView_SetColumnWidth(hwndList, 3, LVSCW_AUTOSIZE); - ListView_SetColumnWidth(hwndList, 4, LVSCW_AUTOSIZE); return TRUE; } @@ -584,6 +584,10 @@ static BOOL CALLBACK DlgProcLoadPublicKey(HWND hwndDlg,UINT msg,WPARAM wParam,LP ListView_SetItemText(hwndList_p, item_num, 3, tmp); mir_free(tmp); } + ListView_SetColumnWidth(hwndList_p, 0, LVSCW_AUTOSIZE);// not sure about this + ListView_SetColumnWidth(hwndList_p, 1, LVSCW_AUTOSIZE); + ListView_SetColumnWidth(hwndList_p, 2, LVSCW_AUTOSIZE); + ListView_SetColumnWidth(hwndList_p, 3, LVSCW_AUTOSIZE); } MessageBoxA(0, output.c_str(), "", MB_OK); DeleteFile(tmp2); |