linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #02814
[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2369: no balloon tips, too awkward in lists
------------------------------------------------------------
revno: 2369
committer: poy <poy@xxxxxxxxxx>
branch nick: trunk
timestamp: Mon 2010-12-27 17:15:36 +0100
message:
no balloon tips, too awkward in lists
modified:
changelog.txt
dwt/src/widgets/TabView.cpp
dwt/src/widgets/Table.cpp
dwt/src/widgets/ToolBar.cpp
dwt/src/widgets/ToolTip.cpp
--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk
Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'changelog.txt'
--- changelog.txt 2010-12-27 14:59:37 +0000
+++ changelog.txt 2010-12-27 16:15:36 +0000
@@ -63,7 +63,6 @@
* Update MiniUPnPc (poy)
* Ameliorate the MiniUPnPc device selection
* Prevent an endless loop on connection failure (thanks bigmuscle)
-* [L#694167] Balloon-style tooltips (iceman50, poy)
-- 0.770 2010-07-05 --
* [L#550300] Catch more potential file corruptions (thanks bigmuscle)
=== modified file 'dwt/src/widgets/TabView.cpp'
--- dwt/src/widgets/TabView.cpp 2010-12-27 14:59:37 +0000
+++ dwt/src/widgets/TabView.cpp 2010-12-27 16:15:36 +0000
@@ -139,7 +139,6 @@
if(cs.style & TCS_TOOLTIPS) {
tip = WidgetCreator<ToolTip>::attach(this, TabCtrl_GetToolTips(handle())); // created and managed by the tab control thanks to the TCS_TOOLTIPS style
- tip->addRemoveStyle(TTS_BALLOON, true);
tip->addRemoveStyle(TTS_NOPREFIX, true);
tip->onRaw([this](WPARAM, LPARAM lParam) { return handleToolTip(lParam); }, Message(WM_NOTIFY, TTN_GETDISPINFO));
}
=== modified file 'dwt/src/widgets/Table.cpp'
--- dwt/src/widgets/Table.cpp 2010-12-27 14:59:37 +0000
+++ dwt/src/widgets/Table.cpp 2010-12-27 16:15:36 +0000
@@ -574,7 +574,6 @@
addRemoveTableExtendedStyle(LVS_EX_INFOTIP, true);
HWND tip = ListView_GetToolTips(handle());
if(tip) {
- util::win32::updateStyle(tip, GWL_STYLE, TTS_BALLOON, true);
// make tooltips last longer
::SendMessage(tip, TTM_SETDELAYTIME, TTDT_AUTOPOP, MAKELPARAM(::SendMessage(tip, TTM_GETDELAYTIME, TTDT_AUTOPOP, 0) * 3, 0));
}
=== modified file 'dwt/src/widgets/ToolBar.cpp'
--- dwt/src/widgets/ToolBar.cpp 2010-12-27 14:59:37 +0000
+++ dwt/src/widgets/ToolBar.cpp 2010-12-27 16:15:36 +0000
@@ -61,12 +61,6 @@
//// Telling the toolbar what the size of the TBBUTTON struct is
sendMessage(TB_BUTTONSTRUCTSIZE, sizeof(TBBUTTON));
- if((cs.style & TBSTYLE_TOOLTIPS) == TBSTYLE_TOOLTIPS) {
- HWND tip = reinterpret_cast<HWND>(sendMessage(TB_GETTOOLTIPS));
- if(tip)
- util::win32::updateStyle(tip, GWL_STYLE, TTS_BALLOON, true);
- }
-
onRaw([this](WPARAM, LPARAM lParam) { return handleDropDown(lParam); }, Message(WM_NOTIFY, TBN_DROPDOWN));
onRaw([this](WPARAM, LPARAM lParam) { return handleToolTip(lParam); }, Message(WM_NOTIFY, TBN_GETINFOTIP));
=== modified file 'dwt/src/widgets/ToolTip.cpp'
--- dwt/src/widgets/ToolTip.cpp 2010-12-26 18:16:35 +0000
+++ dwt/src/widgets/ToolTip.cpp 2010-12-27 16:15:36 +0000
@@ -36,7 +36,7 @@
const TCHAR ToolTip::windowClass[] = TOOLTIPS_CLASS;
ToolTip::Seed::Seed() :
- BaseType::Seed(WS_POPUP | TTS_ALWAYSTIP | TTS_BALLOON | TTS_NOPREFIX, WS_EX_TRANSPARENT)
+ BaseType::Seed(WS_POPUP | TTS_ALWAYSTIP | TTS_NOPREFIX, WS_EX_TRANSPARENT)
{
}