| 861 | } |
| 862 | |
| 863 | void CTxtWinHost::SetClientRect(RECT *prc) |
| 864 | { |
| 865 | rcClient = *prc; |
| 866 | |
| 867 | LONG xPerInch = ::GetDeviceCaps(m_re->GetManager()->GetPaintDC(), LOGPIXELSX); |
| 868 | LONG yPerInch = ::GetDeviceCaps(m_re->GetManager()->GetPaintDC(), LOGPIXELSY); |
| 869 | sizelExtent.cx = DXtoHimetricX(rcClient.right - rcClient.left, xPerInch); |
| 870 | sizelExtent.cy = DYtoHimetricY(rcClient.bottom - rcClient.top, yPerInch); |
| 871 | |
| 872 | pserv->OnTxPropertyBitsChange(TXTBIT_VIEWINSETCHANGE, TXTBIT_VIEWINSETCHANGE); |
| 873 | } |
| 874 | |
| 875 | BOOL CTxtWinHost::SetSaveSelection(BOOL f_SaveSelection) |
| 876 | { |
no test coverage detected