MCPcopy Create free account
hub / github.com/cinience/RedisStudio / TxSendMessage

Method TxSendMessage

DuiLib/Control/UIRichEdit.cpp:1659–1671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1657}
1658
1659HRESULT CRichEditUI::TxSendMessage(UINT msg, WPARAM wparam, LPARAM lparam, LRESULT *plresult) const
1660{
1661 if( m_pTwh ) {
1662 if( msg == WM_KEYDOWN && TCHAR(wparam) == VK_RETURN ) {
1663 if( !m_bWantReturn || (::GetKeyState(VK_CONTROL) < 0 && !m_bWantCtrlReturn) ) {
1664 if( m_pManager != NULL ) m_pManager->SendNotify((CControlUI*)this, DUI_MSGTYPE_RETURN);
1665 return S_OK;
1666 }
1667 }
1668 return m_pTwh->GetTextServices()->TxSendMessage(msg, wparam, lparam, plresult);
1669 }
1670 return S_FALSE;
1671}
1672
1673IDropTarget* CRichEditUI::GetTxDropTarget()
1674{

Callers 2

DoInitMethod · 0.80
DoEventMethod · 0.80

Calls 2

SendNotifyMethod · 0.80
GetTextServicesMethod · 0.80

Tested by

no test coverage detected