Home | History | Annotate | Download | only in fwl

Lines Matching refs:m_pEdit

55   if ((m_pProperties->m_dwStyleExes & FWL_STYLEEXT_CMB_DropDown) && !m_pEdit) {
56 m_pEdit = pdfium::MakeUnique<CFWL_ComboEdit>(
58 m_pEdit->SetOuter(this);
60 if (m_pEdit)
61 m_pEdit->SetParent(this);
93 if (bAddDropDown && !m_pEdit) {
94 m_pEdit = pdfium::MakeUnique<CFWL_ComboEdit>(
96 m_pEdit->SetOuter(this);
97 m_pEdit->SetParent(this);
98 } else if (bRemoveDropDown && m_pEdit) {
99 m_pEdit->SetStates(FWL_WGTSTATE_Invisible);
113 if (IsDropDownStyle() && m_pEdit)
207 if (m_pEdit)
208 m_pEdit->SetThemeProvider(pThemeProvider);
220 if (IsDropDownStyle() && m_pEdit) {
222 m_pEdit->SetText(CFX_WideString());
225 m_pEdit->SetText(hItem ? hItem->GetText() : L"");
227 m_pEdit->Update();
233 if (IsDropDownStyle() && m_pEdit)
234 m_pEdit->SetStates(dwStates);
241 if (IsDropDownStyle() && m_pEdit)
242 m_pEdit->RemoveStates(dwStates);
249 if (!m_pEdit)
252 m_pEdit->SetText(wsText);
253 m_pEdit->Update();
257 if (m_pEdit)
258 return m_pEdit->GetText();
286 if (m_pEdit)
287 m_pEdit->ModifyStylesEx(dwStylesExAdded, dwStylesExRemoved);
351 CFX_WideString wsText = m_pEdit->GetText();
358 m_pEdit->SetSelected();
365 m_pEdit->SetText(hItem ? hItem->GetText() : L"");
366 m_pEdit->Update();
367 m_pEdit->SetSelected();
382 if (!IsDropDownStyle() || !m_pEdit)
387 m_pEdit->SetWidgetRect(rtEdit);
391 m_pEdit->LockUpdate();
392 m_pEdit->SetText(hItem ? hItem->GetText() : L"");
393 m_pEdit->UnlockUpdate();
395 m_pEdit->Update();
406 if (m_pEdit && !m_pEdit->GetThemeProvider())
407 m_pEdit->SetThemeProvider(pTheme);
411 if (!m_pEdit)
442 m_pEdit->ModifyStylesEx(dwAdd, FWL_STYLEEXT_EDT_HAlignMask |
475 if (m_pEdit) {
476 m_pEdit->SetText(hItem->GetText());
477 m_pEdit->Update();
478 m_pEdit->SetSelected();
518 if (m_pEdit)
525 m_pEdit =
527 m_pEdit->SetOuter(this);
577 if (!m_pEdit)
587 m_pEdit->ModifyStylesEx(0, FWL_STYLEEXT_EDT_ReadOnly);
589 m_pEdit->ModifyStylesEx(FWL_STYLEEXT_EDT_ReadOnly, 0);
596 if (m_pEdit)
637 if (m_pEdit) {
638 CFX_RectF rtEdit = m_pEdit->GetWidgetRect();
641 m_pEdit->DrawWidget(pGraphics, &mt);
683 if (!IsDropDownStyle() || !m_pEdit)
688 m_pEdit->SetWidgetRect(rtEdit);
692 m_pEdit->LockUpdate();
693 m_pEdit->SetText(hItem ? hItem->GetText() : L"");
694 m_pEdit->UnlockUpdate();
696 m_pEdit->Update();
767 if (!m_pEdit)
769 m_pEdit->SetSelected();
782 if (!m_pEdit)
785 m_pEdit->FlagFocus(false);
786 m_pEdit->ClearSelected();
797 if (IsDropDownStyle() && m_pEdit)
863 if (bDropDown && m_pEdit) {
864 CFX_WideString wsText = m_pEdit->GetText();
882 if (bDropDown && m_pEdit)
890 m_pEdit->GetDelegate()->OnProcessMessage(pMsg);
960 if (m_pEdit)
968 if ((m_pEdit->GetStates() & FWL_WGTSTATE_Focused) == 0) {
969 CFWL_MessageSetFocus msg(nullptr, m_pEdit.get());
970 m_pEdit->GetDelegate()->OnProcessMessage(&msg);
975 CFWL_MessageKillFocus msg(m_pEdit.get());
976 m_pEdit->GetDelegate()->OnProcessMessage(&msg);
992 if (m_pEdit) {
993 CFX_WideString wsText = m_pEdit->GetText();
1014 if (m_pEdit)
1015 m_pEdit->GetDelegate()->OnProcessMessage(pMsg);