Find 1.92 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
/* 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.                    */
24 25
/*          25-Aug-97: Definitions imported from   */
/*                     TBEvents.h.                 */
26 27
/***************************************************/

28
/* Find dialogue component IDs */
29

30 31 32 33 34 35 36 37
#define FindWrit                        0x01601
#define FindLabel                       0x01602
#define FindFromStart                   0x01603
#define FindCaseSensitive               0x01604
#define FindSearchSource                0x01605
#define FindAllWindows                  0x01606
#define FindCancel                      0x01607
#define FindOK                          0x01608
38

39
/* Find dialogue event codes */
40

41 42 43 44
#define EFindCancel                     0x01607
#define EFindOK                         0x01608

#define EFindToBeShown                  0x017ff
45

46 47 48
/* Function prototypes */

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