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

Method SetCapture

DuiLib/Control/UIActiveX.cpp:442–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440}
441
442STDMETHODIMP CActiveXCtrl::SetCapture(BOOL fCapture)
443{
444 DUITRACE(_T("AX: CActiveXCtrl::SetCapture"));
445 if( m_pOwner == NULL ) return E_UNEXPECTED;
446 m_bCaptured = (fCapture == TRUE);
447 if( fCapture ) ::SetCapture(m_pOwner->m_hwndHost); else ::ReleaseCapture();
448 return S_OK;
449}
450
451STDMETHODIMP CActiveXCtrl::GetFocus(void)
452{

Callers 1

TxSetCaptureMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected