home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / develop™ Technical Journal / develop Issue 6 code / TCP.sea / TCP / NewsWatcher / NW Source / Shared Code / Reusable Source / tescroll.h < prev    next >
MacBinary  |  1995-05-06  |  1.4 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).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Fri May 5 23:04:42 1995, modified Fri May 5 23:04:42 1995, creator 'MMCC', type ASCII, 659 bytes "tescroll.h" , at 0x313 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
keyvalue
macFileType[TEXT]
macFileCreator[MMCC]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 74 65 73 63 72 6f | 6c 6c 2e 68 00 00 00 00 |..tescro|ll.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 4d 43 | 43 01 00 00 00 00 00 00 |.TEXTMMC|C.......|
|00000050| 00 00 00 00 00 02 93 00 | 00 01 9a ab d0 97 ca ab |........|........|
|00000060| d0 97 ca 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 c1 0f 00 00 |........|........|
|00000080| 73 68 6f 72 74 20 54 45 | 53 63 72 6f 6c 6c 4e 75 |short TE|ScrollNu|
|00000090| 6d 54 45 4c 69 6e 65 73 | 20 28 54 45 48 61 6e 64 |mTELines| (TEHand|
|000000a0| 6c 65 20 74 68 65 54 45 | 29 3b 0d 73 68 6f 72 74 |le theTE|);.short|
|000000b0| 20 54 45 53 63 72 6f 6c | 6c 47 65 74 54 45 4c 69 | TEScrol|lGetTELi|
|000000c0| 6e 65 4e 75 6d 62 65 72 | 20 28 73 68 6f 72 74 20 |neNumber| (short |
|000000d0| 63 68 61 72 50 6f 73 2c | 20 54 45 48 61 6e 64 6c |charPos,| TEHandl|
|000000e0| 65 20 74 68 65 54 45 29 | 3b 0d 76 6f 69 64 20 54 |e theTE)|;.void T|
|000000f0| 45 53 63 72 6f 6c 6c 41 | 64 6a 75 73 74 53 63 72 |EScrollA|djustScr|
|00000100| 6f 6c 6c 4d 61 78 20 28 | 54 45 48 61 6e 64 6c 65 |ollMax (|TEHandle|
|00000110| 20 74 68 65 54 45 2c 20 | 43 6f 6e 74 72 6f 6c 48 | theTE, |ControlH|
|00000120| 61 6e 64 6c 65 20 76 53 | 63 72 6f 6c 6c 29 3b 0d |andle vS|croll);.|
|00000130| 76 6f 69 64 20 54 45 53 | 63 72 6f 6c 6c 53 63 72 |void TES|crollScr|
|00000140| 6f 6c 6c 54 65 78 74 20 | 28 54 45 48 61 6e 64 6c |ollText |(TEHandl|
|00000150| 65 20 74 68 65 54 45 2c | 20 43 6f 6e 74 72 6f 6c |e theTE,| Control|
|00000160| 48 61 6e 64 6c 65 20 76 | 53 63 72 6f 6c 6c 2c 20 |Handle v|Scroll, |
|00000170| 73 68 6f 72 74 20 64 76 | 29 3b 0d 76 6f 69 64 20 |short dv|);.void |
|00000180| 54 45 53 63 72 6f 6c 6c | 53 63 72 6f 6c 6c 52 61 |TEScroll|ScrollRa|
|00000190| 6e 67 65 49 6e 74 6f 56 | 69 65 77 20 28 54 45 48 |ngeIntoV|iew (TEH|
|000001a0| 61 6e 64 6c 65 20 74 68 | 65 54 45 2c 20 73 68 6f |andle th|eTE, sho|
|000001b0| 72 74 20 73 74 61 72 74 | 2c 20 73 68 6f 72 74 20 |rt start|, short |
|000001c0| 65 6e 64 2c 20 0d 09 43 | 6f 6e 74 72 6f 6c 48 61 |end, ..C|ontrolHa|
|000001d0| 6e 64 6c 65 20 76 53 63 | 72 6f 6c 6c 29 3b 0d 76 |ndle vSc|roll);.v|
|000001e0| 6f 69 64 20 54 45 53 63 | 72 6f 6c 6c 53 63 72 6f |oid TESc|rollScro|
|000001f0| 6c 6c 53 65 6c 65 63 74 | 69 6f 6e 49 6e 74 6f 56 |llSelect|ionIntoV|
|00000200| 69 65 77 20 28 54 45 48 | 61 6e 64 6c 65 20 74 68 |iew (TEH|andle th|
|00000210| 65 54 45 2c 20 43 6f 6e | 74 72 6f 6c 48 61 6e 64 |eTE, Con|trolHand|
|00000220| 6c 65 20 76 53 63 72 6f | 6c 6c 29 3b 0d 76 6f 69 |le vScro|ll);.voi|
|00000230| 64 20 54 45 53 63 72 6f | 6c 6c 53 63 72 6f 6c 6c |d TEScro|llScroll|
|00000240| 54 6f 4d 69 64 64 6c 65 | 20 28 54 45 48 61 6e 64 |ToMiddle| (TEHand|
|00000250| 6c 65 20 74 68 65 54 45 | 2c 20 73 68 6f 72 74 20 |le theTE|, short |
|00000260| 6f 66 66 73 65 74 2c 20 | 43 6f 6e 74 72 6f 6c 48 |offset, |ControlH|
|00000270| 61 6e 64 6c 65 20 76 53 | 63 72 6f 6c 6c 29 3b 0d |andle vS|croll);.|
|00000280| 76 6f 69 64 20 54 45 53 | 63 72 6f 6c 6c 53 63 72 |void TES|crollScr|
|00000290| 6f 6c 6c 42 79 50 61 72 | 74 43 6f 64 65 20 28 54 |ollByPar|tCode (T|
|000002a0| 45 48 61 6e 64 6c 65 20 | 74 68 65 54 45 2c 20 43 |EHandle |theTE, C|
|000002b0| 6f 6e 74 72 6f 6c 48 61 | 6e 64 6c 65 20 76 53 63 |ontrolHa|ndle vSc|
|000002c0| 72 6f 6c 6c 2c 20 73 68 | 6f 72 74 20 70 61 72 74 |roll, sh|ort part|
|000002d0| 29 3b 0d 76 6f 69 64 20 | 54 45 53 63 72 6f 6c 6c |);.void |TEScroll|
|000002e0| 41 75 74 6f 53 63 72 6f | 6c 6c 20 28 54 45 48 61 |AutoScro|ll (TEHa|
|000002f0| 6e 64 6c 65 20 74 68 65 | 54 45 2c 20 43 6f 6e 74 |ndle the|TE, Cont|
|00000300| 72 6f 6c 48 61 6e 64 6c | 65 20 76 53 63 72 6f 6c |rolHandl|e vScrol|
|00000310| 6c 29 3b 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |l);.....|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000390| 6f 48 6f 6d 65 09 09 32 | 34 09 09 09 2f 2a 20 70 |oHome..2|4.../* p|
|000003a0| 73 65 75 64 6f 20 70 61 | 72 74 20 63 6f 64 65 20 |seudo pa|rt code |
|000003b0| 0a 74 65 73 63 72 6f 6c | 6c 2e 68 00 02 00 00 00 |.tescrol|l.h.....|
|000003c0| 54 45 58 54 4d 4d 43 43 | 01 00 01 04 00 80 00 00 |TEXTMMCC|........|
|000003d0| 00 00 54 45 58 54 4d 4d | 43 43 01 00 01 04 00 80 |..TEXTMM|CC......|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 aa 4f 8b 85 00 00 | 02 93 00 00 01 9a 72 6f |...O....|......ro|
|00000400| 6c 6c 69 6e 67 20 74 6f | 20 65 6e 64 20 2a 2f 0d |lling to| end */.|
|00000410| 0d 73 68 6f 72 74 20 54 | 45 53 63 72 6f 6c 6c 4e |.short T|EScrollN|
|00000420| 75 6d 54 45 4c 69 6e 65 | 73 20 28 54 45 48 61 6e |umTELine|s (TEHan|
|00000430| 64 6c 65 20 74 68 65 54 | 45 29 3b 0d 73 68 6f 72 |dle theT|E);.shor|
|00000440| 74 20 54 45 53 63 72 6f | 6c 6c 47 65 74 54 45 4c |t TEScro|llGetTEL|
|00000450| 69 6e 65 4e 75 6d 62 65 | 72 20 28 73 68 6f 72 74 |ineNumbe|r (short|
|00000460| 20 63 68 61 72 50 6f 73 | 2c 20 54 45 48 61 6e 64 | charPos|, TEHand|
|00000470| 6c 65 20 74 68 65 54 45 | 29 3b 0d 76 6f 69 64 20 |le theTE|);.void |
|00000480| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 03 | 00 04 00 57 00 09 01 8c |........|...W....|
|000004b0| 02 7c 00 57 00 09 01 8c | 02 7c ab d0 51 80 00 00 |.|.W....|.|..Q...|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 00 04 |........|........|
|000004d0| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|000004e0| 00 00 00 46 00 47 6f 58 | 0b 06 00 00 00 1c 00 46 |...F.GoX|.......F|
|000004f0| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000500| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000510| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+