bool CXFA_FFBarcode::OnLButtonDown(uint32_t dwFlags, const CFX_PointF& point) { CFWL_Barcode* pBarCodeWidget = (CFWL_Barcode*)m_pNormalWidget; if (!pBarCodeWidget || pBarCodeWidget->IsProtectedType()) return false; if (m_pDataAcc->GetAccess() != XFA_ATTRIBUTEENUM_Open) return false; return CXFA_FFTextEdit::OnLButtonDown(dwFlags, point); }
FX_BOOL CXFA_FFBarcode::OnRButtonDown(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy) { CFWL_Barcode* pBarCodeWidget = (CFWL_Barcode*)m_pNormalWidget; if (!pBarCodeWidget || pBarCodeWidget->IsProtectedType()) { return FALSE; } return CXFA_FFTextEdit::OnRButtonDown(dwFlags, fx, fy); }
FX_BOOL CXFA_FFBarcode::OnLButtonDown(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT fy) { CFWL_Barcode* pBarCodeWidget = (CFWL_Barcode*)m_pNormalWidget; if (!pBarCodeWidget || pBarCodeWidget->IsProtectedType()) { return FALSE; } if (m_pDataAcc->GetAccess() != XFA_ATTRIBUTEENUM_Open) { return FALSE; } return CXFA_FFTextEdit::OnLButtonDown(dwFlags, fx, fy); }
bool CXFA_FFBarcode::OnRButtonDown(uint32_t dwFlags, const CFX_PointF& point) { CFWL_Barcode* pBarCodeWidget = (CFWL_Barcode*)m_pNormalWidget; if (!pBarCodeWidget || pBarCodeWidget->IsProtectedType()) return false; return CXFA_FFTextEdit::OnRButtonDown(dwFlags, point); }