#include <CtrlChatFrame.h>
Inheritance diagram for CChatFrame:
Public Member Functions | |
CChatFrame () | |
virtual | ~CChatFrame () |
void | SetDesktopMode (BOOL bDesktop) |
virtual void | OnSkinChange () |
virtual void | OnStatusMessage (int nFlags, LPCTSTR pszText) |
virtual void | OnLocalText (LPCTSTR pszText) |
virtual void | OnLocalMessage (BOOL bAction, LPCTSTR pszText) |
virtual void | OnLocalCommand (LPCTSTR pszText, LPCTSTR pszCommand) |
virtual BOOL | PreTranslateMessage (MSG *pMsg) |
Public Attributes | |
CChatSession * | m_pSession |
Protected Member Functions | |
void | SetAlert (BOOL bAlert=TRUE) |
void | MoveHistory (int nDelta) |
BOOL | IsInRange (LPCTSTR pszToken) |
void | InsertText (LPCTSTR pszToken) |
void | AddText (LPCTSTR pszText) |
void | AddText (BOOL bSelf, BOOL bAction, LPCTSTR pszNick, LPCTSTR pszBody) |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
afx_msg void | OnDestroy () |
afx_msg void | OnUpdateChatBold (CCmdUI *pCmdUI) |
afx_msg void | OnChatBold () |
afx_msg void | OnUpdateChatItalic (CCmdUI *pCmdUI) |
afx_msg void | OnChatItalic () |
afx_msg void | OnUpdateChatUnderline (CCmdUI *pCmdUI) |
afx_msg void | OnChatUnderline () |
afx_msg void | OnChatColour () |
afx_msg void | OnUpdateChatConnect (CCmdUI *pCmdUI) |
afx_msg void | OnChatConnect () |
afx_msg void | OnUpdateChatDisconnect (CCmdUI *pCmdUI) |
afx_msg void | OnChatDisconnect () |
afx_msg void | OnChatClear () |
afx_msg void | OnChatEmoticons () |
afx_msg void | OnMeasureItem (int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct) |
afx_msg void | OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct) |
afx_msg void | OnTimer (UINT nIDEvent) |
afx_msg void | OnSetFocus (CWnd *pOldWnd) |
afx_msg void | OnClickView (RVN_ELEMENTEVENT *pNotify, LRESULT *pResult) |
afx_msg void | OnUpdateChatTimestamp (CCmdUI *pCmdUI) |
afx_msg void | OnChatTimestamp () |
Protected Attributes | |
CRichDocument | m_pContent |
CRichViewCtrl | m_wndView |
CCoolBarCtrl | m_wndToolBar |
CEdit | m_wndEdit |
CMenu * | m_pIconMenu |
CStringArray | m_pHistory |
int | m_nHistory |
CString | m_sCurrent |
CChatWnd * | m_pChildWnd |
CWnd * | m_pDesktopWnd |
|
Definition at line 78 of file CtrlChatFrame.cpp. References NULL. |
|
Definition at line 86 of file CtrlChatFrame.cpp. References m_pSession, and NULL. |
|
Definition at line 352 of file CtrlChatFrame.cpp. References CRichDocument::Add(), CSettings::Community, Emoticons, CEmoticons::FormatText(), CRichViewCtrl::InvalidateIfModified(), m_pContent, m_wndView, NEWLINE_FORMAT, NULL, retfBold, retfColour, retNewline, retText, Settings, and CSettings::sCommunity::Timestamp. |
|
Definition at line 345 of file CtrlChatFrame.cpp. References CRichDocument::Add(), CRichViewCtrl::InvalidateIfModified(), m_pContent, m_wndView, NEWLINE_FORMAT, retNewline, and retText. Referenced by CPrivateChatFrame::OnLocalMessage(), CPrivateChatFrame::OnProfileReceived(), and CPrivateChatFrame::OnRemoteMessage(). |
|
Definition at line 320 of file CtrlChatFrame.cpp. References m_wndEdit. Referenced by OnChatBold(), OnChatColour(), OnChatEmoticons(), OnChatItalic(), and OnChatUnderline(). |
|
Definition at line 294 of file CtrlChatFrame.cpp. References m_wndEdit. Referenced by OnChatBold(), OnChatItalic(), OnChatUnderline(), OnUpdateChatBold(), OnUpdateChatItalic(), and OnUpdateChatUnderline(). |
|
Definition at line 271 of file CtrlChatFrame.cpp. References m_nHistory, m_pHistory, m_sCurrent, and m_wndEdit. Referenced by PreTranslateMessage(). |
|
Definition at line 447 of file CtrlChatFrame.cpp. References InsertText(), IsInRange(), and m_pSession. Referenced by PreTranslateMessage(). |
|
Definition at line 518 of file CtrlChatFrame.cpp. References CRichDocument::Clear(), CRichViewCtrl::InvalidateIfModified(), m_pContent, and m_wndView. |
|
Definition at line 487 of file CtrlChatFrame.cpp. References InsertText(), and m_pSession. Referenced by PreTranslateMessage(). |
|
Definition at line 543 of file CtrlChatFrame.cpp. References CChatSession::Connect(), CChatSession::GetConnectedState(), m_pSession, NULL, and TS_FALSE. |
|
Definition at line 564 of file CtrlChatFrame.cpp. References CChatSession::Close(), m_pSession, and NULL. |
|
Definition at line 501 of file CtrlChatFrame.cpp. References CEmoticons::CreateMenu(), Emoticons, CEmoticons::GetText(), ID_CHAT_EMOTICONS, InsertText(), m_pIconMenu, m_pSession, m_wndToolBar, NULL, and CCoolBarCtrl::ThrowMenu(). |
|
Definition at line 462 of file CtrlChatFrame.cpp. References InsertText(), IsInRange(), and m_pSession. Referenced by PreTranslateMessage(). |
|
Definition at line 529 of file CtrlChatFrame.cpp. References CSettings::Community, Settings, and CSettings::sCommunity::Timestamp. |
|
Definition at line 477 of file CtrlChatFrame.cpp. References InsertText(), IsInRange(), and m_pSession. Referenced by PreTranslateMessage(). |
|
Definition at line 641 of file CtrlChatFrame.cpp. References CShareazaApp::InternalURI(), RVN_ELEMENTEVENT::pElement, and theApp. |
|
Reimplemented in CPrivateChatFrame. Definition at line 94 of file CtrlChatFrame.cpp. References CChatWindows::Add(), ChatWindows, CCoolBarCtrl::Create(), CRichViewCtrl::Create(), IDC_CHAT_EDIT, IDC_CHAT_TEXT, CShareazaApp::m_gdiFont, m_nHistory, m_pContent, m_wndEdit, m_wndToolBar, m_wndView, SetDesktopMode(), CRichViewCtrl::SetDocument(), CRichViewCtrl::SetFollowBottom(), CRichViewCtrl::SetSelectable(), and theApp. Referenced by CPrivateChatFrame::OnCreate(). |
|
Definition at line 123 of file CtrlChatFrame.cpp. References ChatCore, ChatWindows, CChatCore::m_pSection, m_pSession, NULL, CChatSession::OnCloseWindow(), and CChatWindows::Remove(). |
|
Definition at line 620 of file CtrlChatFrame.cpp. References CoolInterface, CEmoticons::Draw(), Emoticons, CCoolInterface::m_crHighlight, and CCoolInterface::m_crWindow. |
|
Reimplemented in CPrivateChatFrame. Definition at line 415 of file CtrlChatFrame.cpp. References ID_CHAT_CLEAR, ID_CHAT_CONNECT, and ID_CHAT_DISCONNECT. Referenced by CPrivateChatFrame::OnLocalCommand(), and OnLocalText(). |
|
Reimplemented in CPrivateChatFrame. Definition at line 411 of file CtrlChatFrame.cpp. Referenced by OnLocalText(). |
|
Definition at line 386 of file CtrlChatFrame.cpp. References m_pSession, NULL, OnLocalCommand(), and OnLocalMessage(). Referenced by PreTranslateMessage(). |
|
Definition at line 614 of file CtrlChatFrame.cpp. |
|
Definition at line 608 of file CtrlChatFrame.cpp. References m_wndEdit. |
|
Reimplemented in CPrivateChatFrame. Definition at line 140 of file CtrlChatFrame.cpp. Referenced by CChatWnd::OnSkinChange(), and CPrivateChatFrame::OnSkinChange(). |
|
Definition at line 378 of file CtrlChatFrame.cpp. References CRichDocument::Add(), CRichViewCtrl::InvalidateIfModified(), m_pContent, m_wndView, NEWLINE_FORMAT, NULL, retfColour, retNewline, and retText. Referenced by CChatWindows::OpenPrivate(), and CChatSession::StatusMessage(). |
|
Definition at line 572 of file CtrlChatFrame.cpp. References m_pChildWnd, NULL, and CChildWnd::SetAlert(). |
|
Definition at line 442 of file CtrlChatFrame.cpp. References IsInRange(). |
|
Definition at line 534 of file CtrlChatFrame.cpp. References CCoolBarItem::FromCmdUI(), CChatSession::GetConnectedState(), CChatSession::m_nProtocol, m_pSession, NULL, PROTOCOL_ED2K, and TS_FALSE. |
|
Definition at line 555 of file CtrlChatFrame.cpp. References CCoolBarItem::FromCmdUI(), CChatSession::GetConnectedState(), CChatSession::m_nProtocol, m_pSession, NULL, PROTOCOL_ED2K, and TS_FALSE. |
|
Definition at line 457 of file CtrlChatFrame.cpp. References IsInRange(). |
|
Definition at line 524 of file CtrlChatFrame.cpp. References CSettings::Community, Settings, and CSettings::sCommunity::Timestamp. |
|
Definition at line 472 of file CtrlChatFrame.cpp. References IsInRange(). |
|
Definition at line 187 of file CtrlChatFrame.cpp. References EDIT_HISTORY, m_nHistory, m_pHistory, m_pSession, m_sCurrent, m_wndEdit, m_wndView, MoveHistory(), NULL, OnChatBold(), OnChatColour(), OnChatItalic(), OnChatUnderline(), and OnLocalText(). |
|
Definition at line 179 of file CtrlChatFrame.cpp. Referenced by CPrivateChatFrame::OnProfileReceived(), and CPrivateChatFrame::OnRemoteMessage(). |
|
Definition at line 147 of file CtrlChatFrame.cpp. References m_pChildWnd, m_pDesktopWnd, CChatWnd::m_pFrame, and NULL. Referenced by OnCreate(). |
|
Definition at line 55 of file CtrlChatFrame.h. Referenced by MoveHistory(), OnCreate(), and PreTranslateMessage(). |
|
Definition at line 58 of file CtrlChatFrame.h. Referenced by OnTimer(), and SetDesktopMode(). |
|
Definition at line 48 of file CtrlChatFrame.h. Referenced by AddText(), OnChatClear(), OnCreate(), CPrivateChatFrame::OnProfileReceived(), and OnStatusMessage(). |
|
Definition at line 59 of file CtrlChatFrame.h. Referenced by SetDesktopMode(). |
|
Definition at line 54 of file CtrlChatFrame.h. Referenced by MoveHistory(), and PreTranslateMessage(). |
|
Definition at line 52 of file CtrlChatFrame.h. Referenced by OnChatEmoticons(). |
|
|
Definition at line 56 of file CtrlChatFrame.h. Referenced by MoveHistory(), and PreTranslateMessage(). |
|
Definition at line 51 of file CtrlChatFrame.h. Referenced by InsertText(), IsInRange(), MoveHistory(), OnCreate(), OnSetFocus(), CPrivateChatFrame::OnSize(), and PreTranslateMessage(). |
|
Definition at line 50 of file CtrlChatFrame.h. Referenced by OnChatEmoticons(), OnCreate(), CPrivateChatFrame::OnSize(), and CPrivateChatFrame::OnSkinChange(). |
|
Definition at line 49 of file CtrlChatFrame.h. Referenced by AddText(), OnChatClear(), OnCreate(), CPrivateChatFrame::OnSize(), OnStatusMessage(), and PreTranslateMessage(). |