Archived:Input problems when using popup search field in a dialog (Known Issue)
The TSearchFieldStyle::EPopup style does not work properly with the CAknDialog class when trying to enter text into the search field.
Article Metadata
Tested with
Compatibility
Article
Description
CAknSearchField is used to create a search field in CAknDialog. The different types of TSearchFieldStyle include EPopup and ESearch. The ESearch style cannot be used with CAknDialog because it requires the search field to be a window-owning control, which is not the case with CAknDialog. EPopup style with CAknSearchField in a multipage dialog does not work properly. In some cases, when using EPopup there are problems when trying to enter (alphanumeric) text. Only numeric characters will be generated as input.
Solution
The problem with the EPopup style can be solved by manually setting the focus for the listbox.
// By setting focus text can be entered in EPopup style
iListbox->SetFocus(ETrue);
However, this workaround may cause additional problems in a multipage dialog and event filtering during page switching will need thorough handling.


(no comments yet)