Article # 281, added by Geoworks, historical record
| first | previous | index | next | last |

"Find" button on the OmniGo document control.



Q. In the document control, the "Find..." button does nothing.
   What is it supposed to do? If it really is supposed to do
   nothing in that context, shouldn't it be NOT_ENABLED?

A. The "Find" button is managed by a SearchReplaceControl object.
   It's enabled, because the user ought to be able to search for
   text within the documents listed -- it's only ~GS_ENABLED when
   the File Selector shows no files.

   It does nothing, because the application needs to handle the
   searching itself. See the sample application DocUI, which is
   in the SDK_Omni sample app tree, for an example of using
   MSG_SEARCH.