home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1995-10-11 | 2.6 KB | [TEXT/MMCC] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Wed Oct 11 19:46:38 1995, modified Wed Oct 11 19:46:38 1995, creator 'MMCC', type ASCII, 2018 bytes "CTextBoxDialog.h" , at 0x862 410 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MMCC] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 43 54 65 78 74 42 | 6f 78 44 69 61 6c 6f 67 |..CTextB|oxDialog|
|00000010| 2e 68 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.h......|........|
|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 4d 43 | 43 01 00 00 00 00 00 00 |.TEXTMMC|C.......|
|00000050| 00 00 00 00 00 07 e2 00 | 00 01 9a ac a2 07 de ac |........|........|
|00000060| a2 07 de 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 7d 75 00 00 |........|....}u..|
|00000080| 2f 2f 20 43 54 65 78 74 | 42 6f 78 44 69 61 6c 6f |// CText|BoxDialo|
|00000090| 67 2e 68 0d 2f 2f 20 20 | 20 20 20 43 6f 70 79 72 |g.h.// | Copyr|
|000000a0| 69 67 68 74 20 a9 20 31 | 39 39 35 20 62 79 20 4d |ight . 1|995 by M|
|000000b0| 69 63 68 61 65 6c 20 46 | 2e 20 4b 61 6d 70 72 61 |ichael F|. Kampra|
|000000c0| 74 68 2c 20 41 6c 6c 20 | 72 69 67 68 74 73 20 72 |th, All |rights r|
|000000d0| 65 73 65 72 76 65 64 2e | 0d 2f 2f 0d 2f 2f 20 43 |eserved.|.//.// C|
|000000e0| 6f 6e 74 61 63 74 20 69 | 6e 66 6f 72 6d 61 74 69 |ontact i|nformati|
|000000f0| 6f 6e 3a 0d 2f 2f 20 20 | 20 20 20 6d 61 69 6c 74 |on:.// | mailt|
|00000100| 6f 3a 6b 61 6d 70 72 61 | 74 40 6c 65 6f 6e 61 72 |o:kampra|t@leonar|
|00000110| 64 6f 2e 6e 65 74 0d 2f | 2f 20 20 20 20 20 68 74 |do.net./|/ ht|
|00000120| 74 70 3a 2f 2f 77 77 77 | 2e 6c 65 6f 6e 61 72 64 |tp://www|.leonard|
|00000130| 6f 2e 6e 65 74 2f 6b 61 | 6d 70 72 61 74 68 0d 2f |o.net/ka|mprath./|
|00000140| 2f 0d 2f 2f 20 4c 69 63 | 65 6e 73 65 3a 0d 2f 2f |/.// Lic|ense:.//|
|00000150| 20 20 20 20 20 54 68 69 | 73 20 63 6f 64 65 20 6d | Thi|s code m|
|00000160| 61 79 20 62 65 20 66 72 | 65 65 6c 79 20 75 73 65 |ay be fr|eely use|
|00000170| 64 20 69 6e 20 66 72 65 | 65 20 61 6e 64 20 73 68 |d in fre|e and sh|
|00000180| 61 72 65 77 61 72 65 20 | 70 72 6f 64 75 63 74 73 |areware |products|
|00000190| 2e 20 43 6f 6d 6d 65 72 | 63 69 61 6c 20 70 72 6f |. Commer|cial pro|
|000001a0| 64 75 63 74 0d 2f 2f 20 | 20 20 20 20 75 73 65 72 |duct.// | user|
|000001b0| 73 20 6d 75 73 74 20 73 | 75 70 70 6c 79 20 6d 65 |s must s|upply me|
|000001c0| 20 77 69 74 68 20 61 20 | 66 72 65 65 2c 20 66 75 | with a |free, fu|
|000001d0| 6c 6c 79 20 6c 69 63 65 | 6e 73 65 64 20 63 6f 70 |lly lice|nsed cop|
|000001e0| 79 20 6f 66 20 74 68 65 | 20 70 72 6f 64 75 63 74 |y of the| product|
|000001f0| 20 74 68 69 73 20 63 6f | 64 65 20 69 73 0d 2f 2f | this co|de is.//|
|00000200| 20 20 20 20 20 75 73 65 | 64 20 69 6e 2e 20 49 6e | use|d in. In|
|00000210| 20 65 69 74 68 65 72 20 | 63 61 73 65 2c 20 75 73 | either |case, us|
|00000220| 65 72 73 20 73 68 6f 75 | 6c 64 20 6e 6f 74 69 66 |ers shou|ld notif|
|00000230| 79 20 6d 65 20 6f 66 20 | 74 68 65 69 72 20 75 73 |y me of |their us|
|00000240| 65 20 6f 66 20 74 68 69 | 73 20 63 6f 64 65 2e 0d |e of thi|s code..|
|00000250| 2f 2f 0d 2f 2f 20 20 20 | 20 20 54 68 69 73 20 63 |//.// | This c|
|00000260| 6f 64 65 20 6d 61 79 20 | 62 65 20 66 72 65 65 6c |ode may |be freel|
|00000270| 79 20 64 69 73 74 72 69 | 62 75 74 65 64 20 69 6e |y distri|buted in|
|00000280| 20 69 74 27 73 20 6e 6f | 6e 2d 6d 6f 64 69 66 69 | it's no|n-modifi|
|00000290| 65 64 20 66 6f 72 6d 2e | 20 49 74 27 73 20 6f 72 |ed form.| It's or|
|000002a0| 69 67 69 6e 61 6c 20 61 | 72 63 68 69 76 65 0d 2f |iginal a|rchive./|
|000002b0| 2f 20 20 20 20 20 73 68 | 6f 75 6c 64 20 62 65 20 |/ sh|ould be |
|000002c0| 6b 65 70 74 20 69 6e 74 | 61 63 74 2e 0d 2f 2f 0d |kept int|act..//.|
|000002d0| 2f 2f 20 56 65 72 73 69 | 6f 6e 20 48 69 73 74 6f |// Versi|on Histo|
|000002e0| 72 79 3a 0d 2f 2f 20 20 | 20 20 20 76 31 2e 30 2e |ry:.// | v1.0.|
|000002f0| 30 20 2d 20 49 6e 69 74 | 69 74 69 61 6c 20 72 65 |0 - Init|itial re|
|00000300| 6c 65 61 73 65 2e 20 49 | 6e 74 65 6e 64 65 64 20 |lease. I|ntended |
|00000310| 74 6f 20 62 65 20 61 6e | 20 65 78 61 6d 70 6c 65 |to be an| example|
|00000320| 20 6f 66 20 68 6f 77 20 | 74 6f 20 75 73 65 20 43 | of how |to use C|
|00000330| 4d 6f 64 61 6c 44 69 61 | 6c 6f 67 2c 20 62 75 74 |ModalDia|log, but|
|00000340| 0d 2f 2f 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.// | |
|00000350| 20 69 74 20 69 73 20 75 | 73 65 66 75 6c 20 69 6e | it is u|seful in|
|00000360| 20 61 6e 64 20 6f 66 20 | 69 74 73 65 6c 66 2e 0d | and of |itself..|
|00000370| 2f 2f 0d 0d 23 70 72 61 | 67 6d 61 20 6f 6e 63 65 |//..#pra|gma once|
|00000380| 0d 0d 23 69 6e 63 6c 75 | 64 65 20 22 43 4d 6f 64 |..#inclu|de "CMod|
|00000390| 61 6c 44 69 61 6c 6f 67 | 2e 68 22 0d 0d 63 6c 61 |alDialog|.h"..cla|
|000003a0| 73 73 09 43 54 65 78 74 | 42 6f 78 44 69 61 6c 6f |ss.CText|BoxDialo|
|000003b0| 67 09 3a 09 70 75 62 6c | 69 63 09 43 4d 6f 64 61 |g.:.publ|ic.CModa|
|000003c0| 6c 44 69 61 6c 6f 67 0d | 7b 0d 0d 70 72 69 76 61 |lDialog.|{..priva|
|000003d0| 74 65 3a 0d 09 66 72 69 | 65 6e 64 09 70 61 73 63 |te:..fri|end.pasc|
|000003e0| 61 6c 20 76 6f 69 64 09 | 09 54 65 78 74 42 6f 78 |al void.|.TextBox|
|000003f0| 49 74 65 6d 28 20 57 69 | 6e 64 6f 77 50 74 72 20 |Item( Wi|ndowPtr |
|00000400| 74 68 65 57 69 6e 64 6f | 77 2c 20 73 68 6f 72 74 |theWindo|w, short|
|00000410| 20 69 74 65 6d 4e 6f 29 | 3b 0d 09 66 72 69 65 6e | itemNo)|;..frien|
|00000420| 64 09 70 61 73 63 61 6c | 20 76 6f 69 64 20 09 54 |d.pascal| void .T|
|00000430| 65 78 74 53 63 72 6f 6c | 6c 50 72 6f 63 28 43 6f |extScrol|lProc(Co|
|00000440| 6e 74 72 6f 6c 48 61 6e | 64 6c 65 20 74 68 65 43 |ntrolHan|dle theC|
|00000450| 6f 6e 74 72 6f 6c 2c 20 | 43 6f 6e 74 72 6f 6c 50 |ontrol, |ControlP|
|00000460| 61 72 74 43 6f 64 65 20 | 70 61 72 74 43 6f 64 65 |artCode |partCode|
|00000470| 29 3b 0d 0d 09 65 6e 75 | 6d 20 7b 0d 09 09 6b 4f |);...enu|m {...kO|
|00000480| 4b 20 3d 20 31 2c 0d 09 | 09 6b 53 63 72 6f 6c 6c |K = 1,..|.kScroll|
|00000490| 42 61 72 20 3d 20 32 2c | 0d 09 09 6b 54 65 78 74 |Bar = 2,|...kText|
|000004a0| 42 6f 78 20 3d 20 33 0d | 09 7d 3b 0d 09 0d 09 55 |Box = 3.|.};....U|
|000004b0| 73 65 72 49 74 65 6d 55 | 50 50 09 09 09 74 65 78 |serItemU|PP...tex|
|000004c0| 74 42 6f 78 55 50 50 3b | 0d 09 43 6f 6e 74 72 6f |tBoxUPP;|..Contro|
|000004d0| 6c 41 63 74 69 6f 6e 55 | 50 50 09 73 63 72 6f 6c |lActionU|PP.scrol|
|000004e0| 6c 50 72 6f 63 55 50 50 | 3b 0d 09 54 45 48 61 6e |lProcUPP|;..TEHan|
|000004f0| 64 6c 65 09 09 09 61 62 | 6f 75 74 54 45 48 3b 0d |dle...ab|outTEH;.|
|00000500| 09 73 68 6f 72 74 09 09 | 09 09 6c 61 73 74 53 63 |.short..|..lastSc|
|00000510| 72 6f 6c 6c 56 61 6c 75 | 65 3b 0d 09 0d 70 75 62 |rollValu|e;...pub|
|00000520| 6c 69 63 3a 0d 09 2f 2f | 20 50 61 73 73 20 74 68 |lic:..//| Pass th|
|00000530| 65 20 44 4c 4f 47 20 72 | 65 73 6f 75 72 63 65 20 |e DLOG r|esource |
|00000540| 49 44 20 61 6e 64 20 74 | 68 65 20 72 65 73 6f 75 |ID and t|he resou|
|00000550| 72 63 65 20 49 44 20 66 | 6f 72 20 74 68 65 20 54 |rce ID f|or the T|
|00000560| 45 58 54 20 61 6e 64 20 | 73 74 79 6c 0d 09 2f 2f |EXT and |styl..//|
|00000570| 20 72 65 73 6f 75 72 63 | 65 73 20 28 74 68 65 69 | resourc|es (thei|
|00000580| 72 20 49 44 73 20 73 68 | 6f 75 6c 64 20 62 65 20 |r IDs sh|ould be |
|00000590| 74 68 65 20 73 61 6d 65 | 29 20 74 6f 20 62 65 20 |the same|) to be |
|000005a0| 64 69 73 70 6c 61 79 65 | 64 20 74 6f 20 74 68 65 |displaye|d to the|
|000005b0| 0d 09 2f 2f 20 63 6f 6e | 73 74 72 75 63 74 6f 72 |..// con|structor|
|000005c0| 2e 0d 09 09 09 09 09 09 | 43 54 65 78 74 42 6f 78 |........|CTextBox|
|000005d0| 44 69 61 6c 6f 67 28 20 | 73 68 6f 72 74 20 64 6c |Dialog( |short dl|
|000005e0| 6f 67 52 65 73 49 44 2c | 20 73 68 6f 72 74 20 74 |ogResID,| short t|
|000005f0| 65 78 74 52 65 73 49 44 | 20 29 3b 0d 09 76 69 72 |extResID| );..vir|
|00000600| 74 75 61 6c 09 09 09 09 | 7e 43 54 65 78 74 42 6f |tual....|~CTextBo|
|00000610| 78 44 69 61 6c 6f 67 28 | 29 3b 0d 09 0d 09 2f 2f |xDialog(|);....//|
|00000620| 20 54 68 65 73 65 20 61 | 72 65 20 74 68 65 20 66 | These a|re the f|
|00000630| 69 6c 74 65 72 20 66 75 | 6e 63 74 69 6f 6e 73 20 |ilter fu|nctions |
|00000640| 74 68 61 74 20 43 54 65 | 78 74 42 6f 78 44 69 61 |that CTe|xtBoxDia|
|00000650| 6c 6f 67 20 6f 76 65 72 | 72 69 64 65 73 20 66 72 |log over|rides fr|
|00000660| 6f 6d 20 43 4d 6f 64 61 | 6c 44 69 61 6c 6f 67 0d |om CModa|lDialog.|
|00000670| 09 0d 09 76 69 72 74 75 | 61 6c 20 42 6f 6f 6c 65 |...virtu|al Boole|
|00000680| 61 6e 09 09 4b 65 79 44 | 6f 77 6e 46 69 6c 74 65 |an..KeyD|ownFilte|
|00000690| 72 28 09 09 44 69 61 6c | 6f 67 50 74 72 20 09 09 |r(..Dial|ogPtr ..|
|000006a0| 74 68 65 44 6c 67 2c 20 | 0d 09 09 09 09 09 09 09 |theDlg, |........|
|000006b0| 09 09 09 09 45 76 65 6e | 74 52 65 63 6f 72 64 20 |....Even|tRecord |
|000006c0| 09 2a 74 68 65 45 76 65 | 6e 74 2c 20 0d 09 09 09 |.*theEve|nt, ....|
|000006d0| 09 09 09 09 09 09 09 09 | 73 68 6f 72 74 20 09 09 |........|short ..|
|000006e0| 09 2a 69 74 65 6d 48 69 | 74 29 3b 0d 09 76 69 72 |.*itemHi|t);..vir|
|000006f0| 74 75 61 6c 09 42 6f 6f | 6c 65 61 6e 09 09 4d 6f |tual.Boo|lean..Mo|
|00000700| 75 73 65 44 6f 77 6e 46 | 69 6c 74 65 72 28 09 44 |useDownF|ilter(.D|
|00000710| 69 61 6c 6f 67 50 74 72 | 20 09 09 74 68 65 44 6c |ialogPtr| ..theDl|
|00000720| 67 2c 20 0d 09 09 09 09 | 09 09 09 09 09 09 09 45 |g, .....|.......E|
|00000730| 76 65 6e 74 52 65 63 6f | 72 64 2a 20 09 74 68 65 |ventReco|rd* .the|
|00000740| 45 76 65 6e 74 2c 20 0d | 09 09 09 09 09 09 09 09 |Event, .|........|
|00000750| 09 09 09 73 68 6f 72 74 | 2a 20 09 09 09 69 74 65 |...short|* ...ite|
|00000760| 6d 48 69 74 20 29 3b 0d | 09 09 09 09 09 09 09 09 |mHit );.|........|
|00000770| 09 09 09 0d 09 2f 2f 20 | 44 69 73 70 6c 61 79 54 |.....// |DisplayT|
|00000780| 65 78 74 42 6f 78 44 69 | 61 6c 6f 67 28 29 20 69 |extBoxDi|alog() i|
|00000790| 73 20 74 68 65 20 6f 6e | 6c 79 20 66 75 6e 63 74 |s the on|ly funct|
|000007a0| 69 6f 6e 20 74 68 61 74 | 20 6e 65 65 64 73 20 74 |ion that| needs t|
|000007b0| 6f 20 62 65 20 63 61 6c | 6c 65 64 20 74 6f 20 64 |o be cal|led to d|
|000007c0| 69 73 70 6c 61 79 0d 09 | 2f 2f 20 61 20 74 65 78 |isplay..|// a tex|
|000007d0| 74 20 62 6f 78 20 64 69 | 61 6c 6f 67 20 77 69 74 |t box di|alog wit|
|000007e0| 68 20 43 54 65 78 74 42 | 6f 78 44 69 61 6c 6f 67 |h CTextB|oxDialog|
|000007f0| 2e 20 49 74 20 68 61 6e | 64 6c 65 73 20 74 68 65 |. It han|dles the|
|00000800| 20 63 61 6c 6c 73 20 74 | 6f 0d 09 2f 2f 20 43 4d | calls t|o..// CM|
|00000810| 6f 64 61 6c 44 69 61 6c | 6f 67 3a 3a 44 6f 4f 6e |odalDial|og::DoOn|
|00000820| 65 4d 6f 64 61 6c 4c 6f | 6f 70 28 29 20 66 6f 72 |eModalLo|op() for|
|00000830| 20 79 6f 75 2e 0d 09 0d | 09 76 6f 69 64 09 09 09 | you....|.void...|
|00000840| 09 44 69 73 70 6c 61 79 | 54 65 78 74 42 6f 78 44 |.Display|TextBoxD|
|00000850| 69 61 6c 6f 67 28 20 76 | 6f 69 64 20 29 3b 0d 7d |ialog( v|oid );.}|
|00000860| 3b 0d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |;.......|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000890| 00 00 02 80 00 00 02 80 | 00 00 02 80 00 00 02 80 |........|........|
|000008a0| 00 00 02 80 00 00 02 ff | ff ff fe 00 00 00 00 00 |........|........|
|000008b0| 10 43 54 65 78 74 42 6f | 78 44 69 61 6c 6f 67 2e |.CTextBo|xDialog.|
|000008c0| 68 61 02 00 00 00 54 45 | 58 54 4d 4d 43 43 01 00 |ha....TE|XTMMCC..|
|000008d0| 00 00 54 45 58 54 4d 4d | 43 43 01 00 ff ff ff ff |..TEXTMM|CC......|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 ac 80 7e 61 00 00 | 07 e2 00 00 01 9a fe ff |....~a..|........|
|00000900| ff ff fe ff ff ff fe ff | ff ff fe ff ff ff fe ff |........|........|
|00000910| ff ff fe ff ff ff fe ff | ff ff fe ff ff ff fe ff |........|........|
|00000920| ff ff fe ff ff ff fe ff | ff ff fe 00 00 01 00 7f |........|........|
|00000930| ff ff f8 81 00 01 04 81 | 00 71 02 81 00 89 01 81 |........|.q......|
|00000940| 00 89 01 81 00 89 01 81 | 00 89 01 81 00 89 01 81 |........|........|
|00000950| 00 71 01 81 00 01 01 80 | ff fe 01 80 00 00 01 80 |.q......|........|
|00000960| 00 00 01 80 00 00 01 80 | 00 00 01 80 00 00 01 80 |........|........|
|00000970| 00 00 01 80 00 00 01 87 | ff ff e1 88 00 00 11 88 |........|........|
|00000980| 00 00 00 48 00 09 48 65 | 6c 6c d5 73 20 50 72 6f |...H..He|ll.s Pro|
|00000990| 67 72 61 6d 6d 65 72 00 | 00 00 00 00 00 00 00 00 |grammer.|........|
|000009a0| 00 00 00 00 00 00 00 03 | 00 04 00 7c 00 0e 01 d3 |........|...|....|
|000009b0| 02 6d 00 7c 00 0e 01 d3 | 02 6d ac a1 cf ba 00 00 |.m.|....|.m......|
|000009c0| 07 de 00 00 07 de 00 00 | 00 00 01 00 00 00 00 04 |........|........|
|000009d0| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|000009e0| 00 00 00 46 01 a5 0b 10 | 21 0e 00 00 00 1c 00 46 |...F....|!......F|
|000009f0| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000a00| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000a10| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00000a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+