Add to PretranslateMessage
IF (: isdialogMessage (pfinddialog-> m_hwnd, pmsg)) {bhandled = true; return 0;}