From: <zou...@us...> - 2007-11-30 20:08:13
|
Revision: 918 http://dcplusplus.svn.sourceforge.net/dcplusplus/?rev=918&view=rev Author: zouzou123gen Date: 2007-11-30 12:08:08 -0800 (Fri, 30 Nov 2007) Log Message: ----------- chat message box auto-scroll Modified Paths: -------------- dcplusplus/trunk/changelog.txt dcplusplus/trunk/win32/HubFrame.cpp dcplusplus/trunk/win32/PrivateFrame.cpp Modified: dcplusplus/trunk/changelog.txt =================================================================== --- dcplusplus/trunk/changelog.txt 2007-11-30 18:57:40 UTC (rev 917) +++ dcplusplus/trunk/changelog.txt 2007-11-30 20:08:08 UTC (rev 918) @@ -17,6 +17,7 @@ * Fixed filter in public hubs (thanks poy) * Fixed missing title changes on tab change (thanks poy) * Fixed user list filter (poy) +* Readded chat message box auto-scroll (poy) -- 0.703 2007-11-08 -- * Fixed invalid strings (thanks james ross) Modified: dcplusplus/trunk/win32/HubFrame.cpp =================================================================== --- dcplusplus/trunk/win32/HubFrame.cpp 2007-11-30 18:57:40 UTC (rev 917) +++ dcplusplus/trunk/win32/HubFrame.cpp 2007-11-30 20:08:08 UTC (rev 918) @@ -86,7 +86,7 @@ { WidgetTextBox::Seed cs = WinUtil::Seeds::textBox; - cs.style = WS_CHILD | WS_VISIBLE | WS_VSCROLL | ES_AUTOVSCROLL | ES_MULTILINE; + cs.style = WS_CHILD | WS_VISIBLE | WS_VSCROLL | ES_AUTOHSCROLL | ES_AUTOVSCROLL | ES_MULTILINE; message = createTextBox(cs); addWidget(message, true); message->onKeyDown(std::tr1::bind(&HubFrame::handleMessageKeyDown, this, _1)); Modified: dcplusplus/trunk/win32/PrivateFrame.cpp =================================================================== --- dcplusplus/trunk/win32/PrivateFrame.cpp 2007-11-30 18:57:40 UTC (rev 917) +++ dcplusplus/trunk/win32/PrivateFrame.cpp 2007-11-30 20:08:08 UTC (rev 918) @@ -100,7 +100,7 @@ { { WidgetTextBox::Seed cs = WinUtil::Seeds::textBox; - cs.style = WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | ES_AUTOVSCROLL | ES_MULTILINE; + cs.style = WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | ES_AUTOHSCROLL | ES_AUTOVSCROLL | ES_MULTILINE; message = createTextBox(cs); addWidget(message, true); message->onKeyDown(std::tr1::bind(&PrivateFrame::handleKeyDown, this, _1)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |