home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 January
/
Chip_1997-01_cd.bin
/
ms95
/
disk22
/
dir08
/
f013640.re_
/
f013640.re
Wrap
Text File
|
1996-04-02
|
4KB
|
122 lines
/*----------------------------------------------------------------------+
| |
| Copyright (1993-1995) Bentley Systems, Inc., All rights reserved. |
| |
| "MicroStation" is a registered trademark and "MDL" and "MicroCSL" |
| are trademarks of Bentley Systems, Inc. |
| |
| Limited permission is hereby granted to reproduce and modify this |
| copyrighted material provided that the resulting code is used only |
| in conjunction with Bentley Systems products under the terms of the |
| license agreement provided therein, and that this notice is retained |
| in its entirety in any such reproduction or modification. |
| |
+----------------------------------------------------------------------*/
/*----------------------------------------------------------------------+
| |
| $Logfile: J:/mdl/examples/chngtxt/chtxtdlg.h_v $
| $Workfile: chtxtdlg.h $
| $Revision: 5.8 $
| $Date: 14 Feb 1996 11:19:20 $
| |
+----------------------------------------------------------------------*/
/*----------------------------------------------------------------------+
| |
| Function - |
| |
| Change Text dialog resource defines and structures |
| |
+----------------------------------------------------------------------*/
#if !defined (__chtxtdlgH__)
#define __chtxtdlgH__
#include <rtypes.h>
#define CHNGTXT_REPLACE 0
#define CHNGTXT_APPEND 1
#define CHNGTXT_PREPEND 2
/*----------------------------------------------------------------------+
| |
| Dialog Box IDs |
| |
+----------------------------------------------------------------------*/
#define DIALOGID_ReplaceText 1
/*----------------------------------------------------------------------+
| |
| Resource Type and ID for Prefs |
| |
+----------------------------------------------------------------------*/
#define RTYPE_chText RTYPE ('c', 'h', 'T', 't')
#define RSCID_chTextPrefs 1
/*----------------------------------------------------------------------+
| |
| Option Button IDs |
| |
+----------------------------------------------------------------------*/
#define OPTIONBUTTONID_Change 1
/*----------------------------------------------------------------------+
| |
| Text Item IDs |
| |
+----------------------------------------------------------------------*/
#define TEXTID_Find 1
#define TEXTID_ChangeTo 2
/*----------------------------------------------------------------------+
| |
| Toggle Button IDs |
| |
+----------------------------------------------------------------------*/
#define TOGGLEID_MatchCase 1
#define TOGGLEID_WholeWords 2
#define TOGGLEID_RegularExps 3
#define TOGGLEID_InCells 4
#define TOGGLEID_Fractions 5
/*----------------------------------------------------------------------+
| |
| Push Button IDs |
| |
+----------------------------------------------------------------------*/
#define PUSHBUTTONID_Find 1
#define PUSHBUTTONID_Change 2
#define PUSHBUTTONID_ChngAll 3
#define PUSHBUTTONID_ChngFence 4
#define PUSHBUTTONID_ChngSingle 5
/*----------------------------------------------------------------------+
| |
| Hook Function IDs |
| |
+----------------------------------------------------------------------*/
#define HOOKID_Dialog_ReplaceText 1
#define HOOKID_Item_MatchCase 2
#define HOOKID_Item_WholeWords 3
#define HOOKID_Item_RegularExps 4
#define HOOKID_Item_InCells 5
#define HOOKID_Item_Find 6
/*----------------------------------------------------------------------+
| |
| Local Structure Definitions |
| |
+----------------------------------------------------------------------*/
typedef struct changetextinfo
{
char oldString[128];
char newString[128];
int cellText;
int wholeWords;
int matchCase;
int regularExps;
int fractions;
int changeAction;
} ChangeTextInfo;
#endif