home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Demos / Bowers Development / AppMaker 2.1.sit / AppMaker 2.1 / Examples / new C_C++ / Gadgets / AboutDialog.cp next >
MacBinary  |  1997-06-30  |  1.8 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

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

You can browse this item here: AboutDialog.cp

ConfidenceProgramDetectionMatch TypeSupport
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, Mon Jun 30 16:06:15 1997, modified Mon Jun 30 16:06:15 1997, creator 'CWIE', type ASCII, 1216 bytes "AboutDialog.cp" , at 0x540 286 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[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 41 62 6f 75 74 44 | 69 61 6c 6f 67 2e 63 70 |..AboutD|ialog.cp|
|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 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 04 c0 00 | 00 01 1e af dd c2 37 af |........|......7.|
|00000060| dd c2 37 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..7.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 73 83 00 00 |........|....s...|
|00000080| 2f 2a 20 41 62 6f 75 74 | 44 69 61 6c 6f 67 2e 63 |/* About|Dialog.c|
|00000090| 70 20 2d 2d 20 4d 6f 64 | 61 6c 20 64 69 61 6c 6f |p -- Mod|al dialo|
|000000a0| 67 20 2a 2f 0d 0d 23 69 | 6e 63 6c 75 64 65 20 3c |g */..#i|nclude <|
|000000b0| 54 79 70 65 73 2e 68 3e | 0d 23 69 6e 63 6c 75 64 |Types.h>|.#includ|
|000000c0| 65 20 3c 51 75 69 63 6b | 64 72 61 77 2e 68 3e 0d |e <Quick|draw.h>.|
|000000d0| 23 69 6e 63 6c 75 64 65 | 20 3c 43 6f 6e 74 72 6f |#include| <Contro|
|000000e0| 6c 73 2e 68 3e 0d 23 69 | 6e 63 6c 75 64 65 20 3c |ls.h>.#i|nclude <|
|000000f0| 44 69 61 6c 6f 67 73 2e | 68 3e 0d 23 69 6e 63 6c |Dialogs.|h>.#incl|
|00000100| 75 64 65 20 3c 45 76 65 | 6e 74 73 2e 68 3e 0d 23 |ude <Eve|nts.h>.#|
|00000110| 69 6e 63 6c 75 64 65 20 | 3c 4c 69 73 74 73 2e 68 |include |<Lists.h|
|00000120| 3e 0d 23 69 6e 63 6c 75 | 64 65 20 3c 4d 65 6e 75 |>.#inclu|de <Menu|
|00000130| 73 2e 68 3e 0d 23 69 6e | 63 6c 75 64 65 20 3c 54 |s.h>.#in|clude <T|
|00000140| 65 78 74 45 64 69 74 2e | 68 3e 0d 23 69 6e 63 6c |extEdit.|h>.#incl|
|00000150| 75 64 65 20 22 52 65 73 | 6f 75 72 63 65 44 65 66 |ude "Res|ourceDef|
|00000160| 73 2e 68 22 0d 23 69 6e | 63 6c 75 64 65 20 22 4d |s.h".#in|clude "M|
|00000170| 69 73 63 65 6c 6c 61 6e | 79 2e 68 22 0d 23 69 6e |iscellan|y.h".#in|
|00000180| 63 6c 75 64 65 20 22 44 | 69 61 6c 6f 67 41 69 64 |clude "D|ialogAid|
|00000190| 73 2e 68 22 0d 23 69 6e | 63 6c 75 64 65 20 22 57 |s.h".#in|clude "W|
|000001a0| 69 6e 64 6f 77 41 69 64 | 73 2e 68 22 0d 23 69 6e |indowAid|s.h".#in|
|000001b0| 63 6c 75 64 65 20 22 41 | 62 6f 75 74 44 69 61 6c |clude "A|boutDial|
|000001c0| 6f 67 2e 68 22 0d 0d 0d | 23 64 65 66 69 6e 65 20 |og.h"...|#define |
|000001d0| 4f 4b 42 75 74 74 6f 6e | 09 09 31 0d 23 64 65 66 |OKButton|..1.#def|
|000001e0| 69 6e 65 20 41 62 6f 75 | 74 4c 61 62 65 6c 09 09 |ine Abou|tLabel..|
|000001f0| 32 0d 0d 0d 2f 2a 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |2.../*--|--------|
|00000200| 2a 2f 0d 42 6f 6f 6c 65 | 61 6e 09 09 47 65 74 41 |*/.Boole|an..GetA|
|00000210| 62 6f 75 74 44 69 61 6c | 6f 67 20 28 0d 09 44 41 |boutDial|og (..DA|
|00000220| 62 6f 75 74 44 69 61 6c | 6f 67 44 61 74 61 2a 09 |boutDial|ogData*.|
|00000230| 09 69 6f 44 61 74 61 29 | 0d 7b 0d 09 44 69 61 6c |.ioData)|.{..Dial|
|00000240| 6f 67 50 74 72 09 09 74 | 68 65 44 69 61 6c 6f 67 |ogPtr..t|heDialog|
|00000250| 3b 0d 09 47 72 61 66 50 | 74 72 09 09 09 73 61 76 |;..GrafP|tr...sav|
|00000260| 65 50 6f 72 74 3b 0d 09 | 42 6f 6f 6c 65 61 6e 09 |ePort;..|Boolean.|
|00000270| 09 09 72 65 73 75 6c 74 | 3b 0d 09 42 6f 6f 6c 65 |..result|;..Boole|
|00000280| 61 6e 09 09 09 64 6f 6e | 65 3b 0d 09 73 68 6f 72 |an...don|e;..shor|
|00000290| 74 09 09 09 69 74 65 6d | 4e 72 3b 0d 09 44 41 62 |t...item|Nr;..DAb|
|000002a0| 6f 75 74 44 69 61 6c 6f | 67 44 61 74 61 2a 09 09 |outDialo|gData*..|
|000002b0| 64 61 74 61 3b 0d 09 4d | 6f 64 61 6c 46 69 6c 74 |data;..M|odalFilt|
|000002c0| 65 72 55 50 50 09 46 69 | 6c 74 65 72 41 62 6f 75 |erUPP.Fi|lterAbou|
|000002d0| 74 44 69 61 6c 6f 67 55 | 50 50 3b 0d 0d 09 47 65 |tDialogU|PP;...Ge|
|000002e0| 74 50 6f 72 74 20 28 26 | 73 61 76 65 50 6f 72 74 |tPort (&|savePort|
|000002f0| 29 3b 0d 09 49 6e 69 74 | 43 75 72 73 6f 72 20 28 |);..Init|Cursor (|
|00000300| 29 3b 0d 09 74 68 65 44 | 69 61 6c 6f 67 20 3d 20 |);..theD|ialog = |
|00000310| 47 65 74 4e 65 77 44 69 | 61 6c 6f 67 20 28 44 4c |GetNewDi|alog (DL|
|00000320| 4f 47 5f 41 62 6f 75 74 | 44 69 61 6c 6f 67 2c 20 |OG_About|Dialog, |
|00000330| 6e 69 6c 2c 20 28 57 69 | 6e 64 6f 77 50 74 72 29 |nil, (Wi|ndowPtr)|
|00000340| 20 2d 31 4c 29 3b 0d 09 | 53 65 74 50 6f 72 74 20 | -1L);..|SetPort |
|00000350| 28 74 68 65 44 69 61 6c | 6f 67 29 3b 0d 09 64 61 |(theDial|og);..da|
|00000360| 74 61 20 3d 20 69 6f 44 | 61 74 61 3b 0d 09 46 69 |ta = ioD|ata;..Fi|
|00000370| 6c 74 65 72 41 62 6f 75 | 74 44 69 61 6c 6f 67 55 |lterAbou|tDialogU|
|00000380| 50 50 20 3d 20 4e 65 77 | 4d 6f 64 61 6c 46 69 6c |PP = New|ModalFil|
|00000390| 74 65 72 50 72 6f 63 20 | 28 53 74 61 6e 64 61 72 |terProc |(Standar|
|000003a0| 64 46 69 6c 74 65 72 29 | 3b 0d 0d 09 53 68 6f 77 |dFilter)|;...Show|
|000003b0| 57 69 6e 64 6f 77 20 28 | 74 68 65 44 69 61 6c 6f |Window (|theDialo|
|000003c0| 67 29 3b 0d 09 4f 75 74 | 6c 69 6e 65 42 75 74 74 |g);..Out|lineButt|
|000003d0| 6f 6e 20 28 31 29 3b 0d | 09 64 6f 6e 65 20 3d 20 |on (1);.|.done = |
|000003e0| 66 61 6c 73 65 3b 0d 09 | 77 68 69 6c 65 20 28 21 |false;..|while (!|
|000003f0| 64 6f 6e 65 29 20 7b 0d | 0d 09 09 4d 6f 76 61 62 |done) {.|...Movab|
|00000400| 6c 65 44 69 61 6c 6f 67 | 20 28 46 69 6c 74 65 72 |leDialog| (Filter|
|00000410| 41 62 6f 75 74 44 69 61 | 6c 6f 67 55 50 50 2c 20 |AboutDia|logUPP, |
|00000420| 26 69 74 65 6d 4e 72 29 | 3b 0d 09 09 73 77 69 74 |&itemNr)|;...swit|
|00000430| 63 68 20 28 69 74 65 6d | 4e 72 29 20 7b 0d 09 09 |ch (item|Nr) {...|
|00000440| 09 63 61 73 65 20 4f 4b | 42 75 74 74 6f 6e 3a 0d |.case OK|Button:.|
|00000450| 09 09 09 09 09 72 65 73 | 75 6c 74 20 3d 20 74 72 |.....res|ult = tr|
|00000460| 75 65 3b 0d 09 09 09 09 | 09 64 6f 6e 65 20 3d 20 |ue;.....|.done = |
|00000470| 74 72 75 65 3b 0d 09 09 | 09 09 62 72 65 61 6b 3b |true;...|..break;|
|00000480| 0d 0d 09 09 7d 20 2f 2a | 20 73 77 69 74 63 68 20 |....} /*| switch |
|00000490| 2a 2f 0d 09 7d 20 2f 2a | 20 77 68 69 6c 65 20 2a |*/..} /*| while *|
|000004a0| 2f 0d 09 44 69 73 70 6f | 73 65 52 6f 75 74 69 6e |/..Dispo|seRoutin|
|000004b0| 65 44 65 73 63 72 69 70 | 74 6f 72 20 28 28 55 6e |eDescrip|tor ((Un|
|000004c0| 69 76 65 72 73 61 6c 50 | 72 6f 63 50 74 72 29 20 |iversalP|rocPtr) |
|000004d0| 46 69 6c 74 65 72 41 62 | 6f 75 74 44 69 61 6c 6f |FilterAb|outDialo|
|000004e0| 67 55 50 50 29 3b 0d 0d | 09 44 69 73 70 6f 73 65 |gUPP);..|.Dispose|
|000004f0| 44 69 61 6c 6f 67 20 28 | 74 68 65 44 69 61 6c 6f |Dialog (|theDialo|
|00000500| 67 29 3b 0d 09 53 65 74 | 50 6f 72 74 20 28 73 61 |g);..Set|Port (sa|
|00000510| 76 65 50 6f 72 74 29 3b | 0d 09 72 65 74 75 72 6e |vePort);|..return|
|00000520| 20 28 72 65 73 75 6c 74 | 29 3b 0d 7d 20 2f 2a 47 | (result|);.} /*G|
|00000530| 65 74 41 62 6f 75 74 44 | 69 61 6c 6f 67 2a 2f 0d |etAboutD|ialog*/.|
|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 |........|........|
|00000580| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 0e 41 62 6f 75 74 44 69 | 61 6c 6f 67 2e 63 70 6c |.AboutDi|alog.cpl|
|000005c0| 02 00 00 00 54 45 58 54 | 43 57 49 45 00 00 15 a0 |....TEXT|CWIE....|
|000005d0| 00 00 54 45 58 54 43 57 | 49 45 00 00 15 a0 0e 60 |..TEXTCW|IE.....`|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 af dd 89 f7 00 00 | 04 c0 00 00 01 1e 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000690| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+