home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 16 / IOPROG_16.ISO / soft / macaxsdk / macsdk.hqx / ActiveX DR3 SDK / ActiveX SDK / Sample Containers / SimpleContainer / App.h next >
MacBinary  |  1997-07-22  |  2.3 KB  |  [TEXT/CWIE]

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
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Tue Jul 22 15:27:39 1997, modified Tue Jul 22 15:27:39 1997, creator 'CWIE', type ASCII, 1578 bytes "App.h" , at 0x6aa 474 bytes resource default (weak)
99% file data default
49% TrID Macintosh plain text (MacBinary) default
33% TrID TTComp archive compressed (bin-2K) default (weak)
16% TrID MacBinary 2 default (weak)
0% TrID Sybase iAnywhere database files default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 41 70 70 2e 68 00 | 00 00 00 00 00 00 00 00 |..App.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 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 06 2a 00 | 00 01 da af fa ba 2b af |......*.|......+.|
|00000060| fa ba 2b 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 18 72 00 00 |........|.....r..|
|00000080| 2f 2f 0d 2f 2f 20 41 70 | 70 2e 68 0d 2f 2f 0d 2f |//.// Ap|p.h.//./|
|00000090| 2f 20 3e 3e 3e 20 a9 20 | 31 39 39 36 2d 31 39 39 |/ >>> . |1996-199|
|000000a0| 37 20 4d 69 63 72 6f 73 | 6f 66 74 20 43 6f 72 70 |7 Micros|oft Corp|
|000000b0| 6f 72 61 74 69 6f 6e 2e | 20 20 41 6c 6c 20 72 69 |oration.| All ri|
|000000c0| 67 68 74 73 20 72 65 73 | 65 72 76 65 64 2e 20 3c |ghts res|erved. <|
|000000d0| 3c 3c 0d 2f 2f 0d 23 69 | 6e 63 6c 75 64 65 20 3c |<<.//.#i|nclude <|
|000000e0| 51 44 4f 66 66 73 63 72 | 65 65 6e 2e 68 3e 0d 0d |QDOffscr|een.h>..|
|000000f0| 2f 2f 09 61 70 70 20 64 | 61 74 61 20 73 74 72 75 |//.app d|ata stru|
|00000100| 63 74 75 72 65 73 20 26 | 20 63 6f 6e 73 74 61 6e |ctures &| constan|
|00000110| 74 73 0d 0d 2f 2f 09 66 | 6f 72 77 61 72 64 20 64 |ts..//.f|orward d|
|00000120| 65 63 6c 61 72 61 74 69 | 6f 6e 73 0d 73 74 72 75 |eclarati|ons.stru|
|00000130| 63 74 09 46 69 67 75 72 | 65 44 61 74 61 3b 0d 73 |ct.Figur|eData;.s|
|00000140| 74 72 75 63 74 09 44 6f | 63 44 61 74 61 3b 0d 0d |truct.Do|cData;..|
|00000150| 74 79 70 65 64 65 66 20 | 65 6e 75 6d 0d 7b 0d 09 |typedef |enum.{..|
|00000160| 6b 49 6e 76 61 6c 69 64 | 43 75 72 73 6f 72 20 3d |kInvalid|Cursor =|
|00000170| 20 2d 31 2c 0d 09 6b 44 | 65 66 61 75 6c 74 43 75 | -1,..kD|efaultCu|
|00000180| 72 73 6f 72 20 3d 20 30 | 2c 0d 09 6b 52 65 73 69 |rsor = 0|,..kResi|
|00000190| 7a 65 48 43 75 72 73 6f | 72 20 3d 20 34 30 36 2c |zeHCurso|r = 406,|
|000001a0| 0d 09 6b 52 65 73 69 7a | 65 56 43 75 72 73 6f 72 |..kResiz|eVCursor|
|000001b0| 20 3d 20 34 30 34 2c 0d | 09 6b 52 65 73 69 7a 65 | = 404,.|.kResize|
|000001c0| 55 70 43 75 72 73 6f 72 | 20 3d 20 34 30 30 2c 0d |UpCursor| = 400,.|
|000001d0| 09 6b 52 65 73 69 7a 65 | 44 6f 77 6e 43 75 72 73 |.kResize|DownCurs|
|000001e0| 6f 72 20 3d 20 34 30 32 | 2c 0d 09 6b 48 61 6e 64 |or = 402|,..kHand|
|000001f0| 4f 70 65 6e 43 75 72 73 | 6f 72 20 3d 20 35 30 30 |OpenCurs|or = 500|
|00000200| 2c 0d 09 6b 48 61 6e 64 | 43 6c 6f 73 65 64 43 75 |,..kHand|ClosedCu|
|00000210| 72 73 6f 72 20 3d 20 35 | 30 31 0d 7d 0d 43 75 72 |rsor = 5|01.}.Cur|
|00000220| 73 6f 72 54 79 70 65 3b | 0d 0d 2f 2f 09 61 6c 6c |sorType;|..//.all|
|00000230| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 64 61 74 | applica|tion dat|
|00000240| 61 20 69 73 20 61 63 63 | 65 73 73 69 62 6c 65 20 |a is acc|essible |
|00000250| 66 72 6f 6d 20 68 65 72 | 65 0d 74 79 70 65 64 65 |from her|e.typede|
|00000260| 66 20 73 74 72 75 63 74 | 0d 7b 0d 09 2f 2f 09 61 |f struct|.{..//.a|
|00000270| 70 70 20 64 61 74 61 0d | 09 73 74 72 75 63 74 20 |pp data.|.struct |
|00000280| 46 69 67 75 72 65 44 61 | 74 61 2a 09 46 6f 63 75 |FigureDa|ta*.Focu|
|00000290| 73 46 69 67 75 72 65 3b | 09 09 2f 2a 20 77 68 69 |sFigure;|../* whi|
|000002a0| 63 68 20 63 6f 6e 74 72 | 6f 6c 20 68 61 73 20 74 |ch contr|ol has t|
|000002b0| 68 65 20 66 6f 63 75 73 | 20 2a 2f 0d 09 73 74 72 |he focus| */..str|
|000002c0| 75 63 74 20 46 69 67 75 | 72 65 44 61 74 61 2a 09 |uct Figu|reData*.|
|000002d0| 53 65 6c 65 63 74 65 64 | 46 69 67 75 72 65 3b 09 |Selected|Figure;.|
|000002e0| 09 2f 2a 20 77 68 69 63 | 68 20 63 6f 6e 74 72 6f |./* whic|h contro|
|000002f0| 6c 20 68 61 73 20 74 68 | 65 20 73 65 6c 65 63 74 |l has th|e select|
|00000300| 69 6f 6e 20 2a 2f 0d 09 | 73 74 72 75 63 74 20 46 |ion */..|struct F|
|00000310| 69 67 75 72 65 44 61 74 | 61 2a 09 4d 6f 75 73 65 |igureDat|a*.Mouse|
|00000320| 55 70 46 69 67 75 72 65 | 3b 09 09 2f 2a 20 77 68 |UpFigure|;../* wh|
|00000330| 69 63 68 20 63 6f 6e 74 | 72 6f 6c 20 6e 65 65 64 |ich cont|rol need|
|00000340| 73 20 61 20 6d 6f 75 73 | 65 75 70 20 2a 2f 0d 09 |s a mous|eup */..|
|00000350| 73 74 72 75 63 74 20 46 | 69 67 75 72 65 44 61 74 |struct F|igureDat|
|00000360| 61 2a 09 4d 6f 75 73 65 | 49 6e 46 69 67 75 72 65 |a*.Mouse|InFigure|
|00000370| 3b 09 09 2f 2a 20 77 68 | 69 63 68 20 63 6f 6e 74 |;../* wh|ich cont|
|00000380| 72 6f 6c 20 67 6f 74 20 | 61 20 6d 6f 75 73 65 20 |rol got |a mouse |
|00000390| 65 6e 74 65 72 20 77 69 | 74 68 6f 75 74 20 61 20 |enter wi|thout a |
|000003a0| 6c 65 61 76 65 20 2a 2f | 0d 0d 09 42 6f 6f 6c 65 |leave */|...Boole|
|000003b0| 61 6e 09 09 49 6e 42 61 | 63 6b 67 72 6f 75 6e 64 |an..InBa|ckground|
|000003c0| 3b 09 09 2f 2a 20 41 6d | 20 49 20 69 6e 20 74 68 |;../* Am| I in th|
|000003d0| 65 20 62 61 63 6b 67 72 | 6f 75 6e 64 3f 20 2a 2f |e backgr|ound? */|
|000003e0| 0d 09 42 6f 6f 6c 65 61 | 6e 09 09 4d 65 6e 75 42 |..Boolea|n..MenuB|
|000003f0| 61 72 44 69 72 74 79 3b | 09 09 2f 2a 20 64 6f 65 |arDirty;|../* doe|
|00000400| 73 20 74 68 65 20 6d 65 | 6e 75 20 62 61 72 20 6e |s the me|nu bar n|
|00000410| 65 65 64 20 74 6f 20 62 | 65 20 72 65 62 75 69 6c |eed to b|e rebuil|
|00000420| 64 20 2a 2f 0d 09 42 6f | 6f 6c 65 61 6e 09 09 51 |d */..Bo|olean..Q|
|00000430| 75 69 74 74 69 6e 67 3b | 0d 09 73 74 72 75 63 74 |uitting;|..struct|
|00000440| 20 44 6f 63 44 61 74 61 | 2a 09 44 6f 63 75 6d 65 | DocData|*.Docume|
|00000450| 6e 74 73 3b 0d 09 43 75 | 72 73 6f 72 54 79 70 65 |nts;..Cu|rsorType|
|00000460| 09 43 75 72 72 65 6e 74 | 43 75 72 73 6f 72 3b 0d |.Current|Cursor;.|
|00000470| 09 41 58 52 65 66 49 44 | 09 09 43 6c 69 65 6e 74 |.AXRefID|..Client|
|00000480| 49 44 3b 0d 7d 0d 41 70 | 70 44 61 74 61 2c 20 2a |ID;.}.Ap|pData, *|
|00000490| 41 70 70 44 61 74 61 50 | 74 72 3b 0d 0d 2f 2f 09 |AppDataP|tr;..//.|
|000004a0| 74 68 65 20 6f 6e 65 20 | 67 6c 6f 62 61 6c 0d 65 |the one |global.e|
|000004b0| 78 74 65 72 6e 20 41 70 | 70 44 61 74 61 09 09 67 |xtern Ap|pData..g|
|000004c0| 41 70 70 44 61 74 61 3b | 0d 0d 2f 2f 09 63 6f 6e |AppData;|..//.con|
|000004d0| 73 74 61 6e 74 73 0d 23 | 64 65 66 69 6e 65 20 42 |stants.#|define B|
|000004e0| 6f 72 64 65 72 57 69 64 | 74 68 20 2d 38 0d 23 64 |orderWid|th -8.#d|
|000004f0| 65 66 69 6e 65 20 53 63 | 72 6f 6c 6c 57 69 64 74 |efine Sc|rollWidt|
|00000500| 68 20 31 35 0d 0d 0d 74 | 79 70 65 64 65 66 20 65 |h 15...t|ypedef e|
|00000510| 6e 75 6d 0d 7b 0d 09 42 | 65 67 69 6e 43 6f 6e 74 |num.{..B|eginCont|
|00000520| 65 78 74 49 44 20 3d 20 | 30 2c 0d 09 57 69 6e 64 |extID = |0,..Wind|
|00000530| 6f 77 43 6f 6e 74 65 78 | 74 49 44 2c 0d 09 4f 66 |owContex|tID,..Of|
|00000540| 66 73 63 72 65 65 6e 43 | 6f 6e 74 65 78 74 49 44 |fscreenC|ontextID|
|00000550| 2c 0d 09 50 72 69 6e 74 | 43 6f 6e 74 65 78 74 49 |,..Print|ContextI|
|00000560| 44 2c 0d 09 45 6e 64 43 | 6f 6e 74 65 78 74 49 44 |D,..EndC|ontextID|
|00000570| 0d 7d 0d 53 69 6d 70 6c | 65 41 70 70 43 6f 6e 74 |.}.Simpl|eAppCont|
|00000580| 65 78 74 49 44 73 3b 0d | 0d 0d 76 6f 69 64 20 49 |extIDs;.|..void I|
|00000590| 6e 76 61 6c 46 69 67 75 | 72 65 28 73 74 72 75 63 |nvalFigu|re(struc|
|000005a0| 74 20 46 69 67 75 72 65 | 44 61 74 61 2a 20 69 6e |t Figure|Data* in|
|000005b0| 46 69 67 75 72 65 29 3b | 09 09 09 2f 2f 20 49 6e |Figure);|...// In|
|000005c0| 76 61 6c 69 64 61 74 65 | 20 74 68 65 20 63 6f 6e |validate| the con|
|000005d0| 74 72 6f 6c 20 72 65 63 | 74 20 66 6f 72 20 74 68 |trol rec|t for th|
|000005e0| 65 20 66 69 67 75 72 65 | 0d 76 6f 69 64 20 53 65 |e figure|.void Se|
|000005f0| 74 46 6f 63 75 73 46 69 | 67 75 72 65 28 73 74 72 |tFocusFi|gure(str|
|00000600| 75 63 74 20 46 69 67 75 | 72 65 44 61 74 61 2a 20 |uct Figu|reData* |
|00000610| 69 6e 46 69 67 75 72 65 | 29 3b 09 09 2f 2f 20 53 |inFigure|);..// S|
|00000620| 65 74 73 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |ets the |current |
|00000630| 66 6f 63 75 73 20 66 69 | 67 75 72 65 20 66 6f 72 |focus fi|gure for|
|00000640| 20 74 68 65 20 61 70 70 | 0d 76 6f 69 64 20 53 65 | the app|.void Se|
|00000650| 74 53 65 6c 65 63 74 65 | 64 46 69 67 75 72 65 28 |tSelecte|dFigure(|
|00000660| 73 74 72 75 63 74 20 46 | 69 67 75 72 65 44 61 74 |struct F|igureDat|
|00000670| 61 2a 20 69 6e 46 69 67 | 75 72 65 29 3b 09 2f 2f |a* inFig|ure);.//|
|00000680| 20 53 65 74 73 20 74 68 | 65 20 63 75 72 72 65 6e | Sets th|e curren|
|00000690| 74 20 66 6f 63 75 73 20 | 66 69 67 75 72 65 20 66 |t focus |figure f|
|000006a0| 6f 72 20 74 68 65 20 61 | 70 70 00 00 00 00 00 00 |or the a|pp......|
|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 |........|........|
|00000700| 00 00 01 00 00 00 01 7c | 00 00 00 7c 00 00 00 5e |.......||...|...^|
|00000710| 70 ff 20 78 18 8c 4e 90 | 20 2e ff f8 b0 9f 66 0c |p. x..N.| .....f.|
|00000720| 55 8f 2f 2e ff fc 70 08 | a8 2a 54 4f 2f 2e ff f2 |U./...p.|.*TO/...|
|00000730| 05 41 70 70 2e 68 02 00 | 00 00 50 61 72 74 53 49 |.App.h..|..PartSI|
|00000740| 54 21 00 00 00 00 00 00 | 00 00 00 00 6a a2 00 00 |T!......|....j...|
|00000750| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 b0 56 8e 35 00 00 | 00 00 00 00 01 da 00 10 |...V.5..|........|
|00000780| 48 c1 2f 01 2f 00 70 e5 | 20 78 18 8c 4e 90 3e 00 |H././.p.| x..N.>.|
|00000790| 41 ee ff f8 b1 cc 4f ef | 00 18 66 22 59 8f 70 1e |A.....O.|..f"Y.p.|
|000007a0| 3f 00 70 ff 20 78 18 8c | 4e 90 20 2e ff f8 b0 9f |?.p. x..|N. .....|
|000007b0| 66 0c 55 8f 2f 2e ff fc | 70 08 a8 2a 54 4f 3d 47 |f.U./...|p..*TO=G|
|000007c0| 00 12 4c ee 10 80 ff f0 | 4e 5e 4e 74 00 0a 4e 56 |..L.....|N^Nt..NV|
|000007d0| ff f8 48 e7 01 18 26 6e | 00 16 28 6e 00 08 20 0b |..H...&n|..(n.. .|
|000007e0| 66 08 3d 7c ff ce 00 1a | 60 6c b9 fc ff ff ff ff |f.=|....|`l......|
|000007f0| 66 10 48 6e ff f8 70 b2 | 20 78 18 8c 4e 90 28 40 |f.Hn..p.| x..N.(@|
|00000800| 00 00 00 1e 00 58 01 27 | 03 ef 03 87 00 58 01 27 |.....X.'|.....X.'|
|00000810| 03 ef 03 87 00 00 00 6f | 00 00 00 00 00 00 00 00 |.......o|........|
|00000820| 00 00 00 00 00 48 00 09 | 4d 6f 6e 61 63 6f 00 00 |.....H..|Monaco..|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 03 00 04 00 5c 00 0a |........|.....\..|
|00000850| 02 f2 03 0b 00 5c 00 0a | 02 f2 03 0b af fa 82 76 |.....\..|.......v|
|00000860| 00 00 04 03 00 00 04 03 | 00 00 00 00 01 00 00 00 |........|........|
|00000870| 00 02 00 00 00 00 00 04 | 00 01 00 01 00 00 01 00 |........|........|
|00000880| 00 00 01 7c 00 00 00 7c | 00 00 00 5e 03 9f d7 4c |...|...||...^...L|
|00000890| 1c a6 00 00 00 1c 00 5e | 00 01 4d 50 53 52 00 02 |.......^|..MPSR..|
|000008a0| 00 12 4d 57 42 42 00 00 | 00 36 03 f0 ff ff 00 00 |..MWBB..|.6......|
|000008b0| 00 00 00 00 00 00 03 ed | ff ff 00 00 00 22 00 00 |........|....."..|
|000008c0| 00 00 03 ef ff ff 00 00 | 00 6e 00 00 00 00 03 f0 |........|.n......|
|000008d0| ff ff 00 00 00 74 00 00 | 00 00 00 00 00 00 00 00 |.....t..|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+