Lines Matching defs:pWnd
83 explicit CPWL_MsgControl(CPWL_Wnd* pWnd) {
84 m_pCreatedWnd = pWnd;
99 FX_BOOL IsWndCreated(const CPWL_Wnd* pWnd) const {
100 return m_pCreatedWnd == pWnd;
103 FX_BOOL IsMainCaptureMouse(const CPWL_Wnd* pWnd) const {
104 return pWnd == m_pMainMouseWnd;
107 FX_BOOL IsWndCaptureMouse(const CPWL_Wnd* pWnd) const {
108 if (pWnd) {
110 if (m_aMousePath.GetAt(i) == pWnd)
118 FX_BOOL IsMainCaptureKeyboard(const CPWL_Wnd* pWnd) const {
119 return pWnd == m_pMainKeyboardWnd;
122 FX_BOOL IsWndCaptureKeyboard(const CPWL_Wnd* pWnd) const {
123 if (pWnd) {
125 if (m_aKeyboardPath.GetAt(i) == pWnd)
133 void SetFocus(CPWL_Wnd* pWnd) {
136 if (pWnd) {
137 m_pMainKeyboardWnd = pWnd;
139 CPWL_Wnd* pParent = pWnd;
145 pWnd->OnSetFocus();
151 if (CPWL_Wnd* pWnd = m_aKeyboardPath.GetAt(0))
152 pWnd->OnKillFocus();
158 void SetCapture(CPWL_Wnd* pWnd) {
161 if (pWnd) {
162 m_pMainMouseWnd = pWnd;
164 CPWL_Wnd* pParent = pWnd;
488 void CPWL_Wnd::AddChild(CPWL_Wnd* pWnd) {
489 m_aChildren.Add(pWnd);
492 void CPWL_Wnd::RemoveChild(CPWL_Wnd* pWnd) {
495 if (pChild == pWnd) {
503 void CPWL_Wnd::OnNotify(CPWL_Wnd* pWnd,
509 AddChild(pWnd);
512 RemoveChild(pWnd);
773 FX_BOOL CPWL_Wnd::IsWndCaptureMouse(const CPWL_Wnd* pWnd) const {
775 return pCtrl->IsWndCaptureMouse(pWnd);
780 FX_BOOL CPWL_Wnd::IsWndCaptureKeyboard(const CPWL_Wnd* pWnd) const {
782 return pCtrl->IsWndCaptureKeyboard(pWnd);