summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdialog.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-09-21 12:34:16 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-09-21 12:34:16 +0000
commit97785d35abe98c765a0b879af4b4429492f0947b (patch)
tree5ec30656ec01342f745928695da384bb9013748f /plugins/TabSRMM/src/msgdialog.cpp
parentdddd0ff9353634d7935b29f81f497df4566085f0 (diff)
using Uxtheme in tabsrmm
git-svn-id: http://svn.miranda-ng.org/main/trunk@6152 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/msgdialog.cpp')
-rw-r--r--plugins/TabSRMM/src/msgdialog.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp
index 40e8722576..ea8a1cda5e 100644
--- a/plugins/TabSRMM/src/msgdialog.cpp
+++ b/plugins/TabSRMM/src/msgdialog.cpp
@@ -1,7 +1,4 @@
/*
- * astyle --force-indent=tab=4 --brackets=linux --indent-switches
- * --pad=oper --one-line=keep-blocks --unpad=paren
- *
* Miranda NG: the free IM client for Microsoft* Windows*
*
* Copyright 2000-2009 Miranda ICQ/IM project,
@@ -324,9 +321,9 @@ static void MsgWindowUpdateState(TWindowData *dat, UINT msg)
HWND hwndTab = GetParent(hwndDlg);
if (msg == WM_ACTIVATE) {
- if (dat->pContainer->dwFlags & CNT_TRANSPARENCY && CMimAPI::m_pSetLayeredWindowAttributes != NULL) {
+ if (dat->pContainer->dwFlags & CNT_TRANSPARENCY) {
DWORD trans = LOWORD(dat->pContainer->settings->dwTransparency);
- CMimAPI::m_pSetLayeredWindowAttributes(dat->pContainer->hwnd, 0, (BYTE)trans, (dat->pContainer->dwFlags & CNT_TRANSPARENCY ? LWA_ALPHA : 0));
+ SetLayeredWindowAttributes(dat->pContainer->hwnd, 0, (BYTE)trans, (dat->pContainer->dwFlags & CNT_TRANSPARENCY ? LWA_ALPHA : 0));
}
}
#if defined(__FEAT_EXP_AUTOSPLITTER)
@@ -1266,7 +1263,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
{
RECT rc;
int i;
- BOOL isThemed = PluginConfig.m_bIsXP;
+ BOOL isThemed = TRUE;
int dwLocalSmAdd = 0;
DBVARIANT dbv = {0};