home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 22 / AMUG_22-4.ISO / Files IV / Prog / T / TinyTools-2.sit / TinyTools / StdTextField.h < prev    next >
MacBinary  |  1997-10-07  |  2.5 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Tue Oct 7 03:07:50 1997, modified Tue Oct 7 03:07:50 1997, creator 'MPS ', type ASCII, 1847 bytes "StdTextField.h" , at 0x7b7 428 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% dearkID deark: macbinary default
100% lsar MacBinary default
100% librempegprobeID Sony Playstation STR (psxstr) default (weak)


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 53 74 64 54 65 78 | 74 46 69 65 6c 64 2e 68 |..StdTex|tField.h|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 07 37 00 | 00 01 ac b0 5f 90 46 b0 |......7.|...._.F.|
|00000060| 5f 90 46 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |_.F.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 51 3c 00 00 |........|....Q<..|
|00000080| 2f 2a 20 66 69 6c 65 20 | 53 74 64 54 65 78 74 46 |/* file |StdTextF|
|00000090| 69 65 6c 64 2e 68 20 43 | 6f 70 79 72 69 67 68 74 |ield.h C|opyright|
|000000a0| 20 28 43 29 20 31 39 39 | 36 2c 20 31 39 39 37 20 | (C) 199|6, 1997 |
|000000b0| 62 79 20 4a 6f 68 6e 20 | 52 2e 20 4d 6f 6e 74 62 |by John |R. Montb|
|000000c0| 72 69 61 6e 64 2e 20 20 | 41 6c 6c 20 52 69 67 68 |riand. |All Righ|
|000000d0| 74 73 20 52 65 73 65 72 | 76 65 64 2e 0d 09 73 69 |ts Reser|ved...si|
|000000e0| 6d 70 6c 65 20 74 65 78 | 74 20 66 69 65 6c 64 20 |mple tex|t field |
|000000f0| 6f 70 65 72 61 74 69 6f | 6e 73 2c 20 64 65 66 69 |operatio|ns, defi|
|00000100| 6e 69 74 69 6f 6e 73 2e | 0d 09 43 6f 70 79 72 69 |nitions.|..Copyri|
|00000110| 67 68 74 20 28 63 29 20 | 31 39 39 37 20 62 79 20 |ght (c) |1997 by |
|00000120| 4a 6f 68 6e 20 4d 6f 6e | 74 62 72 69 61 6e 64 2e |John Mon|tbriand.|
|00000130| 20 20 41 6c 6c 20 52 69 | 67 68 74 73 20 52 65 73 | All Ri|ghts Res|
|00000140| 65 72 76 65 64 2e 0d 09 | 50 65 72 6d 69 73 73 69 |erved...|Permissi|
|00000150| 6f 6e 20 67 72 61 6e 74 | 65 64 20 66 6f 72 20 70 |on grant|ed for p|
|00000160| 75 62 6c 69 63 20 75 73 | 65 2e 0d 09 44 69 73 74 |ublic us|e...Dist|
|00000170| 72 69 62 75 74 65 20 66 | 72 65 65 6c 79 20 69 6e |ribute f|reely in|
|00000180| 20 61 72 65 61 73 20 77 | 68 65 72 65 20 74 68 65 | areas w|here the|
|00000190| 20 6c 61 77 73 20 6f 66 | 20 63 6f 70 79 72 69 67 | laws of| copyrig|
|000001a0| 68 74 20 61 70 70 6c 79 | 2e 0d 09 55 53 45 20 41 |ht apply|...USE A|
|000001b0| 54 20 59 4f 55 52 20 4f | 57 4e 20 52 49 53 4b 2e |T YOUR O|WN RISK.|
|000001c0| 0d 09 44 4f 20 4e 4f 54 | 20 44 49 53 54 52 49 42 |..DO NOT| DISTRIB|
|000001d0| 55 54 45 20 4d 4f 44 49 | 46 49 45 44 20 43 4f 50 |UTE MODI|FIED COP|
|000001e0| 49 45 53 2e 0d 09 43 6f | 6d 6d 65 6e 74 73 2f 71 |IES...Co|mments/q|
|000001f0| 75 65 73 74 69 6f 6e 73 | 2f 70 6f 73 74 63 61 72 |uestions|/postcar|
|00000200| 64 73 20 74 6f 20 74 68 | 65 20 61 75 74 68 6f 72 |ds to th|e author|
|00000210| 20 61 74 20 74 68 65 20 | 61 64 64 72 65 73 73 3a | at the |address:|
|00000220| 0d 09 09 4a 6f 68 6e 20 | 4d 6f 6e 74 62 72 69 61 |...John |Montbria|
|00000230| 6e 64 0d 09 09 50 2e 4f | 2e 20 42 6f 78 2e 20 31 |nd...P.O|. Box. 1|
|00000240| 31 33 33 0d 09 09 53 61 | 73 6b 61 74 6f 6f 6e 20 |133...Sa|skatoon |
|00000250| 53 61 73 6b 61 74 63 68 | 65 77 61 6e 20 43 61 6e |Saskatch|ewan Can|
|00000260| 61 64 61 0d 09 09 53 37 | 4b 20 33 4e 32 0d 09 6f |ada...S7|K 3N2..o|
|00000270| 72 20 62 79 20 65 6d 61 | 69 6c 20 61 74 3a 0d 09 |r by ema|il at:..|
|00000280| 09 74 69 6e 79 6a 6f 68 | 6e 40 73 6b 2e 73 79 6d |.tinyjoh|n@sk.sym|
|00000290| 70 61 74 69 63 6f 2e 63 | 61 0d 09 49 66 20 79 6f |patico.c|a..If yo|
|000002a0| 75 20 77 6f 75 6c 64 20 | 6c 69 6b 65 20 74 6f 20 |u would |like to |
|000002b0| 68 61 76 65 3a 0d 09 09 | 74 65 63 68 6e 69 63 61 |have:...|technica|
|000002c0| 6c 20 73 75 70 70 6f 72 | 74 20 72 65 67 61 72 64 |l suppor|t regard|
|000002d0| 69 6e 67 20 74 68 69 73 | 20 66 69 6c 65 2c 20 73 |ing this| file, s|
|000002e0| 65 6e 64 20 61 20 70 6f | 73 74 63 61 72 64 2e 0d |end a po|stcard..|
|000002f0| 09 73 65 65 20 61 6c 73 | 6f 3a 0d 09 09 68 74 74 |.see als|o:...htt|
|00000300| 70 3a 2f 2f 77 77 77 33 | 2e 73 6b 2e 73 79 6d 70 |p://www3|.sk.symp|
|00000310| 61 74 69 63 6f 2e 63 61 | 2f 74 69 6e 79 6a 6f 68 |atico.ca|/tinyjoh|
|00000320| 6e 0d 2a 2f 0d 0d 23 69 | 66 6e 64 65 66 20 5f 5f |n.*/..#i|fndef __|
|00000330| 53 54 44 54 45 58 54 46 | 49 45 4c 44 5f 5f 0d 23 |STDTEXTF|IELD__.#|
|00000340| 64 65 66 69 6e 65 20 5f | 5f 53 54 44 54 45 58 54 |define _|_STDTEXT|
|00000350| 46 49 45 4c 44 5f 5f 0d | 0d 23 69 6e 63 6c 75 64 |FIELD__.|.#includ|
|00000360| 65 20 3c 54 79 70 65 73 | 2e 68 3e 0d 23 69 6e 63 |e <Types|.h>.#inc|
|00000370| 6c 75 64 65 20 3c 51 75 | 69 63 6b 44 72 61 77 2e |lude <Qu|ickDraw.|
|00000380| 68 3e 0d 23 69 6e 63 6c | 75 64 65 20 3c 57 69 6e |h>.#incl|ude <Win|
|00000390| 64 6f 77 73 2e 68 3e 0d | 23 69 6e 63 6c 75 64 65 |dows.h>.|#include|
|000003a0| 20 3c 54 65 78 74 45 64 | 69 74 2e 68 3e 0d 0d 74 | <TextEd|it.h>..t|
|000003b0| 79 70 65 64 65 66 20 42 | 6f 6f 6c 65 61 6e 20 28 |ypedef B|oolean (|
|000003c0| 2a 54 65 78 74 46 69 6c | 74 65 72 50 72 6f 63 29 |*TextFil|terProc)|
|000003d0| 28 63 68 61 72 20 63 68 | 2c 20 6c 6f 6e 67 20 70 |(char ch|, long p|
|000003e0| 61 72 61 6d 29 3b 0d 0d | 74 79 70 65 64 65 66 20 |aram);..|typedef |
|000003f0| 73 74 72 75 63 74 20 7b | 0d 09 57 69 6e 64 6f 77 |struct {|..Window|
|00000400| 50 74 72 20 6f 77 6e 65 | 72 3b 0d 09 52 65 63 74 |Ptr owne|r;..Rect|
|00000410| 20 62 6f 75 6e 64 61 72 | 79 3b 0d 09 54 45 48 61 | boundar|y;..TEHa|
|00000420| 6e 64 6c 65 20 68 54 45 | 3b 0d 09 54 65 78 74 46 |ndle hTE|;..TextF|
|00000430| 69 6c 74 65 72 50 72 6f | 63 20 66 69 6c 74 3b 0d |ilterPro|c filt;.|
|00000440| 09 6c 6f 6e 67 20 61 63 | 74 69 76 65 2c 20 70 61 |.long ac|tive, pa|
|00000450| 72 61 6d 3b 0d 7d 20 54 | 65 78 74 46 69 65 6c 64 |ram;.} T|extField|
|00000460| 2c 20 2a 2a 54 65 78 74 | 46 69 65 6c 64 48 61 6e |, **Text|FieldHan|
|00000470| 64 6c 65 3b 0d 0d 2f 2a | 20 73 69 6d 70 6c 65 20 |dle;../*| simple |
|00000480| 74 65 78 74 20 66 69 65 | 6c 64 73 20 2a 2f 0d 0d |text fie|lds */..|
|00000490| 54 65 78 74 46 69 65 6c | 64 48 61 6e 64 6c 65 20 |TextFiel|dHandle |
|000004a0| 4e 65 77 54 65 78 74 46 | 69 65 6c 64 28 57 69 6e |NewTextF|ield(Win|
|000004b0| 64 6f 77 50 74 72 20 77 | 69 6e 64 6f 77 2c 20 54 |dowPtr w|indow, T|
|000004c0| 65 78 74 46 69 6c 74 65 | 72 50 72 6f 63 20 66 69 |extFilte|rProc fi|
|000004d0| 6c 74 65 72 2c 20 6c 6f | 6e 67 20 70 61 72 61 6d |lter, lo|ng param|
|000004e0| 29 3b 0d 76 6f 69 64 20 | 44 69 73 70 6f 73 65 54 |);.void |DisposeT|
|000004f0| 65 78 74 46 69 65 6c 64 | 28 54 65 78 74 46 69 65 |extField|(TextFie|
|00000500| 6c 64 48 61 6e 64 6c 65 | 20 74 78 74 29 3b 0d 0d |ldHandle| txt);..|
|00000510| 76 6f 69 64 20 54 46 53 | 65 74 42 6f 75 6e 64 73 |void TFS|etBounds|
|00000520| 28 54 65 78 74 46 69 65 | 6c 64 48 61 6e 64 6c 65 |(TextFie|ldHandle|
|00000530| 20 74 78 74 2c 20 52 65 | 63 74 20 2a 62 6f 75 6e | txt, Re|ct *boun|
|00000540| 64 73 29 3b 0d 0d 52 65 | 63 74 2a 20 54 46 47 65 |ds);..Re|ct* TFGe|
|00000550| 74 42 6f 75 6e 64 73 28 | 54 65 78 74 46 69 65 6c |tBounds(|TextFiel|
|00000560| 64 48 61 6e 64 6c 65 20 | 74 78 74 2c 20 52 65 63 |dHandle |txt, Rec|
|00000570| 74 20 2a 62 6f 75 6e 64 | 73 29 3b 0d 0d 6c 6f 6e |t *bound|s);..lon|
|00000580| 67 20 54 46 47 65 74 54 | 65 78 74 28 54 65 78 74 |g TFGetT|ext(Text|
|00000590| 46 69 65 6c 64 48 61 6e | 64 6c 65 20 74 78 74 2c |FieldHan|dle txt,|
|000005a0| 20 6c 6f 6e 67 20 2a 63 | 6f 75 6e 74 2c 20 63 68 | long *c|ount, ch|
|000005b0| 61 72 2a 20 74 68 65 74 | 65 78 74 29 3b 0d 0d 76 |ar* thet|ext);..v|
|000005c0| 6f 69 64 20 54 46 53 65 | 74 54 65 78 74 28 54 65 |oid TFSe|tText(Te|
|000005d0| 78 74 46 69 65 6c 64 48 | 61 6e 64 6c 65 20 74 78 |xtFieldH|andle tx|
|000005e0| 74 2c 20 6c 6f 6e 67 20 | 63 6f 75 6e 74 2c 20 63 |t, long |count, c|
|000005f0| 68 61 72 2a 20 74 68 65 | 74 65 78 74 29 3b 0d 0d |har* the|text);..|
|00000600| 76 6f 69 64 20 54 46 41 | 63 74 69 76 61 74 65 28 |void TFA|ctivate(|
|00000610| 54 65 78 74 46 69 65 6c | 64 48 61 6e 64 6c 65 20 |TextFiel|dHandle |
|00000620| 74 78 74 2c 20 42 6f 6f | 6c 65 61 6e 20 69 73 61 |txt, Boo|lean isa|
|00000630| 63 74 69 76 65 29 3b 0d | 0d 76 6f 69 64 20 54 46 |ctive);.|.void TF|
|00000640| 55 70 64 61 74 65 28 54 | 65 78 74 46 69 65 6c 64 |Update(T|extField|
|00000650| 48 61 6e 64 6c 65 20 74 | 78 74 29 3b 0d 0d 76 6f |Handle t|xt);..vo|
|00000660| 69 64 20 54 46 4b 65 79 | 28 54 65 78 74 46 69 65 |id TFKey|(TextFie|
|00000670| 6c 64 48 61 6e 64 6c 65 | 20 74 78 74 2c 20 63 68 |ldHandle| txt, ch|
|00000680| 61 72 20 63 68 29 3b 0d | 0d 76 6f 69 64 20 54 46 |ar ch);.|.void TF|
|00000690| 4d 6f 75 73 65 28 54 65 | 78 74 46 69 65 6c 64 48 |Mouse(Te|xtFieldH|
|000006a0| 61 6e 64 6c 65 20 74 78 | 74 2c 20 50 6f 69 6e 74 |andle tx|t, Point|
|000006b0| 20 77 68 65 72 65 2c 20 | 73 68 6f 72 74 20 6d 6f | where, |short mo|
|000006c0| 64 69 66 69 65 72 73 29 | 3b 0d 0d 42 6f 6f 6c 65 |difiers)|;..Boole|
|000006d0| 61 6e 20 54 46 43 75 72 | 73 6f 72 28 54 65 78 74 |an TFCur|sor(Text|
|000006e0| 46 69 65 6c 64 48 61 6e | 64 6c 65 20 74 78 74 2c |FieldHan|dle txt,|
|000006f0| 20 50 6f 69 6e 74 20 77 | 68 65 72 65 29 3b 0d 0d | Point w|here);..|
|00000700| 0d 2f 2a 20 6e 75 6d 65 | 72 69 63 20 74 65 78 74 |./* nume|ric text|
|00000710| 20 66 69 65 6c 64 73 20 | 2a 2f 0d 0d 54 65 78 74 | fields |*/..Text|
|00000720| 46 69 65 6c 64 48 61 6e | 64 6c 65 20 4e 65 77 4e |FieldHan|dle NewN|
|00000730| 75 6d 65 72 69 63 54 65 | 78 74 46 69 65 6c 64 28 |umericTe|xtField(|
|00000740| 57 69 6e 64 6f 77 50 74 | 72 20 77 69 6e 64 6f 77 |WindowPt|r window|
|00000750| 29 3b 0d 0d 6c 6f 6e 67 | 20 4e 54 46 47 65 74 56 |);..long| NTFGetV|
|00000760| 61 6c 75 65 28 54 65 78 | 74 46 69 65 6c 64 48 61 |alue(Tex|tFieldHa|
|00000770| 6e 64 6c 65 20 74 78 74 | 29 3b 0d 0d 76 6f 69 64 |ndle txt|);..void|
|00000780| 20 4e 54 46 53 65 74 56 | 61 6c 75 65 28 54 65 78 | NTFSetV|alue(Tex|
|00000790| 74 46 69 65 6c 64 48 61 | 6e 64 6c 65 20 74 78 74 |tFieldHa|ndle txt|
|000007a0| 2c 20 6c 6f 6e 67 20 76 | 61 6c 75 65 29 3b 0d 0d |, long v|alue);..|
|000007b0| 23 65 6e 64 69 66 0d 00 | 00 00 00 00 00 00 00 00 |#endif..|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00000810| 00 f0 53 40 67 00 00 86 | 53 40 67 00 00 a8 53 40 |..S@g...|S@g...S@|
|00000820| 67 00 00 8e 53 40 67 00 | 00 ac 53 40 67 00 00 a2 |g...S@g.|..S@g...|
|00000830| 0e 53 74 64 54 65 78 74 | 46 69 65 6c 64 2e 68 2d |.StdText|Field.h-|
|00000840| 02 00 00 00 54 45 58 54 | 4d 50 53 20 01 00 ff ff |....TEXT|MPS ....|
|00000850| 00 00 54 45 58 54 4d 50 | 53 20 01 00 ff ff ff ff |..TEXTMP|S ......|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 af fb 46 dd 00 00 | 07 37 00 00 01 ac 67 40 |....F...|.7....g@|
|00000880| 53 40 67 1c 53 40 67 40 | 53 40 67 4c 53 40 67 14 |S@g.S@g@|S@gLS@g.|
|00000890| 53 40 67 10 04 40 00 21 | 67 70 60 6e 7e 14 60 6a |S@g..@.!|gp`n~.`j|
|000008a0| 7e 0e 60 66 7e 1c 60 62 | 7e 11 60 5e 7e 06 60 5a |~.`f~.`b|~.`^~.`Z|
|000008b0| 7e 14 60 56 7e 1f 60 52 | 7e 10 60 4e 7e 02 60 4a |~.`V~.`R|~.`N~.`J|
|000008c0| 7e 09 60 46 7e 04 60 42 | 7e 05 60 3e 7e 0c 60 3a |~.`F~.`B|~.`>~.`:|
|000008d0| 7e 06 60 36 7e 14 60 32 | 7e 06 60 2e 7e 1a 60 2a |~.`6~.`2|~.`.~.`*|
|000008e0| 7e 16 60 26 7e 0d 60 22 | 7e 1d 60 1e 7e 09 60 1a |~.`&~.`"|~.`.~.`.|
|000008f0| 7e 17 60 16 7e 06 60 12 | 7e 10 60 0e 7e 1e 60 0a |~.`.~.`.|~.`.~.`.|
|00000900| 00 00 00 48 00 09 47 65 | 6e 65 76 61 00 00 03 44 |...H..Ge|neva...D|
|00000910| 03 df a7 f0 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000920| 00 00 00 00 00 00 00 03 | 00 08 00 78 00 18 02 6d |........|...x...m|
|00000930| 02 ed 00 78 00 18 02 6d | 02 ed b0 5f 58 06 00 00 |...x...m|..._X...|
|00000940| 00 89 00 00 02 a2 00 00 | 00 00 01 00 00 00 00 1e |........|........|
|00000950| 00 78 00 18 02 6d 02 ed | 00 78 00 18 02 6d 02 ed |.x...m..|.x...m..|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 03 d6 |.....n..|.n...>..|
|00000980| 71 38 26 90 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |q8&.....|.>..MPSR|
|00000990| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000009a0| 03 f0 ff ff 00 00 00 4c | 03 d7 cc 64 00 00 00 00 |.......L|...d....|
|000009b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+