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

Method SetDropAcceptFile

DuiLib/Control/UIRichEdit.cpp:1685–1691  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1683}
1684
1685bool CRichEditUI::SetDropAcceptFile(bool bAccept)
1686{
1687 LRESULT lResult;
1688 TxSendMessage(EM_SETEVENTMASK, 0,ENM_DROPFILES|ENM_LINK, // ENM_CHANGE| ENM_CORRECTTEXT | ENM_DRAGDROPDONE | ENM_DROPFILES | ENM_IMECHANGE | ENM_LINK | ENM_OBJECTPOSITIONS | ENM_PROTECTED | ENM_REQUESTRESIZE | ENM_SCROLL | ENM_SELCHANGE | ENM_UPDATE,
1689 &lResult);
1690 return (BOOL)lResult == FALSE;
1691}
1692
1693void CRichEditUI::OnTxNotify(DWORD iNotify, void *pv)
1694{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected