From d61bc49d53578c26b50531fdec1bbd633e19b6ac Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 26 Jul 2018 20:06:47 +0300 Subject: fix for ICQ user info tree --- protocols/IcqOscarJ/src/userinfotab.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'protocols') diff --git a/protocols/IcqOscarJ/src/userinfotab.cpp b/protocols/IcqOscarJ/src/userinfotab.cpp index 9f25cbb649..4076e4a2f9 100644 --- a/protocols/IcqOscarJ/src/userinfotab.cpp +++ b/protocols/IcqOscarJ/src/userinfotab.cpp @@ -269,16 +269,18 @@ int CIcqProto::OnUserInfoInit(WPARAM wParam, LPARAM lParam) return 0; OPTIONSDIALOGPAGE odp = {}; - odp.flags = ODPF_UNICODE | ODPF_DONTTRANSLATE; + odp.flags = ODPF_UNICODE | ODPF_USERINFOTAB | ODPF_DONTTRANSLATE; odp.dwInitParam = LPARAM(this); + odp.szTitle.w = m_tszUserName; + odp.pfnDlgProc = IcqDlgProc; odp.position = -1900000000; - odp.szTitle.w = m_tszUserName; + odp.szTab.w = LPGENW("Info"); odp.pszTemplate = MAKEINTRESOURCEA(IDD_INFO_ICQ); g_plugin.addUserInfo(wParam, &odp); if (!lParam) { - odp.szTitle.w = LPGENW("ICQ Details"); + odp.szTab.w = LPGENW("Account"); odp.position = -1899999999; odp.pszTemplate = MAKEINTRESOURCEA(IDD_INFO_CHANGEINFO); odp.pfnDlgProc = ChangeInfoDlgProc; -- cgit v1.2.3