home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1995-10-11 | 6.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
| MS-DOS Code Page Info (other/dosCodePage)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Wed Oct 11 19:47:44 1995, modified Wed Oct 11 19:47:44 1995, creator 'MMCC', type ASCII, 6132 bytes "CTextBoxDialog.cp" , at 0x1874 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 11 43 54 65 78 74 42 | 6f 78 44 69 61 6c 6f 67 |..CTextB|oxDialog|
|00000010| 2e 63 70 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.cp.....|........|
|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 17 f4 00 | 00 01 9a ac a2 08 20 ac |........|...... .|
|00000060| a2 08 20 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 0d 0d 00 00 |........|........|
|00000080| 2f 2f 20 43 54 65 78 74 | 42 6f 78 44 69 61 6c 6f |// CText|BoxDialo|
|00000090| 67 2e 63 70 0d 2f 2f 20 | 20 20 20 20 43 6f 70 79 |g.cp.// | Copy|
|000000a0| 72 69 67 68 74 20 a9 20 | 31 39 39 35 20 62 79 20 |right . |1995 by |
|000000b0| 4d 69 63 68 61 65 6c 20 | 46 2e 20 4b 61 6d 70 72 |Michael |F. Kampr|
|000000c0| 61 74 68 2c 20 41 6c 6c | 20 72 69 67 68 74 73 20 |ath, All| rights |
|000000d0| 72 65 73 65 72 76 65 64 | 2e 0d 2f 2f 0d 2f 2f 20 |reserved|..//.// |
|000000e0| 43 6f 6e 74 61 63 74 20 | 69 6e 66 6f 72 6d 61 74 |Contact |informat|
|000000f0| 69 6f 6e 3a 0d 2f 2f 20 | 20 20 20 20 6d 61 69 6c |ion:.// | mail|
|00000100| 74 6f 3a 6b 61 6d 70 72 | 61 74 40 6c 65 6f 6e 61 |to:kampr|at@leona|
|00000110| 72 64 6f 2e 6e 65 74 0d | 2f 2f 20 20 20 20 20 68 |rdo.net.|// h|
|00000120| 74 74 70 3a 2f 2f 77 77 | 77 2e 6c 65 6f 6e 61 72 |ttp://ww|w.leonar|
|00000130| 64 6f 2e 6e 65 74 2f 6b | 61 6d 70 72 61 74 68 0d |do.net/k|amprath.|
|00000140| 2f 2f 0d 2f 2f 20 4c 69 | 63 65 6e 73 65 3a 0d 2f |//.// Li|cense:./|
|00000150| 2f 20 20 20 20 20 54 68 | 69 73 20 63 6f 64 65 20 |/ Th|is code |
|00000160| 6d 61 79 20 62 65 20 66 | 72 65 65 6c 79 20 75 73 |may be f|reely us|
|00000170| 65 64 20 69 6e 20 66 72 | 65 65 20 61 6e 64 20 73 |ed in fr|ee and s|
|00000180| 68 61 72 65 77 61 72 65 | 20 70 72 6f 64 75 63 74 |hareware| product|
|00000190| 73 2e 20 43 6f 6d 6d 65 | 72 63 69 61 6c 20 70 72 |s. Comme|rcial pr|
|000001a0| 6f 64 75 63 74 0d 2f 2f | 20 20 20 20 20 75 73 65 |oduct.//| use|
|000001b0| 72 73 20 6d 75 73 74 20 | 73 75 70 70 6c 79 20 6d |rs must |supply m|
|000001c0| 65 20 77 69 74 68 20 61 | 20 66 72 65 65 2c 20 66 |e with a| free, f|
|000001d0| 75 6c 6c 79 20 6c 69 63 | 65 6e 73 65 64 20 63 6f |ully lic|ensed co|
|000001e0| 70 79 20 6f 66 20 74 68 | 65 20 70 72 6f 64 75 63 |py of th|e produc|
|000001f0| 74 20 74 68 69 73 20 63 | 6f 64 65 20 69 73 0d 2f |t this c|ode is./|
|00000200| 2f 20 20 20 20 20 75 73 | 65 64 20 69 6e 2e 20 49 |/ us|ed in. I|
|00000210| 6e 20 65 69 74 68 65 72 | 20 63 61 73 65 2c 20 75 |n either| case, u|
|00000220| 73 65 72 73 20 73 68 6f | 75 6c 64 20 6e 6f 74 69 |sers sho|uld noti|
|00000230| 66 79 20 6d 65 20 6f 66 | 20 74 68 65 69 72 20 75 |fy me of| their u|
|00000240| 73 65 20 6f 66 20 74 68 | 69 73 20 63 6f 64 65 2e |se of th|is code.|
|00000250| 0d 2f 2f 0d 2f 2f 20 20 | 20 20 20 54 68 69 73 20 |.//.// | This |
|00000260| 63 6f 64 65 20 6d 61 79 | 20 62 65 20 66 72 65 65 |code may| be free|
|00000270| 6c 79 20 64 69 73 74 72 | 69 62 75 74 65 64 20 69 |ly distr|ibuted i|
|00000280| 6e 20 69 74 27 73 20 6e | 6f 6e 2d 6d 6f 64 69 66 |n it's n|on-modif|
|00000290| 69 65 64 20 66 6f 72 6d | 2e 20 49 74 27 73 20 6f |ied form|. It's o|
|000002a0| 72 69 67 69 6e 61 6c 20 | 61 72 63 68 69 76 65 0d |riginal |archive.|
|000002b0| 2f 2f 20 20 20 20 20 73 | 68 6f 75 6c 64 20 62 65 |// s|hould be|
|000002c0| 20 6b 65 70 74 20 69 6e | 74 61 63 74 2e 0d 2f 2f | kept in|tact..//|
|000002d0| 0d 2f 2f 20 56 65 72 73 | 69 6f 6e 20 48 69 73 74 |.// Vers|ion Hist|
|000002e0| 6f 72 79 3a 0d 2f 2f 20 | 20 20 20 20 76 31 2e 30 |ory:.// | v1.0|
|000002f0| 2e 30 20 2d 20 49 6e 69 | 74 69 74 69 61 6c 20 72 |.0 - Ini|titial r|
|00000300| 65 6c 65 61 73 65 2e 0d | 2f 2f 0d 0d 23 69 6e 63 |elease..|//..#inc|
|00000310| 6c 75 64 65 20 3c 44 69 | 61 6c 6f 67 73 2e 68 3e |lude <Di|alogs.h>|
|00000320| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 43 6f 6e 74 72 |.#includ|e <Contr|
|00000330| 6f 6c 73 2e 68 3e 0d 23 | 69 6e 63 6c 75 64 65 20 |ols.h>.#|include |
|00000340| 22 43 54 65 78 74 42 6f | 78 44 69 61 6c 6f 67 2e |"CTextBo|xDialog.|
|00000350| 68 22 0d 0d 70 61 73 63 | 61 6c 20 76 6f 69 64 20 |h"..pasc|al void |
|00000360| 09 54 65 78 74 42 6f 78 | 49 74 65 6d 28 20 57 69 |.TextBox|Item( Wi|
|00000370| 6e 64 6f 77 50 74 72 20 | 74 68 65 57 69 6e 64 6f |ndowPtr |theWindo|
|00000380| 77 2c 20 73 68 6f 72 74 | 20 69 74 65 6d 4e 6f 29 |w, short| itemNo)|
|00000390| 3b 0d 70 61 73 63 61 6c | 20 76 6f 69 64 20 09 54 |;.pascal| void .T|
|000003a0| 65 78 74 53 63 72 6f 6c | 6c 50 72 6f 63 28 43 6f |extScrol|lProc(Co|
|000003b0| 6e 74 72 6f 6c 48 61 6e | 64 6c 65 20 74 68 65 43 |ntrolHan|dle theC|
|000003c0| 6f 6e 74 72 6f 6c 2c 20 | 73 68 6f 72 74 20 70 61 |ontrol, |short pa|
|000003d0| 72 74 43 6f 64 65 29 3b | 0d 0d 43 54 65 78 74 42 |rtCode);|..CTextB|
|000003e0| 6f 78 44 69 61 6c 6f 67 | 3a 3a 43 54 65 78 74 42 |oxDialog|::CTextB|
|000003f0| 6f 78 44 69 61 6c 6f 67 | 28 20 73 68 6f 72 74 20 |oxDialog|( short |
|00000400| 64 6c 6f 67 52 65 73 49 | 44 2c 20 73 68 6f 72 74 |dlogResI|D, short|
|00000410| 20 74 65 78 74 52 65 73 | 49 44 20 29 0d 09 3a 09 | textRes|ID )..:.|
|00000420| 43 4d 6f 64 61 6c 44 69 | 61 6c 6f 67 28 20 64 6c |CModalDi|alog( dl|
|00000430| 6f 67 52 65 73 49 44 2c | 20 43 54 65 78 74 42 6f |ogResID,| CTextBo|
|00000440| 78 44 69 61 6c 6f 67 3a | 3a 6b 4f 4b 2c 20 43 54 |xDialog:|:kOK, CT|
|00000450| 65 78 74 42 6f 78 44 69 | 61 6c 6f 67 3a 3a 6b 4f |extBoxDi|alog::kO|
|00000460| 4b 20 29 0d 7b 0d 73 68 | 6f 72 74 09 69 74 65 6d |K ).{.sh|ort.item|
|00000470| 54 79 70 65 2c 20 68 65 | 69 67 68 74 3b 0d 48 61 |Type, he|ight;.Ha|
|00000480| 6e 64 6c 65 09 69 74 65 | 6d 48 61 6e 64 6c 65 2c |ndle.ite|mHandle,|
|00000490| 20 74 65 78 74 48 2c 20 | 73 74 79 6c 65 48 3b 0d | textH, |styleH;.|
|000004a0| 52 65 63 74 09 69 74 65 | 6d 52 65 63 74 2c 20 74 |Rect.ite|mRect, t|
|000004b0| 65 78 74 52 65 63 74 3b | 0d 0d 09 74 68 69 73 2d |extRect;|...this-|
|000004c0| 3e 74 65 78 74 42 6f 78 | 55 50 50 20 3d 20 4e 65 |>textBox|UPP = Ne|
|000004d0| 77 55 73 65 72 49 74 65 | 6d 50 72 6f 63 28 20 54 |wUserIte|mProc( T|
|000004e0| 65 78 74 42 6f 78 49 74 | 65 6d 20 29 3b 0d 09 74 |extBoxIt|em );..t|
|000004f0| 68 69 73 2d 3e 47 65 74 | 49 74 65 6d 49 6e 66 6f |his->Get|ItemInfo|
|00000500| 28 6b 54 65 78 74 42 6f | 78 2c 20 26 69 74 65 6d |(kTextBo|x, &item|
|00000510| 54 79 70 65 2c 20 26 69 | 74 65 6d 48 61 6e 64 6c |Type, &i|temHandl|
|00000520| 65 2c 20 26 74 65 78 74 | 52 65 63 74 20 29 3b 0d |e, &text|Rect );.|
|00000530| 09 74 68 69 73 2d 3e 53 | 65 74 49 74 65 6d 49 6e |.this->S|etItemIn|
|00000540| 66 6f 28 6b 54 65 78 74 | 42 6f 78 2c 20 6b 55 73 |fo(kText|Box, kUs|
|00000550| 65 72 44 69 61 6c 6f 67 | 49 74 65 6d 2c 20 28 48 |erDialog|Item, (H|
|00000560| 61 6e 64 6c 65 29 74 68 | 69 73 2d 3e 74 65 78 74 |andle)th|is->text|
|00000570| 42 6f 78 55 50 50 2c 20 | 26 74 65 78 74 52 65 63 |BoxUPP, |&textRec|
|00000580| 74 20 29 3b 0d 09 74 68 | 69 73 2d 3e 53 65 74 44 |t );..th|is->SetD|
|00000590| 69 61 6c 6f 67 50 6f 72 | 74 28 29 3b 0d 09 74 68 |ialogPor|t();..th|
|000005a0| 69 73 2d 3e 61 62 6f 75 | 74 54 45 48 20 3d 20 3a |is->abou|tTEH = :|
|000005b0| 3a 54 45 53 74 79 6c 65 | 4e 65 77 28 26 74 65 78 |:TEStyle|New(&tex|
|000005c0| 74 52 65 63 74 2c 20 26 | 74 65 78 74 52 65 63 74 |tRect, &|textRect|
|000005d0| 29 3b 0d 09 74 65 78 74 | 48 20 3d 20 3a 3a 47 65 |);..text|H = ::Ge|
|000005e0| 74 31 52 65 73 6f 75 72 | 63 65 28 27 54 45 58 54 |t1Resour|ce('TEXT|
|000005f0| 27 2c 74 65 78 74 52 65 | 73 49 44 29 3b 0d 09 73 |',textRe|sID);..s|
|00000600| 74 79 6c 65 48 20 3d 20 | 3a 3a 47 65 74 31 52 65 |tyleH = |::Get1Re|
|00000610| 73 6f 75 72 63 65 28 27 | 73 74 79 6c 27 2c 74 65 |source('|styl',te|
|00000620| 78 74 52 65 73 49 44 29 | 3b 0d 09 48 4c 6f 63 6b |xtResID)|;..HLock|
|00000630| 28 20 74 65 78 74 48 20 | 29 3b 0d 09 3a 3a 54 45 |( textH |);..::TE|
|00000640| 53 74 79 6c 65 49 6e 73 | 65 72 74 28 20 2a 74 65 |StyleIns|ert( *te|
|00000650| 78 74 48 2c 20 47 65 74 | 48 61 6e 64 6c 65 53 69 |xtH, Get|HandleSi|
|00000660| 7a 65 28 74 65 78 74 48 | 29 2c 20 28 53 74 53 63 |ze(textH|), (StSc|
|00000670| 72 70 48 61 6e 64 6c 65 | 29 73 74 79 6c 65 48 2c |rpHandle|)styleH,|
|00000680| 20 74 68 69 73 2d 3e 61 | 62 6f 75 74 54 45 48 29 | this->a|boutTEH)|
|00000690| 3b 0d 09 48 55 6e 6c 6f | 63 6b 28 20 74 65 78 74 |;..HUnlo|ck( text|
|000006a0| 48 20 29 3b 0d 09 52 65 | 6c 65 61 73 65 52 65 73 |H );..Re|leaseRes|
|000006b0| 6f 75 72 63 65 28 20 74 | 65 78 74 48 20 29 3b 0d |ource( t|extH );.|
|000006c0| 09 52 65 6c 65 61 73 65 | 52 65 73 6f 75 72 63 65 |.Release|Resource|
|000006d0| 28 20 73 74 79 6c 65 48 | 20 29 3b 0d 09 3a 3a 54 |( styleH| );..::T|
|000006e0| 45 43 61 6c 54 65 78 74 | 28 74 68 69 73 2d 3e 61 |ECalText|(this->a|
|000006f0| 62 6f 75 74 54 45 48 29 | 3b 0d 09 3a 3a 54 45 41 |boutTEH)|;..::TEA|
|00000700| 75 74 6f 56 69 65 77 28 | 74 72 75 65 2c 20 74 68 |utoView(|true, th|
|00000710| 69 73 2d 3e 61 62 6f 75 | 74 54 45 48 29 3b 0d 09 |is->abou|tTEH);..|
|00000720| 3a 3a 54 45 41 63 74 69 | 76 61 74 65 28 74 68 69 |::TEActi|vate(thi|
|00000730| 73 2d 3e 61 62 6f 75 74 | 54 45 48 29 3b 0d 09 09 |s->about|TEH);...|
|00000740| 0d 09 68 65 69 67 68 74 | 20 3d 20 3a 3a 54 45 47 |..height| = ::TEG|
|00000750| 65 74 48 65 69 67 68 74 | 28 28 2a 74 68 69 73 2d |etHeight|((*this-|
|00000760| 3e 61 62 6f 75 74 54 45 | 48 29 2d 3e 6e 4c 69 6e |>aboutTE|H)->nLin|
|00000770| 65 73 2c 20 30 2c 20 74 | 68 69 73 2d 3e 61 62 6f |es, 0, t|his->abo|
|00000780| 75 74 54 45 48 29 3b 0d | 09 74 68 69 73 2d 3e 47 |utTEH);.|.this->G|
|00000790| 65 74 49 74 65 6d 49 6e | 66 6f 28 6b 53 63 72 6f |etItemIn|fo(kScro|
|000007a0| 6c 6c 42 61 72 2c 20 26 | 69 74 65 6d 54 79 70 65 |llBar, &|itemType|
|000007b0| 2c 20 26 69 74 65 6d 48 | 61 6e 64 6c 65 2c 20 26 |, &itemH|andle, &|
|000007c0| 69 74 65 6d 52 65 63 74 | 20 29 3b 0d 09 3a 3a 53 |itemRect| );..::S|
|000007d0| 65 74 43 6f 6e 74 72 6f | 6c 4d 61 78 69 6d 75 6d |etContro|lMaximum|
|000007e0| 28 28 43 6f 6e 74 72 6f | 6c 48 61 6e 64 6c 65 29 |((Contro|lHandle)|
|000007f0| 69 74 65 6d 48 61 6e 64 | 6c 65 2c 20 68 65 69 67 |itemHand|le, heig|
|00000800| 68 74 20 2d 20 28 74 65 | 78 74 52 65 63 74 2e 62 |ht - (te|xtRect.b|
|00000810| 6f 74 74 6f 6d 20 2d 20 | 74 65 78 74 52 65 63 74 |ottom - |textRect|
|00000820| 2e 74 6f 70 29 20 29 3b | 0d 09 0d 09 74 68 69 73 |.top) );|....this|
|00000830| 2d 3e 73 63 72 6f 6c 6c | 50 72 6f 63 55 50 50 20 |->scroll|ProcUPP |
|00000840| 3d 20 4e 65 77 43 6f 6e | 74 72 6f 6c 41 63 74 69 |= NewCon|trolActi|
|00000850| 6f 6e 50 72 6f 63 28 54 | 65 78 74 53 63 72 6f 6c |onProc(T|extScrol|
|00000860| 6c 50 72 6f 63 29 3b 0d | 7d 0d 0d 43 54 65 78 74 |lProc);.|}..CText|
|00000870| 42 6f 78 44 69 61 6c 6f | 67 3a 3a 7e 43 54 65 78 |BoxDialo|g::~CTex|
|00000880| 74 42 6f 78 44 69 61 6c | 6f 67 28 29 0d 7b 09 0d |tBoxDial|og().{..|
|00000890| 09 44 69 73 70 6f 73 65 | 52 6f 75 74 69 6e 65 44 |.Dispose|RoutineD|
|000008a0| 65 73 63 72 69 70 74 6f | 72 28 28 55 6e 69 76 65 |escripto|r((Unive|
|000008b0| 72 73 61 6c 50 72 6f 63 | 50 74 72 29 74 68 69 73 |rsalProc|Ptr)this|
|000008c0| 2d 3e 74 65 78 74 42 6f | 78 55 50 50 29 3b 0d 09 |->textBo|xUPP);..|
|000008d0| 44 69 73 70 6f 73 65 52 | 6f 75 74 69 6e 65 44 65 |DisposeR|outineDe|
|000008e0| 73 63 72 69 70 74 6f 72 | 28 28 55 6e 69 76 65 72 |scriptor|((Univer|
|000008f0| 73 61 6c 50 72 6f 63 50 | 74 72 29 74 68 69 73 2d |salProcP|tr)this-|
|00000900| 3e 73 63 72 6f 6c 6c 50 | 72 6f 63 55 50 50 29 3b |>scrollP|rocUPP);|
|00000910| 0d 09 3a 3a 54 45 44 69 | 73 70 6f 73 65 28 74 68 |..::TEDi|spose(th|
|00000920| 69 73 2d 3e 61 62 6f 75 | 74 54 45 48 29 3b 0d 7d |is->abou|tTEH);.}|
|00000930| 0d 0d 76 6f 69 64 0d 43 | 54 65 78 74 42 6f 78 44 |..void.C|TextBoxD|
|00000940| 69 61 6c 6f 67 3a 3a 44 | 69 73 70 6c 61 79 54 65 |ialog::D|isplayTe|
|00000950| 78 74 42 6f 78 44 69 61 | 6c 6f 67 28 20 76 6f 69 |xtBoxDia|log( voi|
|00000960| 64 20 29 0d 7b 0d 73 68 | 6f 72 74 09 09 09 69 74 |d ).{.sh|ort...it|
|00000970| 65 6d 48 69 74 3b 0d 42 | 6f 6f 6c 65 61 6e 09 09 |emHit;.B|oolean..|
|00000980| 09 64 6f 6e 65 20 3d 20 | 66 61 6c 73 65 3b 0d 0d |.done = |false;..|
|00000990| 09 74 68 69 73 2d 3e 53 | 68 6f 77 28 29 3b 0d 09 |.this->S|how();..|
|000009a0| 0d 09 77 68 69 6c 65 20 | 28 21 64 6f 6e 65 29 0d |..while |(!done).|
|000009b0| 09 7b 0d 09 09 69 74 65 | 6d 48 69 74 20 3d 20 74 |.{...ite|mHit = t|
|000009c0| 68 69 73 2d 3e 44 6f 4f | 6e 65 4d 6f 64 61 6c 4c |his->DoO|neModalL|
|000009d0| 6f 6f 70 28 29 3b 0d 09 | 09 0d 09 09 73 77 69 74 |oop();..|....swit|
|000009e0| 63 68 20 28 69 74 65 6d | 48 69 74 29 0d 09 09 7b |ch (item|Hit)...{|
|000009f0| 0d 09 09 09 63 61 73 65 | 20 6b 4f 4b 3a 0d 09 09 |....case| kOK:...|
|00000a00| 09 09 64 6f 6e 65 20 3d | 20 74 72 75 65 3b 0d 09 |..done =| true;..|
|00000a10| 09 09 09 62 72 65 61 6b | 3b 0d 09 09 09 63 61 73 |...break|;....cas|
|00000a20| 65 20 6b 53 63 72 6f 6c | 6c 42 61 72 3a 0d 09 09 |e kScrol|lBar:...|
|00000a30| 09 09 62 72 65 61 6b 3b | 0d 09 09 0d 09 09 7d 0d |..break;|......}.|
|00000a40| 09 7d 0d 09 0d 09 74 68 | 69 73 2d 3e 48 69 64 65 |.}....th|is->Hide|
|00000a50| 28 29 3b 0d 7d 0d 0d 42 | 6f 6f 6c 65 61 6e 09 09 |();.}..B|oolean..|
|00000a60| 0d 43 54 65 78 74 42 6f | 78 44 69 61 6c 6f 67 3a |.CTextBo|xDialog:|
|00000a70| 3a 4b 65 79 44 6f 77 6e | 46 69 6c 74 65 72 28 20 |:KeyDown|Filter( |
|00000a80| 44 69 61 6c 6f 67 50 74 | 72 20 74 68 65 44 6c 67 |DialogPt|r theDlg|
|00000a90| 2c 20 45 76 65 6e 74 52 | 65 63 6f 72 64 20 2a 74 |, EventR|ecord *t|
|00000aa0| 68 65 45 76 65 6e 74 2c | 20 73 68 6f 72 74 20 2a |heEvent,| short *|
|00000ab0| 69 74 65 6d 48 69 74 29 | 0d 7b 0d 42 6f 6f 6c 65 |itemHit)|.{.Boole|
|00000ac0| 61 6e 09 09 72 65 74 75 | 72 6e 43 6f 64 65 20 3d |an..retu|rnCode =|
|00000ad0| 20 66 61 6c 73 65 3b 0d | 63 68 61 72 09 09 6b 65 | false;.|char..ke|
|00000ae0| 79 20 3d 20 74 68 65 45 | 76 65 6e 74 2d 3e 6d 65 |y = theE|vent->me|
|00000af0| 73 73 61 67 65 26 63 68 | 61 72 43 6f 64 65 4d 61 |ssage&ch|arCodeMa|
|00000b00| 73 6b 3b 0d 0d 09 69 66 | 20 28 74 68 65 45 76 65 |sk;...if| (theEve|
|00000b10| 6e 74 2d 3e 6d 6f 64 69 | 66 69 65 72 73 26 63 6d |nt->modi|fiers&cm|
|00000b20| 64 4b 65 79 29 0d 09 7b | 0d 09 09 69 66 20 28 28 |dKey)..{|...if ((|
|00000b30| 6b 65 79 20 3d 3d 20 27 | 63 27 29 7c 7c 28 6b 65 |key == '|c')||(ke|
|00000b40| 79 20 3d 3d 20 27 43 27 | 29 29 0d 09 09 7b 0d 09 |y == 'C'|))...{..|
|00000b50| 09 09 3a 3a 54 45 43 6f | 70 79 28 74 68 69 73 2d |..::TECo|py(this-|
|00000b60| 3e 61 62 6f 75 74 54 45 | 48 29 3b 0d 09 09 09 72 |>aboutTE|H);....r|
|00000b70| 65 74 75 72 6e 43 6f 64 | 65 20 3d 20 74 72 75 65 |eturnCod|e = true|
|00000b80| 3b 0d 09 09 7d 0d 09 09 | 65 6c 73 65 20 69 66 20 |;...}...|else if |
|00000b90| 28 28 6b 65 79 20 3d 3d | 20 27 61 27 29 7c 7c 28 |((key ==| 'a')||(|
|00000ba0| 6b 65 79 20 3d 3d 20 27 | 41 27 29 29 0d 09 09 7b |key == '|A'))...{|
|00000bb0| 0d 09 09 09 3a 3a 54 45 | 53 65 74 53 65 6c 65 63 |....::TE|SetSelec|
|00000bc0| 74 28 30 2c 20 33 32 37 | 36 37 2c 20 74 68 69 73 |t(0, 327|67, this|
|00000bd0| 2d 3e 61 62 6f 75 74 54 | 45 48 29 3b 0d 09 09 09 |->aboutT|EH);....|
|00000be0| 72 65 74 75 72 6e 43 6f | 64 65 20 3d 20 74 72 75 |returnCo|de = tru|
|00000bf0| 65 3b 0d 09 09 7d 0d 09 | 7d 0d 09 0d 09 69 66 20 |e;...}..|}....if |
|00000c00| 28 21 72 65 74 75 72 6e | 43 6f 64 65 29 0d 09 09 |(!return|Code)...|
|00000c10| 72 65 74 75 72 6e 43 6f | 64 65 20 3d 20 74 68 69 |returnCo|de = thi|
|00000c20| 73 2d 3e 43 4d 6f 64 61 | 6c 44 69 61 6c 6f 67 3a |s->CModa|lDialog:|
|00000c30| 3a 4b 65 79 44 6f 77 6e | 46 69 6c 74 65 72 28 20 |:KeyDown|Filter( |
|00000c40| 74 68 65 44 6c 67 2c 20 | 74 68 65 45 76 65 6e 74 |theDlg, |theEvent|
|00000c50| 2c 20 69 74 65 6d 48 69 | 74 29 3b 0d 09 0d 09 72 |, itemHi|t);....r|
|00000c60| 65 74 75 72 6e 20 72 65 | 74 75 72 6e 43 6f 64 65 |eturn re|turnCode|
|00000c70| 3b 0d 7d 0d 0d 42 6f 6f | 6c 65 61 6e 0d 43 54 65 |;.}..Boo|lean.CTe|
|00000c80| 78 74 42 6f 78 44 69 61 | 6c 6f 67 3a 3a 4d 6f 75 |xtBoxDia|log::Mou|
|00000c90| 73 65 44 6f 77 6e 46 69 | 6c 74 65 72 28 09 44 69 |seDownFi|lter(.Di|
|00000ca0| 61 6c 6f 67 50 74 72 20 | 09 09 74 68 65 44 6c 67 |alogPtr |..theDlg|
|00000cb0| 2c 20 0d 09 09 09 09 09 | 09 09 09 09 45 76 65 6e |, ......|....Even|
|00000cc0| 74 52 65 63 6f 72 64 2a | 20 09 74 68 65 45 76 65 |tRecord*| .theEve|
|00000cd0| 6e 74 2c 20 0d 09 09 09 | 09 09 09 09 09 09 73 68 |nt, ....|......sh|
|00000ce0| 6f 72 74 2a 20 09 09 09 | 69 74 65 6d 48 69 74 20 |ort* ...|itemHit |
|00000cf0| 29 0d 7b 0d 43 6f 6e 74 | 72 6f 6c 48 61 6e 64 6c |).{.Cont|rolHandl|
|00000d00| 65 09 74 68 65 43 6f 6e | 74 72 6f 6c 3b 0d 47 72 |e.theCon|trol;.Gr|
|00000d10| 61 66 50 74 72 09 09 73 | 61 76 65 50 6f 72 74 3b |afPtr..s|avePort;|
|00000d20| 0d 73 68 6f 72 74 09 09 | 66 6f 75 6e 64 49 74 65 |.short..|foundIte|
|00000d30| 6d 2c 20 74 68 65 50 61 | 72 74 3b 0d 73 68 6f 72 |m, thePa|rt;.shor|
|00000d40| 74 09 09 69 74 65 6d 54 | 79 70 65 2c 20 6e 65 77 |t..itemT|ype, new|
|00000d50| 56 61 6c 3b 0d 48 61 6e | 64 6c 65 09 09 69 74 65 |Val;.Han|dle..ite|
|00000d60| 6d 48 61 6e 64 6c 65 3b | 0d 52 65 63 74 09 09 69 |mHandle;|.Rect..i|
|00000d70| 74 65 6d 52 65 63 74 3b | 0d 50 6f 69 6e 74 09 09 |temRect;|.Point..|
|00000d80| 74 68 65 50 74 3b 0d 42 | 6f 6f 6c 65 61 6e 09 09 |thePt;.B|oolean..|
|00000d90| 72 65 74 75 72 6e 43 6f | 64 65 20 3d 20 66 61 6c |returnCo|de = fal|
|00000da0| 73 65 3b 0d 0d 09 3a 3a | 47 65 74 50 6f 72 74 28 |se;...::|GetPort(|
|00000db0| 20 26 73 61 76 65 50 6f | 72 74 20 29 3b 0d 09 3a | &savePo|rt );..:|
|00000dc0| 3a 53 65 74 50 6f 72 74 | 28 20 74 68 65 44 6c 67 |:SetPort|( theDlg|
|00000dd0| 20 29 3b 0d 09 74 68 65 | 50 74 20 3d 20 74 68 65 | );..the|Pt = the|
|00000de0| 45 76 65 6e 74 2d 3e 77 | 68 65 72 65 3b 0d 09 3a |Event->w|here;..:|
|00000df0| 3a 47 6c 6f 62 61 6c 54 | 6f 4c 6f 63 61 6c 28 20 |:GlobalT|oLocal( |
|00000e00| 26 74 68 65 50 74 20 29 | 3b 0d 0d 09 74 68 69 73 |&thePt )|;...this|
|00000e10| 2d 3e 47 65 74 49 74 65 | 6d 49 6e 66 6f 28 20 6b |->GetIte|mInfo( k|
|00000e20| 54 65 78 74 42 6f 78 2c | 20 26 69 74 65 6d 54 79 |TextBox,| &itemTy|
|00000e30| 70 65 2c 20 26 69 74 65 | 6d 48 61 6e 64 6c 65 2c |pe, &ite|mHandle,|
|00000e40| 20 26 69 74 65 6d 52 65 | 63 74 20 29 3b 0d 09 69 | &itemRe|ct );..i|
|00000e50| 66 20 28 3a 3a 50 74 49 | 6e 52 65 63 74 28 74 68 |f (::PtI|nRect(th|
|00000e60| 65 50 74 2c 20 26 69 74 | 65 6d 52 65 63 74 29 29 |ePt, &it|emRect))|
|00000e70| 0d 09 7b 0d 09 09 3a 3a | 54 45 43 6c 69 63 6b 28 |..{...::|TEClick(|
|00000e80| 74 68 65 50 74 2c 20 74 | 68 65 45 76 65 6e 74 2d |thePt, t|heEvent-|
|00000e90| 3e 6d 6f 64 69 66 69 65 | 72 73 26 73 68 69 66 74 |>modifie|rs&shift|
|00000ea0| 4b 65 79 20 3f 20 74 72 | 75 65 20 3a 20 66 61 6c |Key ? tr|ue : fal|
|00000eb0| 73 65 2c 20 74 68 69 73 | 2d 3e 61 62 6f 75 74 54 |se, this|->aboutT|
|00000ec0| 45 48 29 3b 0d 09 09 74 | 68 69 73 2d 3e 47 65 74 |EH);...t|his->Get|
|00000ed0| 49 74 65 6d 49 6e 66 6f | 28 20 6b 53 63 72 6f 6c |ItemInfo|( kScrol|
|00000ee0| 6c 42 61 72 2c 20 26 69 | 74 65 6d 54 79 70 65 2c |lBar, &i|temType,|
|00000ef0| 20 26 69 74 65 6d 48 61 | 6e 64 6c 65 2c 20 26 69 | &itemHa|ndle, &i|
|00000f00| 74 65 6d 52 65 63 74 20 | 29 3b 0d 09 09 6e 65 77 |temRect |);...new|
|00000f10| 56 61 6c 20 3d 20 28 2a | 74 68 69 73 2d 3e 61 62 |Val = (*|this->ab|
|00000f20| 6f 75 74 54 45 48 29 2d | 3e 76 69 65 77 52 65 63 |outTEH)-|>viewRec|
|00000f30| 74 2e 74 6f 70 20 2d 20 | 28 2a 74 68 69 73 2d 3e |t.top - |(*this->|
|00000f40| 61 62 6f 75 74 54 45 48 | 29 2d 3e 64 65 73 74 52 |aboutTEH|)->destR|
|00000f50| 65 63 74 2e 74 6f 70 3b | 0d 09 09 3a 3a 53 65 74 |ect.top;|...::Set|
|00000f60| 43 6f 6e 74 72 6f 6c 56 | 61 6c 75 65 28 20 28 43 |ControlV|alue( (C|
|00000f70| 6f 6e 74 72 6f 6c 48 61 | 6e 64 6c 65 29 69 74 65 |ontrolHa|ndle)ite|
|00000f80| 6d 48 61 6e 64 6c 65 2c | 20 6e 65 77 56 61 6c 20 |mHandle,| newVal |
|00000f90| 29 3b 0d 09 09 2a 69 74 | 65 6d 48 69 74 20 3d 20 |);...*it|emHit = |
|00000fa0| 6b 54 65 78 74 42 6f 78 | 3b 0d 09 09 72 65 74 75 |kTextBox|;...retu|
|00000fb0| 72 6e 43 6f 64 65 20 3d | 20 74 72 75 65 3b 0d 09 |rnCode =| true;..|
|00000fc0| 7d 0d 09 65 6c 73 65 0d | 09 7b 0d 09 09 74 68 69 |}..else.|.{...thi|
|00000fd0| 73 2d 3e 47 65 74 49 74 | 65 6d 49 6e 66 6f 28 20 |s->GetIt|emInfo( |
|00000fe0| 6b 53 63 72 6f 6c 6c 42 | 61 72 2c 20 26 69 74 65 |kScrollB|ar, &ite|
|00000ff0| 6d 54 79 70 65 2c 20 26 | 69 74 65 6d 48 61 6e 64 |mType, &|itemHand|
|00001000| 6c 65 2c 20 26 69 74 65 | 6d 52 65 63 74 20 29 3b |le, &ite|mRect );|
|00001010| 0d 09 09 66 6f 75 6e 64 | 49 74 65 6d 20 3d 20 3a |...found|Item = :|
|00001020| 3a 46 69 6e 64 43 6f 6e | 74 72 6f 6c 28 74 68 65 |:FindCon|trol(the|
|00001030| 50 74 2c 20 74 68 65 44 | 6c 67 2c 20 26 74 68 65 |Pt, theD|lg, &the|
|00001040| 43 6f 6e 74 72 6f 6c 29 | 3b 0d 09 09 69 66 20 28 |Control)|;...if (|
|00001050| 74 68 65 43 6f 6e 74 72 | 6f 6c 20 3d 3d 20 28 43 |theContr|ol == (C|
|00001060| 6f 6e 74 72 6f 6c 48 61 | 6e 64 6c 65 29 69 74 65 |ontrolHa|ndle)ite|
|00001070| 6d 48 61 6e 64 6c 65 29 | 0d 09 09 7b 0d 09 09 09 |mHandle)|...{....|
|00001080| 69 66 20 28 66 6f 75 6e | 64 49 74 65 6d 20 3d 3d |if (foun|dItem ==|
|00001090| 20 6b 43 6f 6e 74 72 6f | 6c 49 6e 64 69 63 61 74 | kContro|lIndicat|
|000010a0| 6f 72 50 61 72 74 29 0d | 09 09 09 7b 0d 09 09 09 |orPart).|...{....|
|000010b0| 09 74 68 69 73 2d 3e 6c | 61 73 74 53 63 72 6f 6c |.this->l|astScrol|
|000010c0| 6c 56 61 6c 75 65 20 3d | 20 3a 3a 47 65 74 43 6f |lValue =| ::GetCo|
|000010d0| 6e 74 72 6f 6c 56 61 6c | 75 65 28 20 74 68 65 43 |ntrolVal|ue( theC|
|000010e0| 6f 6e 74 72 6f 6c 20 29 | 3b 0d 09 09 09 09 74 68 |ontrol )|;.....th|
|000010f0| 65 50 61 72 74 20 3d 20 | 3a 3a 54 72 61 63 6b 43 |ePart = |::TrackC|
|00001100| 6f 6e 74 72 6f 6c 28 74 | 68 65 43 6f 6e 74 72 6f |ontrol(t|heContro|
|00001110| 6c 2c 20 74 68 65 50 74 | 2c 20 6e 69 6c 29 3b 0d |l, thePt|, nil);.|
|00001120| 09 09 09 09 6e 65 77 56 | 61 6c 20 3d 20 3a 3a 47 |....newV|al = ::G|
|00001130| 65 74 43 6f 6e 74 72 6f | 6c 56 61 6c 75 65 28 20 |etContro|lValue( |
|00001140| 74 68 65 43 6f 6e 74 72 | 6f 6c 20 29 3b 0d 09 09 |theContr|ol );...|
|00001150| 09 09 3a 3a 54 45 50 69 | 6e 53 63 72 6f 6c 6c 28 |..::TEPi|nScroll(|
|00001160| 30 2c 20 74 68 69 73 2d | 3e 6c 61 73 74 53 63 72 |0, this-|>lastScr|
|00001170| 6f 6c 6c 56 61 6c 75 65 | 20 2d 20 6e 65 77 56 61 |ollValue| - newVa|
|00001180| 6c 2c 20 74 68 69 73 2d | 3e 61 62 6f 75 74 54 45 |l, this-|>aboutTE|
|00001190| 48 29 3b 0d 09 09 09 7d | 0d 09 09 09 65 6c 73 65 |H);....}|....else|
|000011a0| 09 09 09 0d 09 09 09 09 | 74 68 65 50 61 72 74 20 |........|thePart |
|000011b0| 3d 20 3a 3a 54 72 61 63 | 6b 43 6f 6e 74 72 6f 6c |= ::Trac|kControl|
|000011c0| 28 74 68 65 43 6f 6e 74 | 72 6f 6c 2c 20 74 68 65 |(theCont|rol, the|
|000011d0| 50 74 2c 20 74 68 69 73 | 2d 3e 73 63 72 6f 6c 6c |Pt, this|->scroll|
|000011e0| 50 72 6f 63 55 50 50 29 | 3b 0d 09 09 09 69 66 20 |ProcUPP)|;....if |
|000011f0| 28 74 68 65 50 61 72 74 | 29 0d 09 09 09 09 2a 69 |(thePart|).....*i|
|00001200| 74 65 6d 48 69 74 20 3d | 20 6b 53 63 72 6f 6c 6c |temHit =| kScroll|
|00001210| 42 61 72 3b 0d 09 09 0d | 09 09 09 72 65 74 75 72 |Bar;....|...retur|
|00001220| 6e 43 6f 64 65 20 3d 20 | 74 72 75 65 3b 0d 09 09 |nCode = |true;...|
|00001230| 7d 0d 09 7d 0d 09 0d 09 | 3a 3a 53 65 74 50 6f 72 |}..}....|::SetPor|
|00001240| 74 28 20 73 61 76 65 50 | 6f 72 74 20 29 3b 0d 09 |t( saveP|ort );..|
|00001250| 0d 09 69 66 20 28 21 72 | 65 74 75 72 6e 43 6f 64 |..if (!r|eturnCod|
|00001260| 65 29 0d 09 09 72 65 74 | 75 72 6e 43 6f 64 65 20 |e)...ret|urnCode |
|00001270| 3d 20 74 68 69 73 2d 3e | 43 4d 6f 64 61 6c 44 69 |= this->|CModalDi|
|00001280| 61 6c 6f 67 3a 3a 4d 6f | 75 73 65 44 6f 77 6e 46 |alog::Mo|useDownF|
|00001290| 69 6c 74 65 72 28 20 74 | 68 65 44 6c 67 2c 20 74 |ilter( t|heDlg, t|
|000012a0| 68 65 45 76 65 6e 74 2c | 20 69 74 65 6d 48 69 74 |heEvent,| itemHit|
|000012b0| 29 3b 0d 09 09 0d 09 72 | 65 74 75 72 6e 20 72 65 |);.....r|eturn re|
|000012c0| 74 75 72 6e 43 6f 64 65 | 3b 0d 7d 0d 0d 70 61 73 |turnCode|;.}..pas|
|000012d0| 63 61 6c 20 76 6f 69 64 | 09 09 54 65 78 74 42 6f |cal void|..TextBo|
|000012e0| 78 49 74 65 6d 28 20 57 | 69 6e 64 6f 77 50 74 72 |xItem( W|indowPtr|
|000012f0| 20 74 68 65 57 69 6e 64 | 6f 77 2c 20 73 68 6f 72 | theWind|ow, shor|
|00001300| 74 20 2f 2a 20 69 74 65 | 6d 4e 6f 20 2a 2f 29 0d |t /* ite|mNo */).|
|00001310| 7b 0d 73 68 6f 72 74 09 | 09 09 09 69 74 65 6d 54 |{.short.|...itemT|
|00001320| 79 70 65 3b 0d 48 61 6e | 64 6c 65 09 09 09 09 69 |ype;.Han|dle....i|
|00001330| 74 65 6d 48 61 6e 64 6c | 65 3b 0d 52 65 63 74 09 |temHandl|e;.Rect.|
|00001340| 09 09 09 69 74 65 6d 52 | 65 63 74 3b 0d 43 54 65 |...itemR|ect;.CTe|
|00001350| 78 74 42 6f 78 44 69 61 | 6c 6f 67 09 09 2a 74 68 |xtBoxDia|log..*th|
|00001360| 65 54 68 69 73 20 3d 20 | 28 43 54 65 78 74 42 6f |eThis = |(CTextBo|
|00001370| 78 44 69 61 6c 6f 67 20 | 2a 29 47 65 74 57 52 65 |xDialog |*)GetWRe|
|00001380| 66 43 6f 6e 28 20 74 68 | 65 57 69 6e 64 6f 77 20 |fCon( th|eWindow |
|00001390| 29 3b 0d 0d 09 74 68 65 | 54 68 69 73 2d 3e 47 65 |);...the|This->Ge|
|000013a0| 74 49 74 65 6d 49 6e 66 | 6f 28 20 43 54 65 78 74 |tItemInf|o( CText|
|000013b0| 42 6f 78 44 69 61 6c 6f | 67 3a 3a 6b 54 65 78 74 |BoxDialo|g::kText|
|000013c0| 42 6f 78 2c 20 26 69 74 | 65 6d 54 79 70 65 2c 20 |Box, &it|emType, |
|000013d0| 26 69 74 65 6d 48 61 6e | 64 6c 65 2c 20 26 69 74 |&itemHan|dle, &it|
|000013e0| 65 6d 52 65 63 74 20 29 | 3b 0d 09 0d 09 3a 3a 54 |emRect )|;....::T|
|000013f0| 45 55 70 64 61 74 65 28 | 26 69 74 65 6d 52 65 63 |EUpdate(|&itemRec|
|00001400| 74 2c 20 74 68 65 54 68 | 69 73 2d 3e 61 62 6f 75 |t, theTh|is->abou|
|00001410| 74 54 45 48 29 3b 0d 09 | 0d 09 4d 6f 76 65 54 6f |tTEH);..|..MoveTo|
|00001420| 28 20 69 74 65 6d 52 65 | 63 74 2e 72 69 67 68 74 |( itemRe|ct.right|
|00001430| 2c 20 69 74 65 6d 52 65 | 63 74 2e 74 6f 70 20 2d |, itemRe|ct.top -|
|00001440| 20 31 29 3b 0d 09 4c 69 | 6e 65 54 6f 28 20 69 74 | 1);..Li|neTo( it|
|00001450| 65 6d 52 65 63 74 2e 6c | 65 66 74 20 2d 20 32 2c |emRect.l|eft - 2,|
|00001460| 20 69 74 65 6d 52 65 63 | 74 2e 74 6f 70 20 2d 20 | itemRec|t.top - |
|00001470| 31 29 3b 20 0d 09 4c 69 | 6e 65 54 6f 28 20 69 74 |1); ..Li|neTo( it|
|00001480| 65 6d 52 65 63 74 2e 6c | 65 66 74 20 2d 20 32 2c |emRect.l|eft - 2,|
|00001490| 20 69 74 65 6d 52 65 63 | 74 2e 62 6f 74 74 6f 6d | itemRec|t.bottom|
|000014a0| 20 2b 20 31 29 3b 20 0d | 09 4c 69 6e 65 54 6f 28 | + 1); .|.LineTo(|
|000014b0| 20 69 74 65 6d 52 65 63 | 74 2e 72 69 67 68 74 2c | itemRec|t.right,|
|000014c0| 20 69 74 65 6d 52 65 63 | 74 2e 62 6f 74 74 6f 6d | itemRec|t.bottom|
|000014d0| 20 2b 20 31 29 3b 20 0d | 7d 0d 0d 70 61 73 63 61 | + 1); .|}..pasca|
|000014e0| 6c 20 76 6f 69 64 20 09 | 54 65 78 74 53 63 72 6f |l void .|TextScro|
|000014f0| 6c 6c 50 72 6f 63 28 43 | 6f 6e 74 72 6f 6c 48 61 |llProc(C|ontrolHa|
|00001500| 6e 64 6c 65 20 74 68 65 | 43 6f 6e 74 72 6f 6c 2c |ndle the|Control,|
|00001510| 20 73 68 6f 72 74 20 70 | 61 72 74 43 6f 64 65 29 | short p|artCode)|
|00001520| 0d 7b 0d 73 68 6f 72 74 | 09 09 09 09 6e 65 77 56 |.{.short|....newV|
|00001530| 61 6c 3b 0d 43 54 65 78 | 74 42 6f 78 44 69 61 6c |al;.CTex|tBoxDial|
|00001540| 6f 67 09 09 2a 74 68 65 | 54 68 69 73 3b 0d 0d 09 |og..*the|This;...|
|00001550| 48 4c 6f 63 6b 28 20 28 | 48 61 6e 64 6c 65 29 74 |HLock( (|Handle)t|
|00001560| 68 65 43 6f 6e 74 72 6f | 6c 20 29 3b 0d 09 74 68 |heContro|l );..th|
|00001570| 65 54 68 69 73 20 3d 20 | 28 43 54 65 78 74 42 6f |eThis = |(CTextBo|
|00001580| 78 44 69 61 6c 6f 67 20 | 2a 29 47 65 74 57 52 65 |xDialog |*)GetWRe|
|00001590| 66 43 6f 6e 28 20 28 2a | 74 68 65 43 6f 6e 74 72 |fCon( (*|theContr|
|000015a0| 6f 6c 29 2d 3e 63 6f 6e | 74 72 6c 4f 77 6e 65 72 |ol)->con|trlOwner|
|000015b0| 20 29 3b 0d 09 48 55 6e | 6c 6f 63 6b 28 20 28 48 | );..HUn|lock( (H|
|000015c0| 61 6e 64 6c 65 29 74 68 | 65 43 6f 6e 74 72 6f 6c |andle)th|eControl|
|000015d0| 20 29 3b 0d 09 74 68 65 | 54 68 69 73 2d 3e 6c 61 | );..the|This->la|
|000015e0| 73 74 53 63 72 6f 6c 6c | 56 61 6c 75 65 20 3d 20 |stScroll|Value = |
|000015f0| 47 65 74 43 6f 6e 74 72 | 6f 6c 56 61 6c 75 65 28 |GetContr|olValue(|
|00001600| 20 74 68 65 43 6f 6e 74 | 72 6f 6c 20 29 3b 0d 09 | theCont|rol );..|
|00001610| 73 77 69 74 63 68 20 28 | 70 61 72 74 43 6f 64 65 |switch (|partCode|
|00001620| 29 0d 09 7b 0d 09 09 63 | 61 73 65 20 6b 43 6f 6e |)..{...c|ase kCon|
|00001630| 74 72 6f 6c 55 70 42 75 | 74 74 6f 6e 50 61 72 74 |trolUpBu|ttonPart|
|00001640| 3a 0d 09 09 09 53 65 74 | 43 6f 6e 74 72 6f 6c 56 |:....Set|ControlV|
|00001650| 61 6c 75 65 28 20 74 68 | 65 43 6f 6e 74 72 6f 6c |alue( th|eControl|
|00001660| 2c 20 47 65 74 43 6f 6e | 74 72 6f 6c 56 61 6c 75 |, GetCon|trolValu|
|00001670| 65 28 20 74 68 65 43 6f | 6e 74 72 6f 6c 20 29 20 |e( theCo|ntrol ) |
|00001680| 2d 20 31 30 20 29 3b 0d | 09 09 09 62 72 65 61 6b |- 10 );.|...break|
|00001690| 3b 0d 09 09 63 61 73 65 | 20 6b 43 6f 6e 74 72 6f |;...case| kContro|
|000016a0| 6c 44 6f 77 6e 42 75 74 | 74 6f 6e 50 61 72 74 3a |lDownBut|tonPart:|
|000016b0| 0d 09 09 09 53 65 74 43 | 6f 6e 74 72 6f 6c 56 61 |....SetC|ontrolVa|
|000016c0| 6c 75 65 28 20 74 68 65 | 43 6f 6e 74 72 6f 6c 2c |lue( the|Control,|
|000016d0| 20 47 65 74 43 6f 6e 74 | 72 6f 6c 56 61 6c 75 65 | GetCont|rolValue|
|000016e0| 28 20 74 68 65 43 6f 6e | 74 72 6f 6c 20 29 20 2b |( theCon|trol ) +|
|000016f0| 20 31 30 20 29 3b 0d 09 | 09 09 62 72 65 61 6b 3b | 10 );..|..break;|
|00001700| 0d 09 09 63 61 73 65 20 | 6b 43 6f 6e 74 72 6f 6c |...case |kControl|
|00001710| 50 61 67 65 55 70 50 61 | 72 74 3a 0d 09 09 09 53 |PageUpPa|rt:....S|
|00001720| 65 74 43 6f 6e 74 72 6f | 6c 56 61 6c 75 65 28 20 |etContro|lValue( |
|00001730| 74 68 65 43 6f 6e 74 72 | 6f 6c 2c 20 47 65 74 43 |theContr|ol, GetC|
|00001740| 6f 6e 74 72 6f 6c 56 61 | 6c 75 65 28 20 74 68 65 |ontrolVa|lue( the|
|00001750| 43 6f 6e 74 72 6f 6c 20 | 29 20 2d 20 31 30 30 20 |Control |) - 100 |
|00001760| 29 3b 0d 09 09 09 62 72 | 65 61 6b 3b 0d 09 09 63 |);....br|eak;...c|
|00001770| 61 73 65 20 6b 43 6f 6e | 74 72 6f 6c 50 61 67 65 |ase kCon|trolPage|
|00001780| 44 6f 77 6e 50 61 72 74 | 3a 0d 09 09 09 53 65 74 |DownPart|:....Set|
|00001790| 43 6f 6e 74 72 6f 6c 56 | 61 6c 75 65 28 20 74 68 |ControlV|alue( th|
|000017a0| 65 43 6f 6e 74 72 6f 6c | 2c 20 47 65 74 43 6f 6e |eControl|, GetCon|
|000017b0| 74 72 6f 6c 56 61 6c 75 | 65 28 20 74 68 65 43 6f |trolValu|e( theCo|
|000017c0| 6e 74 72 6f 6c 20 29 20 | 2b 20 31 30 30 20 29 3b |ntrol ) |+ 100 );|
|000017d0| 0d 09 09 09 62 72 65 61 | 6b 3b 0d 09 7d 0d 0d 09 |....brea|k;..}...|
|000017e0| 6e 65 77 56 61 6c 20 3d | 20 47 65 74 43 6f 6e 74 |newVal =| GetCont|
|000017f0| 72 6f 6c 56 61 6c 75 65 | 28 20 74 68 65 43 6f 6e |rolValue|( theCon|
|00001800| 74 72 6f 6c 20 29 3b 0d | 09 54 45 50 69 6e 53 63 |trol );.|.TEPinSc|
|00001810| 72 6f 6c 6c 28 30 2c 20 | 74 68 65 54 68 69 73 2d |roll(0, |theThis-|
|00001820| 3e 6c 61 73 74 53 63 72 | 6f 6c 6c 56 61 6c 75 65 |>lastScr|ollValue|
|00001830| 20 2d 20 6e 65 77 56 61 | 6c 2c 20 74 68 65 54 68 | - newVa|l, theTh|
|00001840| 69 73 2d 3e 61 62 6f 75 | 74 54 45 48 29 3b 0d 09 |is->abou|tTEH);..|
|00001850| 74 68 65 54 68 69 73 2d | 3e 6c 61 73 74 53 63 72 |theThis-|>lastScr|
|00001860| 6f 6c 6c 56 61 6c 75 65 | 20 3d 20 6e 65 77 56 61 |ollValue| = newVa|
|00001870| 6c 3b 0d 7d 00 00 00 00 | 00 00 00 00 00 00 00 00 |l;.}....|........|
|00001880| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00001890| 00 00 64 53 0e 4d 61 63 | 48 65 61 64 65 72 73 2e |..dS.Mac|Headers.|
|000018a0| 70 63 68 72 02 00 00 00 | 54 45 58 54 4d 4d 43 43 |pchr....|TEXTMMCC|
|000018b0| 11 43 54 65 78 74 42 6f | 78 44 69 61 6c 6f 67 2e |.CTextBo|xDialog.|
|000018c0| 63 70 02 00 00 00 54 45 | 58 54 4d 4d 43 43 01 00 |cp....TE|XTMMCC..|
|000018d0| 00 00 54 45 58 54 4d 4d | 43 43 01 00 ff ff ff ff |..TEXTMM|CC......|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 ac 80 7d cc 00 00 | 17 f4 00 00 01 9a 00 00 |....}...|........|
|00001900| 00 00 00 00 00 00 00 00 | 00 00 13 00 00 00 64 53 |........|......dS|
|00001910| 0d 4d 61 63 48 65 61 64 | 65 72 73 36 38 4b 02 00 |.MacHead|ers68K..|
|00001920| 00 00 4d 4d 43 48 4d 4d | 43 43 01 00 00 00 01 00 |..MMCHMM|CC......|
|00001930| 00 00 00 00 64 57 00 00 | 00 06 d9 17 00 06 e0 00 |....dW..|........|
|00001940| 00 00 00 00 00 00 00 00 | 00 00 ab bc 6f c9 ab bc |........|....o...|
|00001950| 6f c9 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |o.......|........|
|00001960| 00 00 00 00 00 00 00 00 | 7e dd 00 6e 00 00 00 00 |........|~..n....|
|00001970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001980| 00 00 00 48 00 09 48 65 | 6c 6c d5 73 20 50 72 6f |...H..He|ll.s Pro|
|00001990| 67 72 61 6d 6d 65 72 00 | 00 00 00 00 00 00 00 00 |grammer.|........|
|000019a0| 00 00 00 00 00 00 00 03 | 00 04 00 58 00 20 01 be |........|...X. ..|
|000019b0| 02 7f 00 58 00 20 01 be | 02 7f ac a1 cf ef 00 00 |...X. ..|........|
|000019c0| 05 a7 00 00 05 a7 00 00 | 02 30 01 00 00 00 00 04 |........|.0......|
|000019d0| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|000019e0| 00 00 00 46 01 a5 0a 70 | 27 4c 00 00 00 1c 00 46 |...F...p|'L.....F|
|000019f0| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00001a00| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00001a10| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00001a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+