/* Copyright 1997 Acorn Computers Ltd
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/***************************************************/
/* File   : Find.h                                 */
/*                                                 */
/* Purpose: Functions relating to the Find         */
/*          dialogue box.                          */
/*                                                 */
/* Author : A.D.Hodgkinson                         */
/*                                                 */
/* History: 17-Apr-97: Created.                    */
/*          25-Aug-97: Definitions imported from   */
/*                     TBEvents.h.                 */
/***************************************************/

/* Find dialogue component IDs */

#define FindWrit                        0x01601
#define FindLabel                       0x01602
#define FindFromStart                   0x01603
#define FindCaseSensitive               0x01604
#define FindSearchSource                0x01605
#define FindAllWindows                  0x01606
#define FindCancel                      0x01607
#define FindOK                          0x01608

/* Find dialogue event codes */

#define EFindCancel                     0x01607
#define EFindOK                         0x01608

#define EFindToBeShown                  0x017ff

/* Function prototypes */

int find_to_be_shown (int eventcode, ToolboxEvent * event, IdBlock * idb, void * handle);