home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| C source text
| default
| |
98%
| file
| C source, ISO-8859 text
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 4c 69 73 74 2e 6d 75 |\section|{List.mu|
|00000010| 69 7d 0a 0a 4d 55 49 27 | 73 20 6c 69 73 74 20 63 |i}..MUI'|s list c|
|00000020| 6c 61 73 73 20 69 73 20 | 76 65 72 79 20 70 6f 77 |lass is |very pow|
|00000030| 65 72 66 75 6c 2e 20 49 | 74 20 68 61 6e 64 6c 65 |erful. I|t handle|
|00000040| 73 20 61 6c 6c 20 74 79 | 70 65 73 0a 6f 66 20 65 |s all ty|pes.of e|
|00000050| 6e 74 72 69 65 73 2c 20 | 66 72 6f 6d 20 61 20 73 |ntries, |from a s|
|00000060| 69 6d 70 6c 65 20 73 74 | 72 69 6e 67 20 74 6f 20 |imple st|ring to |
|00000070| 61 20 63 6f 6d 70 6c 69 | 63 61 74 65 64 20 73 74 |a compli|cated st|
|00000080| 72 75 63 74 75 72 65 0a | 77 69 74 68 20 6d 61 6e |ructure.|with man|
|00000090| 79 20 61 73 73 6f 63 69 | 61 74 65 64 20 72 65 73 |y associ|ated res|
|000000a0| 6f 75 72 63 65 73 2e 20 | 4d 75 6c 74 69 20 63 6f |ources. |Multi co|
|000000b0| 6c 75 6d 6e 20 6c 69 73 | 74 73 20 61 72 65 0a 61 |lumn lis|ts are.a|
|000000c0| 6c 73 6f 20 73 75 70 70 | 6f 72 74 65 64 2c 20 74 |lso supp|orted, t|
|000000d0| 68 65 20 66 6f 72 6d 61 | 74 20 66 6f 72 20 61 20 |he forma|t for a |
|000000e0| 63 6f 6c 75 6d 6e 20 69 | 73 20 61 64 6a 75 73 74 |column i|s adjust|
|000000f0| 61 62 6c 65 2e 0a 0a 4c | 69 73 74 73 20 73 75 70 |able...L|ists sup|
|00000100| 70 6f 72 74 20 61 6e 79 | 20 6b 69 6e 64 20 6f 66 |port any| kind of|
|00000110| 20 73 6f 72 74 69 6e 67 | 2c 20 6d 75 6c 74 69 20 | sorting|, multi |
|00000120| 73 65 6c 65 63 74 69 6f | 6e 20 61 6e 64 0a 61 6e |selectio|n and.an|
|00000130| 20 61 63 74 69 76 65 20 | 65 6e 74 72 79 20 74 68 | active |entry th|
|00000140| 61 74 20 63 61 6e 20 62 | 65 20 63 6f 6e 74 72 6f |at can b|e contro|
|00000150| 6c 6c 65 64 20 77 69 74 | 68 20 74 68 65 20 6d 6f |lled wit|h the mo|
|00000160| 75 73 65 0a 6f 72 20 74 | 68 65 20 63 75 72 73 6f |use.or t|he curso|
|00000170| 72 20 6b 65 79 73 2e 0a | 0a 4e 6f 74 65 3a 20 41 |r keys..|.Note: A|
|00000180| 20 6c 69 73 74 20 6f 62 | 6a 65 63 74 20 61 6c 6f | list ob|ject alo|
|00000190| 6e 65 20 64 6f 65 73 6e | 27 74 20 6d 61 6b 65 20 |ne doesn|'t make |
|000001a0| 6d 75 63 68 20 73 65 6e | 73 65 2c 20 79 6f 75 0a |much sen|se, you.|
|000001b0| 73 68 6f 75 6c 64 20 61 | 6c 77 61 79 73 20 75 73 |should a|lways us|
|000001c0| 65 20 69 74 20 61 73 20 | 63 68 69 6c 64 20 6f 66 |e it as |child of|
|000001d0| 20 61 20 6c 69 73 74 76 | 69 65 77 20 6f 62 6a 65 | a listv|iew obje|
|000001e0| 63 74 2e 0a 54 68 69 73 | 20 6f 6e 65 20 61 74 74 |ct..This| one att|
|000001f0| 61 63 68 65 73 20 61 20 | 73 63 72 6f 6c 6c 62 61 |aches a |scrollba|
|00000200| 72 20 61 6e 64 20 68 61 | 6e 64 6c 65 73 20 61 6c |r and ha|ndles al|
|00000210| 6c 20 75 73 65 72 0a 69 | 6e 70 75 74 2e 0a 0a 5c |l user.i|nput...\|
|00000220| 73 75 62 73 65 63 74 69 | 6f 6e 5b 4d 55 49 4d 5c |subsecti|on[MUIM\|
|00000230| 5f 4c 69 73 74 5c 5f 43 | 6c 65 61 72 5d 7b 4d 55 |_List\_C|lear]{MU|
|00000240| 49 4d 5c 5f 4c 69 73 74 | 5c 5f 43 6c 65 61 72 20 |IM\_List|\_Clear |
|00000250| 28 56 34 29 7d 0a 0a 5c | 73 75 62 73 75 62 73 65 |(V4)}..\|subsubse|
|00000260| 63 74 69 6f 6e 2a 7b 53 | 59 4e 4f 50 53 49 53 7d |ction*{S|YNOPSIS}|
|00000270| 0a 44 6f 4d 65 74 68 6f | 64 28 6f 62 6a 2c 4d 55 |.DoMetho|d(obj,MU|
|00000280| 49 4d 5c 5f 4c 69 73 74 | 5c 5f 43 6c 65 61 72 2c |IM\_List|\_Clear,|
|00000290| 29 3b 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |);..\sub|subsecti|
|000002a0| 6f 6e 2a 7b 46 55 4e 43 | 54 49 4f 4e 7d 0a 43 6c |on*{FUNC|TION}.Cl|
|000002b0| 65 61 72 20 74 68 65 20 | 6c 69 73 74 2c 20 61 6c |ear the |list, al|
|000002c0| 6c 20 65 6e 74 72 69 65 | 73 20 61 72 65 20 72 65 |l entrie|s are re|
|000002d0| 6d 6f 76 65 64 2e 20 49 | 66 20 61 20 64 65 73 74 |moved. I|f a dest|
|000002e0| 72 75 63 74 0a 68 6f 6f | 6b 20 69 73 20 73 65 74 |ruct.hoo|k is set|
|000002f0| 20 69 74 20 77 69 6c 6c | 20 62 65 20 63 61 6c 6c | it will| be call|
|00000300| 65 64 20 66 6f 72 20 65 | 76 65 72 79 20 65 6e 74 |ed for e|very ent|
|00000310| 72 79 2e 0a 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |ry...\su|bsubsect|
|00000320| 69 6f 6e 2a 7b 53 45 45 | 20 41 4c 53 4f 7d 0a 4d |ion*{SEE| ALSO}.M|
|00000330| 55 49 4d 5c 5f 4c 69 73 | 74 5c 5f 49 6e 73 65 72 |UIM\_Lis|t\_Inser|
|00000340| 74 2c 20 4d 55 49 41 5c | 5f 4c 69 73 74 5c 5f 44 |t, MUIA\|_List\_D|
|00000350| 65 73 74 72 75 63 74 48 | 6f 6f 6b 0a 0a 5c 73 75 |estructH|ook..\su|
|00000360| 62 73 65 63 74 69 6f 6e | 5b 4d 55 49 4d 5c 5f 4c |bsection|[MUIM\_L|
|00000370| 69 73 74 5c 5f 45 78 63 | 68 61 6e 67 65 5d 7b 4d |ist\_Exc|hange]{M|
|00000380| 55 49 4d 5c 5f 4c 69 73 | 74 5c 5f 45 78 63 68 61 |UIM\_Lis|t\_Excha|
|00000390| 6e 67 65 20 28 56 34 29 | 7d 0a 0a 5c 73 75 62 73 |nge (V4)|}..\subs|
|000003a0| 75 62 73 65 63 74 69 6f | 6e 2a 7b 53 59 4e 4f 50 |ubsectio|n*{SYNOP|
|000003b0| 53 49 53 7d 0a 44 6f 4d | 65 74 68 6f 64 28 6f 62 |SIS}.DoM|ethod(ob|
|000003c0| 6a 2c 4d 55 49 4d 5c 5f | 4c 69 73 74 5c 5f 45 78 |j,MUIM\_|List\_Ex|
|000003d0| 63 68 61 6e 67 65 2c 4c | 4f 4e 47 20 70 6f 73 31 |change,L|ONG pos1|
|000003e0| 2c 20 4c 4f 4e 47 20 70 | 6f 73 32 29 3b 0a 0a 5c |, LONG p|os2);..\|
|000003f0| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 46 |subsubse|ction*{F|
|00000400| 55 4e 43 54 49 4f 4e 7d | 0a 45 78 63 68 61 6e 67 |UNCTION}|.Exchang|
|00000410| 65 20 74 77 6f 20 65 6e | 74 72 69 65 73 20 69 6e |e two en|tries in|
|00000420| 20 61 20 6c 69 73 74 2e | 0a 0a 5c 73 75 62 73 75 | a list.|..\subsu|
|00000430| 62 73 65 63 74 69 6f 6e | 2a 7b 49 4e 50 55 54 53 |bsection|*{INPUTS|
|00000440| 7d 0a 5c 62 65 67 69 6e | 7b 64 65 73 63 72 69 70 |}.\begin|{descrip|
|00000450| 74 69 6f 6e 7d 0a 5c 69 | 74 65 6d 5b 70 6f 73 31 |tion}.\i|tem[pos1|
|00000460| 5d 20 2d 20 6e 75 6d 62 | 65 72 20 6f 66 20 74 68 |] - numb|er of th|
|00000470| 65 20 66 69 72 73 74 20 | 65 6e 74 72 79 2e 0a 5c |e first |entry..\|
|00000480| 69 74 65 6d 5b 70 6f 73 | 32 5d 20 2d 20 6e 75 6d |item[pos|2] - num|
|00000490| 62 65 72 20 6f 66 20 74 | 68 65 20 73 65 63 6f 6e |ber of t|he secon|
|000004a0| 64 20 65 6e 74 72 79 2e | 0a 5c 65 6e 64 7b 64 65 |d entry.|.\end{de|
|000004b0| 73 63 72 69 70 74 69 6f | 6e 7d 0a 0a 50 6f 73 73 |scriptio|n}..Poss|
|000004c0| 69 62 6c 65 20 73 70 65 | 63 69 61 6c 20 76 61 6c |ible spe|cial val|
|000004d0| 75 65 73 20 73 69 6e 63 | 65 20 6d 75 69 6d 61 73 |ues sinc|e muimas|
|000004e0| 74 65 72 2e 6c 69 62 72 | 61 72 79 20 56 39 3a 0a |ter.libr|ary V9:.|
|000004f0| 0a 5c 62 65 67 69 6e 7b | 63 65 6e 74 65 72 7d 20 |.\begin{|center} |
|00000500| 5c 62 65 67 69 6e 7b 74 | 61 62 75 6c 61 72 7d 7b |\begin{t|abular}{|
|00000510| 6c 72 6c 7d 0a 4d 55 49 | 56 5c 5f 4c 69 73 74 5c |lrl}.MUI|V\_List\|
|00000520| 5f 45 78 63 68 61 6e 67 | 65 5c 5f 54 6f 70 20 20 |_Exchang|e\_Top |
|00000530| 20 20 26 20 20 20 30 26 | 5c 5c 0a 4d 55 49 56 5c | & 0&|\\.MUIV\|
|00000540| 5f 4c 69 73 74 5c 5f 45 | 78 63 68 61 6e 67 65 5c |_List\_E|xchange\|
|00000550| 5f 41 63 74 69 76 65 20 | 20 26 20 2d 31 26 5c 5c |_Active | & -1&\\|
|00000560| 0a 4d 55 49 56 5c 5f 4c | 69 73 74 5c 5f 45 78 63 |.MUIV\_L|ist\_Exc|
|00000570| 68 61 6e 67 65 5c 5f 42 | 6f 74 74 6f 6d 20 26 20 |hange\_B|ottom & |
|00000580| 20 2d 32 26 5c 5c 0a 4d | 55 49 56 5c 5f 4c 69 73 | -2&\\.M|UIV\_Lis|
|00000590| 74 5c 5f 45 78 63 68 61 | 6e 67 65 5c 5f 4e 65 78 |t\_Excha|nge\_Nex|
|000005a0| 74 20 20 20 26 20 20 2d | 33 26 20 2f 24 5c 61 73 |t & -|3& /$\as|
|000005b0| 74 24 20 6f 6e 6c 79 20 | 76 61 6c 69 64 20 66 6f |t$ only |valid fo|
|000005c0| 72 20 73 65 63 6f 6e 64 | 20 70 61 72 61 6d 65 74 |r second| paramet|
|000005d0| 65 72 20 24 5c 61 73 74 | 24 2f 5c 5c 0a 4d 55 49 |er $\ast|$/\\.MUI|
|000005e0| 56 5c 5f 4c 69 73 74 5c | 5f 45 78 63 68 61 6e 67 |V\_List\|_Exchang|
|000005f0| 65 5c 5f 50 72 65 76 69 | 6f 75 73 26 20 2d 34 26 |e\_Previ|ous& -4&|
|00000600| 20 2f 24 5c 61 73 74 24 | 20 6f 6e 6c 79 20 76 61 | /$\ast$| only va|
|00000610| 6c 69 64 20 66 6f 72 20 | 73 65 63 6f 6e 64 20 70 |lid for |second p|
|00000620| 61 72 61 6d 65 74 65 72 | 20 24 5c 61 73 74 24 2f |arameter| $\ast$/|
|00000630| 20 5c 5c 0a 5c 65 6e 64 | 7b 74 61 62 75 6c 61 72 | \\.\end|{tabular|
|00000640| 7d 20 5c 65 6e 64 7b 63 | 65 6e 74 65 72 7d 0a 20 |} \end{c|enter}. |
|00000650| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|00000660| 7b 53 45 45 20 41 4c 53 | 4f 7d 0a 4d 55 49 4d 5c |{SEE ALS|O}.MUIM\|
|00000670| 5f 4c 69 73 74 5c 5f 49 | 6e 73 65 72 74 2c 20 4d |_List\_I|nsert, M|
|00000680| 55 49 4d 5c 5f 4c 69 73 | 74 5c 5f 52 65 6d 6f 76 |UIM\_Lis|t\_Remov|
|00000690| 65 2c 20 4d 55 49 4d 5c | 5f 4c 69 73 74 5c 5f 4d |e, MUIM\|_List\_M|
|000006a0| 6f 76 65 0a 0a 5c 73 75 | 62 73 65 63 74 69 6f 6e |ove..\su|bsection|
|000006b0| 5b 4d 55 49 4d 5c 5f 4c | 69 73 74 5c 5f 47 65 74 |[MUIM\_L|ist\_Get|
|000006c0| 45 6e 74 72 79 5d 7b 4d | 55 49 4d 5c 5f 4c 69 73 |Entry]{M|UIM\_Lis|
|000006d0| 74 5c 5f 47 65 74 45 6e | 74 72 79 20 28 56 34 29 |t\_GetEn|try (V4)|
|000006e0| 7d 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |}..\subs|ubsectio|
|000006f0| 6e 2a 7b 53 59 4e 4f 50 | 53 49 53 7d 0a 44 6f 4d |n*{SYNOP|SIS}.DoM|
|00000700| 65 74 68 6f 64 28 6f 62 | 6a 2c 4d 55 49 4d 5c 5f |ethod(ob|j,MUIM\_|
|00000710| 4c 69 73 74 5c 5f 47 65 | 74 45 6e 74 72 79 2c 4c |List\_Ge|tEntry,L|
|00000720| 4f 4e 47 20 70 6f 73 2c | 20 41 50 54 52 20 24 5c |ONG pos,| APTR $\|
|00000730| 61 73 74 24 65 6e 74 72 | 79 29 3b 0a 0a 5c 73 75 |ast$entr|y);..\su|
|00000740| 62 73 75 62 73 65 63 74 | 69 6f 6e 2a 7b 46 55 4e |bsubsect|ion*{FUN|
|00000750| 43 54 49 4f 4e 7d 0a 47 | 65 74 20 61 6e 20 65 6e |CTION}.G|et an en|
|00000760| 74 72 79 20 6f 66 20 61 | 20 6c 69 73 74 2e 0a 0a |try of a| list...|
|00000770| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|00000780| 49 4e 50 55 54 53 7d 0a | 5c 62 65 67 69 6e 7b 64 |INPUTS}.|\begin{d|
|00000790| 65 73 63 72 69 70 74 69 | 6f 6e 7d 0a 5c 69 74 65 |escripti|on}.\ite|
|000007a0| 6d 5b 70 6f 73 5d 20 20 | 20 2d 20 4e 75 6d 62 65 |m[pos] | - Numbe|
|000007b0| 72 20 6f 66 20 65 6e 74 | 72 79 2c 20 4d 55 49 56 |r of ent|ry, MUIV|
|000007c0| 5c 5f 4c 69 73 74 5c 5f | 47 65 74 45 6e 74 72 79 |\_List\_|GetEntry|
|000007d0| 5c 5f 41 63 74 69 76 65 | 20 63 61 6e 0a 62 65 20 |\_Active| can.be |
|000007e0| 75 73 65 64 20 74 6f 20 | 67 65 74 20 74 68 65 20 |used to |get the |
|000007f0| 61 63 74 69 76 65 20 65 | 6e 74 72 79 2e 0a 0a 5c |active e|ntry...\|
|00000800| 69 74 65 6d 5b 65 6e 74 | 72 79 5d 20 2d 20 50 6f |item[ent|ry] - Po|
|00000810| 69 6e 74 65 72 20 74 6f | 20 61 20 6c 6f 6e 67 77 |inter to| a longw|
|00000820| 6f 72 64 20 77 68 65 72 | 65 20 74 68 65 20 65 6e |ord wher|e the en|
|00000830| 74 72 79 20 77 69 6c 6c | 0a 62 65 20 73 74 6f 72 |try will|.be stor|
|00000840| 65 64 2e 20 49 66 20 74 | 68 65 20 65 6e 74 72 79 |ed. If t|he entry|
|00000850| 20 69 73 20 6e 6f 74 20 | 61 76 61 69 6c 61 62 6c | is not |availabl|
|00000860| 65 0a 28 65 69 74 68 65 | 72 20 62 65 63 61 75 73 |e.(eithe|r becaus|
|00000870| 65 20 79 6f 75 20 61 72 | 65 20 6f 75 74 20 6f 66 |e you ar|e out of|
|00000880| 20 62 6f 75 6e 64 73 20 | 6f 72 0a 62 65 63 61 75 | bounds |or.becau|
|00000890| 73 65 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 61 |se there| is no a|
|000008a0| 63 74 69 76 65 20 65 6e | 74 72 79 29 2c 20 79 6f |ctive en|try), yo|
|000008b0| 75 20 77 69 6c 6c 0a 72 | 65 63 65 69 76 65 20 61 |u will.r|eceive a|
|000008c0| 20 4e 55 4c 4c 2e 0a 5c | 65 6e 64 7b 64 65 73 63 | NULL..\|end{desc|
|000008d0| 72 69 70 74 69 6f 6e 7d | 0a 20 20 20 0a 5c 73 75 |ription}|. .\su|
|000008e0| 62 73 75 62 73 65 63 74 | 69 6f 6e 2a 7b 45 58 41 |bsubsect|ion*{EXA|
|000008f0| 4d 50 4c 45 7d 0a 5c 73 | 6d 61 6c 6c 0a 5c 62 65 |MPLE}.\s|mall.\be|
|00000900| 67 69 6e 7b 76 65 72 62 | 61 74 69 6d 7d 0a 2f 2a |gin{verb|atim}./*|
|00000910| 20 69 74 65 72 61 74 65 | 20 74 68 72 6f 75 67 68 | iterate| through|
|00000920| 20 61 20 6c 69 73 74 20 | 63 6f 6e 74 61 69 6e 69 | a list |containi|
|00000930| 6e 67 20 66 69 6c 65 20 | 69 6e 66 6f 20 62 6c 6f |ng file |info blo|
|00000940| 63 6b 73 20 2a 2f 0a 0a | 66 6f 72 20 28 69 3d 30 |cks */..|for (i=0|
|00000950| 3b 3b 69 2b 2b 29 0a 7b | 0a 20 20 20 20 73 74 72 |;;i++).{|. str|
|00000960| 75 63 74 20 46 69 6c 65 | 49 6e 66 6f 42 6c 6f 63 |uct File|InfoBloc|
|00000970| 6b 20 2a 66 69 62 3b 0a | 0a 20 20 20 20 44 6f 4d |k *fib;.|. DoM|
|00000980| 65 74 68 6f 64 28 6c 69 | 73 74 2c 4d 55 49 4d 5f |ethod(li|st,MUIM_|
|00000990| 4c 69 73 74 5f 47 65 74 | 45 6e 74 72 79 2c 69 2c |List_Get|Entry,i,|
|000009a0| 26 66 69 62 29 3b 0a 20 | 20 20 20 69 66 20 28 21 |&fib);. | if (!|
|000009b0| 66 69 62 29 20 62 72 65 | 61 6b 3b 0a 0a 20 20 20 |fib) bre|ak;.. |
|000009c0| 20 70 72 69 6e 74 66 28 | 22 25 73 5c 6e 22 2c 66 | printf(|"%s\n",f|
|000009d0| 69 62 2d 3e 66 69 62 5f | 46 69 6c 65 4e 61 6d 65 |ib->fib_|FileName|
|000009e0| 29 3b 0a 7d 0a 0a 5c 65 | 6e 64 7b 76 65 72 62 61 |);.}..\e|nd{verba|
|000009f0| 74 69 6d 7d 0a 5c 6e 6f | 72 6d 61 6c 73 69 7a 65 |tim}.\no|rmalsize|
|00000a00| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|00000a10| 7b 53 45 45 20 41 4c 53 | 4f 7d 0a 4d 55 49 4d 5c |{SEE ALS|O}.MUIM\|
|00000a20| 5f 4c 69 73 74 5c 5f 49 | 6e 73 65 72 74 2c 20 4d |_List\_I|nsert, M|
|00000a30| 55 49 4d 5c 5f 4c 69 73 | 74 5c 5f 52 65 6d 6f 76 |UIM\_Lis|t\_Remov|
|00000a40| 65 0a 0a 5c 73 75 62 73 | 65 63 74 69 6f 6e 5b 4d |e..\subs|ection[M|
|00000a50| 55 49 4d 5c 5f 4c 69 73 | 74 5c 5f 49 6e 73 65 72 |UIM\_Lis|t\_Inser|
|00000a60| 74 5d 7b 4d 55 49 4d 5c | 5f 4c 69 73 74 5c 5f 49 |t]{MUIM\|_List\_I|
|00000a70| 6e 73 65 72 74 20 28 56 | 34 29 7d 0a 0a 5c 73 75 |nsert (V|4)}..\su|
|00000a80| 62 73 75 62 73 65 63 74 | 69 6f 6e 2a 7b 53 59 4e |bsubsect|ion*{SYN|
|00000a90| 4f 50 53 49 53 7d 0a 44 | 6f 4d 65 74 68 6f 64 28 |OPSIS}.D|oMethod(|
|00000aa0| 6f 62 6a 2c 4d 55 49 4d | 5c 5f 4c 69 73 74 5c 5f |obj,MUIM|\_List\_|
|00000ab0| 49 6e 73 65 72 74 2c 41 | 50 54 52 20 24 5c 61 73 |Insert,A|PTR $\as|
|00000ac0| 74 24 65 6e 74 72 69 65 | 73 2c 20 4c 4f 4e 47 20 |t$entrie|s, LONG |
|00000ad0| 63 6f 75 6e 74 2c 20 4c | 4f 4e 47 20 70 6f 73 29 |count, L|ONG pos)|
|00000ae0| 3b 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |;..\subs|ubsectio|
|00000af0| 6e 2a 7b 46 55 4e 43 54 | 49 4f 4e 7d 0a 49 6e 73 |n*{FUNCT|ION}.Ins|
|00000b00| 65 72 74 20 6e 65 77 20 | 65 6e 74 72 69 65 73 20 |ert new |entries |
|00000b10| 69 6e 74 6f 20 61 20 6c | 69 73 74 2e 0a 57 68 65 |into a l|ist..Whe|
|00000b20| 6e 20 74 68 65 20 6c 69 | 73 74 20 68 61 73 20 61 |n the li|st has a|
|00000b30| 20 63 6f 6e 73 74 72 75 | 63 74 20 68 6f 6f 6b 2c | constru|ct hook,|
|00000b40| 20 74 68 65 20 67 69 76 | 65 6e 20 70 6f 69 6e 74 | the giv|en point|
|00000b50| 65 72 73 0a 77 6f 6e 27 | 74 20 62 65 20 69 6e 73 |ers.won'|t be ins|
|00000b60| 65 72 74 65 64 20 64 69 | 72 65 63 74 6c 79 20 62 |erted di|rectly b|
|00000b70| 75 74 20 69 6e 73 74 65 | 61 64 20 70 61 73 73 65 |ut inste|ad passe|
|00000b80| 64 20 74 68 72 6f 75 67 | 68 0a 74 6f 20 74 68 65 |d throug|h.to the|
|00000b90| 20 63 6f 6e 73 74 72 75 | 63 74 20 68 6f 6f 6b 2e | constru|ct hook.|
|00000ba0| 0a 0a 5c 73 75 62 73 75 | 62 73 65 63 74 69 6f 6e |..\subsu|bsection|
|00000bb0| 2a 7b 49 4e 50 55 54 53 | 7d 0a 5c 62 65 67 69 6e |*{INPUTS|}.\begin|
|00000bc0| 7b 64 65 73 63 72 69 70 | 74 69 6f 6e 7d 0a 5c 69 |{descrip|tion}.\i|
|00000bd0| 74 65 6d 5b 65 6e 74 72 | 69 65 73 5d 20 2d 20 70 |tem[entr|ies] - p|
|00000be0| 6f 69 6e 74 65 72 20 74 | 6f 20 61 6e 20 61 72 72 |ointer t|o an arr|
|00000bf0| 61 79 20 6f 66 20 70 6f | 69 6e 74 65 72 73 20 74 |ay of po|inters t|
|00000c00| 6f 20 62 65 20 69 6e 73 | 65 72 74 65 64 2e 0a 57 |o be ins|erted..W|
|00000c10| 61 72 6e 69 6e 67 3a 20 | 54 68 69 73 20 69 73 20 |arning: |This is |
|00000c20| 61 20 70 6f 69 6e 74 65 | 72 20 74 6f 20 61 20 70 |a pointe|r to a p|
|00000c30| 6f 69 6e 74 65 72 2e 20 | 53 65 65 0a 65 78 61 6d |ointer. |See.exam|
|00000c40| 70 6c 65 20 66 6f 72 20 | 64 65 74 61 69 6c 73 2e |ple for |details.|
|00000c50| 0a 0a 5c 69 74 65 6d 5b | 63 6f 75 6e 74 5d 20 20 |..\item[|count] |
|00000c60| 20 2d 20 4e 75 6d 62 65 | 72 20 6f 66 20 65 6c 65 | - Numbe|r of ele|
|00000c70| 6d 65 6e 74 73 20 74 6f | 20 62 65 20 69 6e 73 65 |ments to| be inse|
|00000c80| 72 74 65 64 2e 20 49 66 | 20 63 6f 75 6e 74 3d 3d |rted. If| count==|
|00000c90| 2d 31 2c 0a 65 6e 74 72 | 69 65 73 20 77 69 6c 6c |-1,.entr|ies will|
|00000ca0| 20 62 65 20 69 6e 73 65 | 72 74 65 64 20 75 6e 74 | be inse|rted unt|
|00000cb0| 69 6c 20 4e 55 4c 4c 20 | 70 6f 69 6e 74 65 72 20 |il NULL |pointer |
|00000cc0| 69 6e 0a 74 68 65 20 65 | 6e 74 72 69 65 73 20 61 |in.the e|ntries a|
|00000cd0| 72 72 61 79 20 69 73 20 | 66 6f 75 6e 64 2e 0a 0a |rray is |found...|
|00000ce0| 5c 69 74 65 6d 5b 70 6f | 73 5d 20 20 20 20 20 2d |\item[po|s] -|
|00000cf0| 20 4e 65 77 20 65 6e 74 | 72 69 65 73 20 77 69 6c | New ent|ries wil|
|00000d00| 6c 20 62 65 20 61 64 64 | 65 64 20 69 6e 20 66 72 |l be add|ed in fr|
|00000d10| 6f 6e 74 20 6f 66 20 74 | 68 69 73 20 65 6e 74 72 |ont of t|his entr|
|00000d20| 79 2e 0a 5c 62 65 67 69 | 6e 7b 63 65 6e 74 65 72 |y..\begi|n{center|
|00000d30| 7d 20 5c 62 65 67 69 6e | 7b 74 61 62 75 6c 61 72 |} \begin|{tabular|
|00000d40| 7d 7b 6c 6c 7d 0a 4d 55 | 49 56 5c 5f 4c 69 73 74 |}{ll}.MU|IV\_List|
|00000d50| 5c 5f 49 6e 73 65 72 74 | 5c 5f 54 6f 70 3a 20 26 |\_Insert|\_Top: &|
|00000d60| 69 6e 73 65 72 74 20 61 | 73 20 66 69 72 73 74 20 |insert a|s first |
|00000d70| 65 6e 74 72 79 2e 5c 5c | 0a 4d 55 49 56 5c 5f 4c |entry.\\|.MUIV\_L|
|00000d80| 69 73 74 5c 5f 49 6e 73 | 65 72 74 5c 5f 41 63 74 |ist\_Ins|ert\_Act|
|00000d90| 69 76 65 3a 26 20 69 6e | 73 65 72 74 20 69 6e 20 |ive:& in|sert in |
|00000da0| 66 72 6f 6e 74 20 6f 66 | 20 74 68 65 20 61 63 74 |front of| the act|
|00000db0| 69 76 65 20 65 6e 74 72 | 79 2e 5c 5c 0a 4d 55 49 |ive entr|y.\\.MUI|
|00000dc0| 56 5c 5f 4c 69 73 74 5c | 5f 49 6e 73 65 72 74 5c |V\_List\|_Insert\|
|00000dd0| 5f 53 6f 72 74 65 64 3a | 26 20 69 6e 73 65 72 74 |_Sorted:|& insert|
|00000de0| 20 73 6f 72 74 65 64 2e | 5c 5c 0a 4d 55 49 56 5c | sorted.|\\.MUIV\|
|00000df0| 5f 4c 69 73 74 5c 5f 49 | 6e 73 65 72 74 5c 5f 42 |_List\_I|nsert\_B|
|00000e00| 6f 74 74 6f 6d 3a 26 20 | 69 6e 73 65 72 74 20 61 |ottom:& |insert a|
|00000e10| 73 20 6c 61 73 74 20 65 | 6e 74 72 79 2e 5c 5c 0a |s last e|ntry.\\.|
|00000e20| 5c 65 6e 64 7b 74 61 62 | 75 6c 61 72 7d 20 5c 65 |\end{tab|ular} \e|
|00000e30| 6e 64 7b 63 65 6e 74 65 | 72 7d 0a 5c 65 6e 64 7b |nd{cente|r}.\end{|
|00000e40| 64 65 73 63 72 69 70 74 | 69 6f 6e 7d 0a 0a 5c 73 |descript|ion}..\s|
|00000e50| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 45 58 |ubsubsec|tion*{EX|
|00000e60| 41 4d 50 4c 45 7d 0a 5c | 73 6d 61 6c 6c 0a 5c 62 |AMPLE}.\|small.\b|
|00000e70| 65 67 69 6e 7b 76 65 72 | 62 61 74 69 6d 7d 0a 2f |egin{ver|batim}./|
|00000e80| 2a 20 69 6e 73 65 72 74 | 20 61 20 73 74 72 69 6e |* insert| a strin|
|00000e90| 67 20 2a 2f 0a 63 68 61 | 72 20 2a 73 74 72 20 3d |g */.cha|r *str =|
|00000ea0| 20 22 4e 65 77 20 65 6e | 74 72 79 22 3b 0a 44 6f | "New en|try";.Do|
|00000eb0| 4d 65 74 68 6f 64 28 6c | 69 73 74 2c 4d 55 49 4d |Method(l|ist,MUIM|
|00000ec0| 5f 4c 69 73 74 5f 49 6e | 73 65 72 74 2c 26 73 74 |_List_In|sert,&st|
|00000ed0| 72 2c 31 2c 4d 55 49 56 | 5f 4c 69 73 74 5f 49 6e |r,1,MUIV|_List_In|
|00000ee0| 73 65 72 74 5f 42 6f 74 | 74 6f 6d 29 3b 0a 0a 2f |sert_Bot|tom);../|
|00000ef0| 2a 20 69 6e 73 65 72 74 | 20 61 6e 20 61 72 72 61 |* insert| an arra|
|00000f00| 79 20 2a 2f 0a 63 68 61 | 72 20 2a 73 74 72 5b 5d |y */.cha|r *str[]|
|00000f10| 20 3d 0a 7b 0a 20 20 20 | 22 45 6e 74 72 79 20 31 | =.{. |"Entry 1|
|00000f20| 22 2c 0a 20 20 20 22 45 | 6e 74 72 79 20 32 22 2c |",. "E|ntry 2",|
|00000f30| 0a 20 20 20 22 45 6e 74 | 72 79 20 33 22 2c 0a 20 |. "Ent|ry 3",. |
|00000f40| 20 20 22 45 6e 74 72 79 | 20 34 22 2c 0a 20 20 20 | "Entry| 4",. |
|00000f50| 4e 55 4c 4c 0a 7d 3b 0a | 44 6f 4d 65 74 68 6f 64 |NULL.};.|DoMethod|
|00000f60| 28 6c 69 73 74 2c 4d 55 | 49 4d 5f 4c 69 73 74 5f |(list,MU|IM_List_|
|00000f70| 49 6e 73 65 72 74 2c 73 | 74 72 2c 2d 31 2c 4d 55 |Insert,s|tr,-1,MU|
|00000f80| 49 56 5f 4c 69 73 74 5f | 49 6e 73 65 72 74 5f 42 |IV_List_|Insert_B|
|00000f90| 6f 74 74 6f 6d 29 3b 0a | 0a 5c 65 6e 64 7b 76 65 |ottom);.|.\end{ve|
|00000fa0| 72 62 61 74 69 6d 7d 0a | 5c 6e 6f 72 6d 61 6c 73 |rbatim}.|\normals|
|00000fb0| 69 7a 65 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |ize.\sub|subsecti|
|00000fc0| 6f 6e 2a 7b 53 45 45 20 | 41 4c 53 4f 7d 0a 4d 55 |on*{SEE |ALSO}.MU|
|00000fd0| 49 4d 5c 5f 4c 69 73 74 | 5c 5f 52 65 6d 6f 76 65 |IM\_List|\_Remove|
|00000fe0| 2c 20 4d 55 49 41 5c 5f | 4c 69 73 74 5c 5f 43 6f |, MUIA\_|List\_Co|
|00000ff0| 6e 73 74 72 75 63 74 48 | 6f 6f 6b 0a 0a 5c 73 75 |nstructH|ook..\su|
|00001000| 62 73 65 63 74 69 6f 6e | 5b 4d 55 49 4d 5c 5f 4c |bsection|[MUIM\_L|
|00001010| 69 73 74 5c 5f 49 6e 73 | 65 72 74 53 69 6e 67 6c |ist\_Ins|ertSingl|
|00001020| 65 5d 7b 4d 55 49 4d 5c | 5f 4c 69 73 74 5c 5f 49 |e]{MUIM\|_List\_I|
|00001030| 6e 73 65 72 74 53 69 6e | 67 6c 65 20 28 56 37 29 |nsertSin|gle (V7)|
|00001040| 7d 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |}..\subs|ubsectio|
|00001050| 6e 2a 7b 53 59 4e 4f 50 | 53 49 53 7d 0a 44 6f 4d |n*{SYNOP|SIS}.DoM|
|00001060| 65 74 68 6f 64 28 6f 62 | 6a 2c 4d 55 49 4d 5c 5f |ethod(ob|j,MUIM\_|
|00001070| 4c 69 73 74 5c 5f 49 6e | 73 65 72 74 53 69 6e 67 |List\_In|sertSing|
|00001080| 6c 65 2c 41 50 54 52 20 | 65 6e 74 72 79 2c 20 4c |le,APTR |entry, L|
|00001090| 4f 4e 47 20 70 6f 73 29 | 3b 0a 0a 5c 73 75 62 73 |ONG pos)|;..\subs|
|000010a0| 75 62 73 65 63 74 69 6f | 6e 2a 7b 46 55 4e 43 54 |ubsectio|n*{FUNCT|
|000010b0| 49 4f 4e 7d 0a 49 6e 73 | 65 72 74 20 6f 6e 65 20 |ION}.Ins|ert one |
|000010c0| 6e 65 77 20 65 6e 74 72 | 79 20 69 6e 74 6f 20 61 |new entr|y into a|
|000010d0| 20 6c 69 73 74 2e 20 55 | 73 69 6e 67 20 4d 55 49 | list. U|sing MUI|
|000010e0| 4d 5c 5f 4c 69 73 74 5c | 5f 49 6e 73 65 72 74 20 |M\_List\|_Insert |
|000010f0| 68 61 73 0a 63 61 75 73 | 65 64 20 73 6f 6d 65 20 |has.caus|ed some |
|00001100| 63 6f 6e 66 75 73 69 6f | 6e 20 73 69 6e 63 65 20 |confusio|n since |
|00001110| 69 74 20 74 61 6b 65 73 | 20 61 6e 20 61 72 72 61 |it takes| an arra|
|00001120| 79 20 74 6f 20 69 74 65 | 6d 73 20 69 6e 73 74 65 |y to ite|ms inste|
|00001130| 61 64 0a 61 20 73 69 6e | 67 6c 65 20 69 74 65 6d |ad.a sin|gle item|
|00001140| 2e 20 54 6f 20 69 6e 73 | 65 72 74 20 73 69 6e 67 |. To ins|ert sing|
|00001150| 6c 65 20 69 74 65 6d 73 | 2c 20 4d 55 49 4d 5c 5f |le items|, MUIM\_|
|00001160| 4c 69 73 74 5c 5f 49 6e | 73 65 72 74 53 69 6e 67 |List\_In|sertSing|
|00001170| 6c 65 0a 69 73 20 74 68 | 65 20 62 65 74 74 65 72 |le.is th|e better|
|00001180| 20 63 68 6f 69 63 65 2e | 0a 0a 57 68 65 6e 20 74 | choice.|..When t|
|00001190| 68 65 20 6c 69 73 74 20 | 68 61 73 20 61 20 63 6f |he list |has a co|
|000011a0| 6e 73 74 72 75 63 74 20 | 68 6f 6f 6b 2c 20 74 68 |nstruct |hook, th|
|000011b0| 65 20 67 69 76 65 6e 20 | 70 6f 69 6e 74 65 72 0a |e given |pointer.|
|000011c0| 77 6f 6e 27 74 20 62 65 | 20 69 6e 73 65 72 74 65 |won't be| inserte|
|000011d0| 64 20 64 69 72 65 63 74 | 6c 79 20 62 75 74 20 69 |d direct|ly but i|
|000011e0| 6e 73 74 65 61 64 20 70 | 61 73 73 65 64 20 74 68 |nstead p|assed th|
|000011f0| 72 6f 75 67 68 0a 74 6f | 20 74 68 65 20 63 6f 6e |rough.to| the con|
|00001200| 73 74 72 75 63 74 20 68 | 6f 6f 6b 2e 0a 0a 5c 73 |struct h|ook...\s|
|00001210| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 49 4e |ubsubsec|tion*{IN|
|00001220| 50 55 54 53 7d 0a 5c 62 | 65 67 69 6e 7b 64 65 73 |PUTS}.\b|egin{des|
|00001230| 63 72 69 70 74 69 6f 6e | 7d 0a 5c 69 74 65 6d 5b |cription|}.\item[|
|00001240| 65 6e 74 72 79 5d 20 20 | 20 2d 20 69 74 65 6d 20 |entry] | - item |
|00001250| 74 6f 20 69 6e 73 65 72 | 74 2e 0a 0a 5c 69 74 65 |to inser|t...\ite|
|00001260| 6d 5b 70 6f 73 5d 20 20 | 20 20 20 2d 20 4e 65 77 |m[pos] | - New|
|00001270| 20 65 6e 74 72 79 20 77 | 69 6c 6c 20 62 65 20 61 | entry w|ill be a|
|00001280| 64 64 65 64 20 69 6e 20 | 66 72 6f 6e 74 20 6f 66 |dded in |front of|
|00001290| 20 74 68 69 73 20 65 6e | 74 72 79 2e 0a 5c 62 65 | this en|try..\be|
|000012a0| 67 69 6e 7b 63 65 6e 74 | 65 72 7d 20 5c 62 65 67 |gin{cent|er} \beg|
|000012b0| 69 6e 7b 74 61 62 75 6c | 61 72 7d 7b 6c 6c 7d 0a |in{tabul|ar}{ll}.|
|000012c0| 4d 55 49 56 5c 5f 4c 69 | 73 74 5c 5f 49 6e 73 65 |MUIV\_Li|st\_Inse|
|000012d0| 72 74 5c 5f 54 6f 70 3a | 20 26 69 6e 73 65 72 74 |rt\_Top:| &insert|
|000012e0| 20 61 73 20 66 69 72 73 | 74 20 65 6e 74 72 79 2e | as firs|t entry.|
|000012f0| 5c 5c 0a 4d 55 49 56 5c | 5f 4c 69 73 74 5c 5f 49 |\\.MUIV\|_List\_I|
|00001300| 6e 73 65 72 74 5c 5f 41 | 63 74 69 76 65 3a 26 20 |nsert\_A|ctive:& |
|00001310| 69 6e 73 65 72 74 20 69 | 6e 20 66 72 6f 6e 74 20 |insert i|n front |
|00001320| 6f 66 20 74 68 65 20 61 | 63 74 69 76 65 20 65 6e |of the a|ctive en|
|00001330| 74 72 79 2e 5c 5c 0a 4d | 55 49 56 5c 5f 4c 69 73 |try.\\.M|UIV\_Lis|
|00001340| 74 5c 5f 49 6e 73 65 72 | 74 5c 5f 53 6f 72 74 65 |t\_Inser|t\_Sorte|
|00001350| 64 3a 26 20 69 6e 73 65 | 72 74 20 73 6f 72 74 65 |d:& inse|rt sorte|
|00001360| 64 2e 5c 5c 0a 4d 55 49 | 56 5c 5f 4c 69 73 74 5c |d.\\.MUI|V\_List\|
|00001370| 5f 49 6e 73 65 72 74 5c | 5f 42 6f 74 74 6f 6d 3a |_Insert\|_Bottom:|
|00001380| 26 20 69 6e 73 65 72 74 | 20 61 73 20 6c 61 73 74 |& insert| as last|
|00001390| 20 65 6e 74 72 79 2e 5c | 5c 0a 5c 65 6e 64 7b 74 | entry.\|\.\end{t|
|000013a0| 61 62 75 6c 61 72 7d 20 | 5c 65 6e 64 7b 63 65 6e |abular} |\end{cen|
|000013b0| 74 65 72 7d 0a 5c 65 6e | 64 7b 64 65 73 63 72 69 |ter}.\en|d{descri|
|000013c0| 70 74 69 6f 6e 7d 0a 0a | 5c 73 75 62 73 75 62 73 |ption}..|\subsubs|
|000013d0| 65 63 74 69 6f 6e 2a 7b | 45 58 41 4d 50 4c 45 7d |ection*{|EXAMPLE}|
|000013e0| 0a 5c 73 6d 61 6c 6c 0a | 5c 62 65 67 69 6e 7b 76 |.\small.|\begin{v|
|000013f0| 65 72 62 61 74 69 6d 7d | 0a 2f 2a 20 69 6e 73 65 |erbatim}|./* inse|
|00001400| 72 74 20 61 20 73 74 72 | 69 6e 67 20 2a 2f 0a 44 |rt a str|ing */.D|
|00001410| 6f 4d 65 74 68 6f 64 28 | 6c 69 73 74 2c 4d 55 49 |oMethod(|list,MUI|
|00001420| 4d 5f 4c 69 73 74 5f 49 | 6e 73 65 72 74 53 69 6e |M_List_I|nsertSin|
|00001430| 67 6c 65 2c 22 66 6f 6f | 62 61 72 22 2c 4d 55 49 |gle,"foo|bar",MUI|
|00001440| 56 5f 4c 69 73 74 5f 49 | 6e 73 65 72 74 5f 42 6f |V_List_I|nsert_Bo|
|00001450| 74 74 6f 6d 29 3b 0a 0a | 5c 65 6e 64 7b 76 65 72 |ttom);..|\end{ver|
|00001460| 62 61 74 69 6d 7d 0a 5c | 6e 6f 72 6d 61 6c 73 69 |batim}.\|normalsi|
|00001470| 7a 65 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |ze.\subs|ubsectio|
|00001480| 6e 2a 7b 53 45 45 20 41 | 4c 53 4f 7d 0a 4d 55 49 |n*{SEE A|LSO}.MUI|
|00001490| 4d 5c 5f 4c 69 73 74 5c | 5f 52 65 6d 6f 76 65 2c |M\_List\|_Remove,|
|000014a0| 20 4d 55 49 41 5c 5f 4c | 69 73 74 5c 5f 43 6f 6e | MUIA\_L|ist\_Con|
|000014b0| 73 74 72 75 63 74 48 6f | 6f 6b 2c 20 4d 55 49 4d |structHo|ok, MUIM|
|000014c0| 5c 5f 4c 69 73 74 5c 5f | 49 6e 73 65 72 74 53 69 |\_List\_|InsertSi|
|000014d0| 6e 67 6c 65 0a 0a 5c 73 | 75 62 73 65 63 74 69 6f |ngle..\s|ubsectio|
|000014e0| 6e 5b 4d 55 49 4d 5c 5f | 4c 69 73 74 5c 5f 4a 75 |n[MUIM\_|List\_Ju|
|000014f0| 6d 70 5d 7b 4d 55 49 4d | 5c 5f 4c 69 73 74 5c 5f |mp]{MUIM|\_List\_|
|00001500| 4a 75 6d 70 20 28 56 34 | 29 7d 0a 0a 5c 73 75 62 |Jump (V4|)}..\sub|
|00001510| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 53 59 4e 4f |subsecti|on*{SYNO|
|00001520| 50 53 49 53 7d 0a 44 6f | 4d 65 74 68 6f 64 28 6f |PSIS}.Do|Method(o|
|00001530| 62 6a 2c 4d 55 49 4d 5c | 5f 4c 69 73 74 5c 5f 4a |bj,MUIM\|_List\_J|
|00001540| 75 6d 70 2c 4c 4f 4e 47 | 20 70 6f 73 29 3b 0a 0a |ump,LONG| pos);..|
|00001550| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|00001560| 46 55 4e 43 54 49 4f 4e | 7d 0a 53 63 72 6f 6c 6c |FUNCTION|}.Scroll|
|00001570| 20 61 6e 79 20 65 6e 74 | 72 79 20 69 6e 74 6f 20 | any ent|ry into |
|00001580| 74 68 65 20 76 69 73 69 | 62 6c 65 20 70 61 72 74 |the visi|ble part|
|00001590| 20 6f 66 20 61 20 6c 69 | 73 74 2e 0a 0a 5c 73 75 | of a li|st...\su|
|000015a0| 62 73 75 62 73 65 63 74 | 69 6f 6e 2a 7b 4e 4f 54 |bsubsect|ion*{NOT|
|000015b0| 45 7d 0a 4a 75 6d 70 69 | 6e 67 20 74 6f 20 61 6e |E}.Jumpi|ng to an|
|000015c0| 20 65 6e 74 72 79 20 64 | 6f 65 73 6e 27 74 20 6d | entry d|oesn't m|
|000015d0| 65 61 6e 20 74 6f 20 6d | 61 6b 65 20 74 68 69 73 |ean to m|ake this|
|000015e0| 0a 65 6e 74 72 79 20 74 | 68 65 20 61 63 74 69 76 |.entry t|he activ|
|000015f0| 65 20 6f 6e 65 2e 20 54 | 68 69 73 20 63 61 6e 20 |e one. T|his can |
|00001600| 62 65 20 64 6f 6e 65 20 | 62 79 0a 73 65 74 74 69 |be done |by.setti|
|00001610| 6e 67 20 74 68 65 20 4d | 55 49 41 5c 5f 4c 69 73 |ng the M|UIA\_Lis|
|00001620| 74 5c 5f 41 63 74 69 76 | 65 20 61 74 74 72 69 62 |t\_Activ|e attrib|
|00001630| 75 74 65 2e 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |ute...\s|ubsubsec|
|00001640| 74 69 6f 6e 2a 7b 49 4e | 50 55 54 53 7d 0a 5c 62 |tion*{IN|PUTS}.\b|
|00001650| 65 67 69 6e 7b 64 65 73 | 63 72 69 70 74 69 6f 6e |egin{des|cription|
|00001660| 7d 0a 5c 69 74 65 6d 5b | 70 6f 73 5d 20 2d 20 4e |}.\item[|pos] - N|
|00001670| 75 6d 62 65 72 20 6f 66 | 20 74 68 65 20 65 6e 74 |umber of| the ent|
|00001680| 72 79 20 74 68 61 74 20 | 73 68 6f 75 6c 64 20 62 |ry that |should b|
|00001690| 65 20 6d 61 64 65 20 76 | 69 73 69 62 6c 65 2e 20 |e made v|isible. |
|000016a0| 55 73 65 20 5c 6c 69 6e | 65 62 72 65 61 6b 0a 4d |Use \lin|ebreak.M|
|000016b0| 55 49 56 5c 5f 4c 69 73 | 74 5c 5f 4a 75 6d 70 5c |UIV\_Lis|t\_Jump\|
|000016c0| 5f 41 63 74 69 76 65 20 | 74 6f 20 6a 75 6d 70 20 |_Active |to jump |
|000016d0| 74 6f 20 74 68 65 20 61 | 63 74 69 76 65 20 65 6e |to the a|ctive en|
|000016e0| 74 72 79 2e 0a 5c 65 6e | 64 7b 64 65 73 63 72 69 |try..\en|d{descri|
|000016f0| 70 74 69 6f 6e 7d 0a 0a | 5c 73 75 62 73 75 62 73 |ption}..|\subsubs|
|00001700| 65 63 74 69 6f 6e 2a 7b | 45 58 41 4d 50 4c 45 7d |ection*{|EXAMPLE}|
|00001710| 0a 5c 73 6d 61 6c 6c 0a | 5c 62 65 67 69 6e 7b 76 |.\small.|\begin{v|
|00001720| 65 72 62 61 74 69 6d 7d | 0a 2f 2a 20 6c 69 6e 65 |erbatim}|./* line|
|00001730| 20 34 32 20 69 73 20 69 | 6e 74 65 72 65 73 74 69 | 42 is i|nteresti|
|00001740| 6e 67 2c 20 73 6f 20 6d | 61 6b 65 20 69 74 20 76 |ng, so m|ake it v|
|00001750| 69 73 69 62 6c 65 20 2a | 2f 0a 44 6f 4d 65 74 68 |isible *|/.DoMeth|
|00001760| 6f 64 28 6c 69 73 74 2c | 4d 55 49 4d 5f 4c 69 73 |od(list,|MUIM_Lis|
|00001770| 74 5f 4a 75 6d 70 2c 34 | 32 29 3b 0a 0a 5c 65 6e |t_Jump,4|2);..\en|
|00001780| 64 7b 76 65 72 62 61 74 | 69 6d 7d 0a 5c 6e 6f 72 |d{verbat|im}.\nor|
|00001790| 6d 61 6c 73 69 7a 65 0a | 5c 73 75 62 73 75 62 73 |malsize.|\subsubs|
|000017a0| 65 63 74 69 6f 6e 2a 7b | 53 45 45 20 41 4c 53 4f |ection*{|SEE ALSO|
|000017b0| 7d 0a 4d 55 49 41 5c 5f | 4c 69 73 74 5c 5f 41 63 |}.MUIA\_|List\_Ac|
|000017c0| 74 69 76 65 0a 0a 5c 73 | 75 62 73 65 63 74 69 6f |tive..\s|ubsectio|
|000017d0| 6e 5b 4d 55 49 4d 5c 5f | 4c 69 73 74 5c 5f 4d 6f |n[MUIM\_|List\_Mo|
|000017e0| 76 65 5d 7b 4d 55 49 4d | 5c 5f 4c 69 73 74 5c 5f |ve]{MUIM|\_List\_|
|000017f0| 4d 6f 76 65 20 28 56 39 | 29 7d 0a 0a 5c 73 75 62 |Move (V9|)}..\sub|
|00001800| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 53 59 4e 4f |subsecti|on*{SYNO|
|00001810| 50 53 49 53 7d 0a 44 6f | 4d 65 74 68 6f 64 28 6f |PSIS}.Do|Method(o|
|00001820| 62 6a 2c 4d 55 49 4d 5c | 5f 4c 69 73 74 5c 5f 4d |bj,MUIM\|_List\_M|
|00001830| 6f 76 65 2c 4c 4f 4e 47 | 20 66 72 6f 6d 2c 20 4c |ove,LONG| from, L|
|00001840| 4f 4e 47 20 74 6f 29 3b | 0a 0a 5c 73 75 62 73 75 |ONG to);|..\subsu|
|00001850| 62 73 65 63 74 69 6f 6e | 2a 7b 46 55 4e 43 54 49 |bsection|*{FUNCTI|
|00001860| 4f 4e 7d 0a 4d 6f 76 65 | 20 61 6e 20 65 6e 74 72 |ON}.Move| an entr|
|00001870| 79 20 66 72 6f 6d 20 6f | 6e 65 20 70 6f 73 69 74 |y from o|ne posit|
|00001880| 69 6f 6e 20 74 6f 20 61 | 6e 6f 74 68 65 72 2e 0a |ion to a|nother..|
|00001890| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|000018a0| 7b 49 4e 50 55 54 53 7d | 0a 5c 62 65 67 69 6e 7b |{INPUTS}|.\begin{|
|000018b0| 64 65 73 63 72 69 70 74 | 69 6f 6e 7d 0a 5c 69 74 |descript|ion}.\it|
|000018c0| 65 6d 5b 70 6f 73 31 5d | 20 2d 20 6e 75 6d 62 65 |em[pos1]| - numbe|
|000018d0| 72 20 6f 66 20 74 68 65 | 20 66 69 72 73 74 20 65 |r of the| first e|
|000018e0| 6e 74 72 79 2e 0a 5c 69 | 74 65 6d 5b 70 6f 73 32 |ntry..\i|tem[pos2|
|000018f0| 5d 20 2d 20 6e 75 6d 62 | 65 72 20 6f 66 20 74 68 |] - numb|er of th|
|00001900| 65 20 73 65 63 6f 6e 64 | 20 65 6e 74 72 79 2e 0a |e second| entry..|
|00001910| 5c 65 6e 64 7b 64 65 73 | 63 72 69 70 74 69 6f 6e |\end{des|cription|
|00001920| 7d 0a 20 20 20 0a 50 6f | 73 73 69 62 6c 65 20 73 |}. .Po|ssible s|
|00001930| 70 65 63 69 61 6c 20 76 | 61 6c 75 65 73 20 73 69 |pecial v|alues si|
|00001940| 6e 63 65 20 6d 75 69 6d | 61 73 74 65 72 2e 6c 69 |nce muim|aster.li|
|00001950| 62 72 61 72 79 20 56 39 | 3a 0a 0a 5c 62 65 67 69 |brary V9|:..\begi|
|00001960| 6e 7b 63 65 6e 74 65 72 | 7d 20 5c 62 65 67 69 6e |n{center|} \begin|
|00001970| 7b 74 61 62 75 6c 61 72 | 7d 7b 6c 72 6c 7d 0a 4d |{tabular|}{lrl}.M|
|00001980| 55 49 56 5c 5f 4c 69 73 | 74 5c 5f 4d 6f 76 65 5c |UIV\_Lis|t\_Move\|
|00001990| 5f 54 6f 70 20 20 20 20 | 20 26 20 20 30 26 5c 5c |_Top | & 0&\\|
|000019a0| 0a 4d 55 49 56 5c 5f 4c | 69 73 74 5c 5f 4d 6f 76 |.MUIV\_L|ist\_Mov|
|000019b0| 65 5c 5f 41 63 74 69 76 | 65 20 20 26 20 2d 31 26 |e\_Activ|e & -1&|
|000019c0| 5c 5c 0a 4d 55 49 56 5c | 5f 4c 69 73 74 5c 5f 4d |\\.MUIV\|_List\_M|
|000019d0| 6f 76 65 5c 5f 42 6f 74 | 74 6f 6d 20 20 26 20 2d |ove\_Bot|tom & -|
|000019e0| 32 26 5c 5c 0a 4d 55 49 | 56 5c 5f 4c 69 73 74 5c |2&\\.MUI|V\_List\|
|000019f0| 5f 4d 6f 76 65 5c 5f 4e | 65 78 74 20 20 20 20 26 |_Move\_N|ext &|
|00001a00| 20 2d 33 26 20 2f 24 5c | 61 73 74 24 20 6f 6e 6c | -3& /$\|ast$ onl|
|00001a10| 79 20 76 61 6c 69 64 20 | 66 6f 72 20 73 65 63 6f |y valid |for seco|
|00001a20| 6e 64 20 70 61 72 61 6d | 65 74 65 72 20 24 5c 61 |nd param|eter $\a|
|00001a30| 73 74 24 2f 5c 5c 0a 4d | 55 49 56 5c 5f 4c 69 73 |st$/\\.M|UIV\_Lis|
|00001a40| 74 5c 5f 4d 6f 76 65 5c | 5f 50 72 65 76 69 6f 75 |t\_Move\|_Previou|
|00001a50| 73 26 20 2d 34 26 20 2f | 24 5c 61 73 74 24 20 6f |s& -4& /|$\ast$ o|
|00001a60| 6e 6c 79 20 76 61 6c 69 | 64 20 66 6f 72 20 73 65 |nly vali|d for se|
|00001a70| 63 6f 6e 64 20 70 61 72 | 61 6d 65 74 65 72 20 24 |cond par|ameter $|
|00001a80| 5c 61 73 74 24 2f 5c 5c | 0a 5c 65 6e 64 7b 74 61 |\ast$/\\|.\end{ta|
|00001a90| 62 75 6c 61 72 7d 20 5c | 65 6e 64 7b 63 65 6e 74 |bular} \|end{cent|
|00001aa0| 65 72 7d 0a 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |er}..\su|bsubsect|
|00001ab0| 69 6f 6e 2a 7b 53 45 45 | 20 41 4c 53 4f 7d 0a 4d |ion*{SEE| ALSO}.M|
|00001ac0| 55 49 4d 5c 5f 4c 69 73 | 74 5c 5f 49 6e 73 65 72 |UIM\_Lis|t\_Inser|
|00001ad0| 74 2c 20 4d 55 49 4d 5c | 5f 4c 69 73 74 5c 5f 52 |t, MUIM\|_List\_R|
|00001ae0| 65 6d 6f 76 65 2c 20 4d | 55 49 4d 5c 5f 4c 69 73 |emove, M|UIM\_Lis|
|00001af0| 74 5c 5f 45 78 63 68 61 | 6e 67 65 0a 0a 5c 73 75 |t\_Excha|nge..\su|
|00001b00| 62 73 65 63 74 69 6f 6e | 5b 4d 55 49 4d 5c 5f 4c |bsection|[MUIM\_L|
|00001b10| 69 73 74 5c 5f 4e 65 78 | 74 53 65 6c 65 63 74 65 |ist\_Nex|tSelecte|
|00001b20| 64 5d 7b 4d 55 49 4d 5c | 5f 4c 69 73 74 5c 5f 4e |d]{MUIM\|_List\_N|
|00001b30| 65 78 74 53 65 6c 65 63 | 74 65 64 20 28 56 36 29 |extSelec|ted (V6)|
|00001b40| 7d 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |}..\subs|ubsectio|
|00001b50| 6e 2a 7b 53 59 4e 4f 50 | 53 49 53 7d 0a 44 6f 4d |n*{SYNOP|SIS}.DoM|
|00001b60| 65 74 68 6f 64 28 6f 62 | 6a 2c 4d 55 49 4d 5c 5f |ethod(ob|j,MUIM\_|
|00001b70| 4c 69 73 74 5c 5f 4e 65 | 78 74 53 65 6c 65 63 74 |List\_Ne|xtSelect|
|00001b80| 65 64 2c 4c 4f 4e 47 20 | 24 5c 61 73 74 24 70 6f |ed,LONG |$\ast$po|
|00001b90| 73 29 3b 0a 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |s);..\su|bsubsect|
|00001ba0| 69 6f 6e 2a 7b 46 55 4e | 43 54 49 4f 4e 7d 0a 49 |ion*{FUN|CTION}.I|
|00001bb0| 74 65 72 61 74 65 20 74 | 68 72 6f 75 67 68 20 74 |terate t|hrough t|
|00001bc0| 68 65 20 73 65 6c 65 63 | 74 65 64 20 65 6e 74 72 |he selec|ted entr|
|00001bd0| 69 65 73 20 6f 66 20 61 | 20 6c 69 73 74 2e 0a 54 |ies of a| list..T|
|00001be0| 68 69 73 20 6d 65 74 68 | 6f 64 20 73 74 65 70 73 |his meth|od steps|
|00001bf0| 20 74 68 72 6f 75 67 68 | 20 74 68 65 20 63 6f 6e | through| the con|
|00001c00| 74 65 6e 74 73 20 6f 66 | 20 61 20 28 6d 75 6c 74 |tents of| a (mult|
|00001c10| 69 0a 73 65 6c 65 63 74 | 29 20 6c 69 73 74 20 61 |i.select|) list a|
|00001c20| 6e 64 20 72 65 74 75 72 | 6e 73 20 65 76 65 72 79 |nd retur|ns every|
|00001c30| 20 65 6e 74 72 79 20 74 | 68 61 74 20 69 73 20 63 | entry t|hat is c|
|00001c40| 75 72 72 65 6e 74 6c 79 | 0a 73 65 6c 65 63 74 65 |urrently|.selecte|
|00001c50| 64 2e 20 57 68 65 6e 20 | 6e 6f 20 65 6e 74 72 79 |d. When |no entry|
|00001c60| 20 69 73 20 73 65 6c 65 | 63 74 65 64 20 62 75 74 | is sele|cted but|
|00001c70| 20 61 6e 20 65 6e 74 72 | 79 20 69 73 0a 61 63 74 | an entr|y is.act|
|00001c80| 69 76 65 2c 20 6f 6e 6c | 79 20 74 68 65 20 61 63 |ive, onl|y the ac|
|00001c90| 74 69 76 65 20 65 6e 74 | 72 79 20 77 69 6c 6c 20 |tive ent|ry will |
|00001ca0| 62 65 20 72 65 74 75 72 | 6e 65 64 2e 0a 0a 54 68 |be retur|ned...Th|
|00001cb0| 69 73 20 62 65 68 61 76 | 69 6f 75 72 20 77 69 6c |is behav|iour wil|
|00001cc0| 6c 20 72 65 73 75 6c 74 | 20 69 6e 20 6e 6f 74 20 |l result| in not |
|00001cd0| 72 65 74 75 72 6e 69 6e | 67 20 74 68 65 0a 61 63 |returnin|g the.ac|
|00001ce0| 74 69 76 65 20 65 6e 74 | 72 79 20 77 68 65 6e 20 |tive ent|ry when |
|00001cf0| 79 6f 75 20 68 61 76 65 | 20 73 6f 6d 65 20 6f 74 |you have| some ot|
|00001d00| 68 65 72 20 73 65 6c 65 | 63 74 65 64 0a 65 6e 74 |her sele|cted.ent|
|00001d10| 72 69 65 73 20 73 6f 6d | 65 77 68 65 72 65 20 69 |ries som|ewhere i|
|00001d20| 6e 20 79 6f 75 72 20 6c | 69 73 74 2e 20 53 69 6e |n your l|ist. Sin|
|00001d30| 63 65 20 74 68 65 20 61 | 63 74 69 76 65 0a 65 6e |ce the a|ctive.en|
|00001d40| 74 72 79 20 6a 75 73 74 | 20 61 63 74 73 20 61 73 |try just| acts as|
|00001d50| 20 73 6f 6d 65 20 6b 69 | 6e 64 20 6f 66 20 63 75 | some ki|nd of cu|
|00001d60| 72 73 6f 72 20 6d 61 72 | 6b 2c 0a 74 68 69 73 20 |rsor mar|k,.this |
|00001d70| 73 65 65 6d 73 20 74 6f | 20 62 65 20 74 68 65 20 |seems to| be the |
|00001d80| 6f 6e 6c 79 20 73 65 6e | 73 69 62 6c 65 20 70 6f |only sen|sible po|
|00001d90| 73 73 69 62 69 6c 69 74 | 79 0a 74 6f 20 68 61 6e |ssibilit|y.to han|
|00001da0| 64 6c 65 20 6d 75 6c 74 | 69 20 73 65 6c 65 63 74 |dle mult|i select|
|00001db0| 69 6f 6e 20 74 6f 67 65 | 74 68 65 72 20 77 69 74 |ion toge|ther wit|
|00001dc0| 68 20 6b 65 79 62 6f 61 | 72 64 0a 63 6f 6e 74 72 |h keyboa|rd.contr|
|00001dd0| 6f 6c 2e 0a 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |ol...\su|bsubsect|
|00001de0| 69 6f 6e 2a 7b 49 4e 50 | 55 54 53 7d 0a 5c 62 65 |ion*{INP|UTS}.\be|
|00001df0| 67 69 6e 7b 64 65 73 63 | 72 69 70 74 69 6f 6e 7d |gin{desc|ription}|
|00001e00| 0a 5c 69 74 65 6d 5b 70 | 6f 73 5d 20 2d 20 61 20 |.\item[p|os] - a |
|00001e10| 70 6f 69 6e 74 65 72 20 | 74 6f 20 6c 6f 6e 67 77 |pointer |to longw|
|00001e20| 6f 72 64 20 74 68 61 74 | 20 77 69 6c 6c 20 68 6f |ord that| will ho|
|00001e30| 6c 64 20 74 68 65 20 6e | 75 6d 62 65 72 0a 6f 66 |ld the n|umber.of|
|00001e40| 20 74 68 65 20 72 65 74 | 75 72 6e 65 64 20 65 6e | the ret|urned en|
|00001e50| 74 72 79 2e 20 4d 75 73 | 74 20 62 65 20 73 65 74 |try. Mus|t be set|
|00001e60| 20 74 6f 0a 4d 55 49 56 | 5c 5f 4c 69 73 74 5c 5f | to.MUIV|\_List\_|
|00001e70| 4e 65 78 74 53 65 6c 65 | 63 74 65 64 5c 5f 53 74 |NextSele|cted\_St|
|00001e80| 61 72 74 20 61 74 20 73 | 74 61 72 74 20 6f 66 20 |art at s|tart of |
|00001e90| 69 74 65 72 61 74 69 6f | 6e 2e 0a 49 73 20 73 65 |iteratio|n..Is se|
|00001ea0| 74 20 74 6f 20 4d 55 49 | 56 5c 5f 4c 69 73 74 5c |t to MUI|V\_List\|
|00001eb0| 5f 4e 65 78 74 53 65 6c | 65 63 74 65 64 5c 5f 45 |_NextSel|ected\_E|
|00001ec0| 6e 64 20 77 68 65 6e 20 | 69 74 65 72 61 74 69 6f |nd when |iteratio|
|00001ed0| 6e 0a 69 73 20 66 69 6e | 69 73 68 65 64 2e 0a 5c |n.is fin|ished..\|
|00001ee0| 65 6e 64 7b 64 65 73 63 | 72 69 70 74 69 6f 6e 7d |end{desc|ription}|
|00001ef0| 0a 0a 5c 73 75 62 73 75 | 62 73 65 63 74 69 6f 6e |..\subsu|bsection|
|00001f00| 2a 7b 45 58 41 4d 50 4c | 45 7d 0a 5c 73 6d 61 6c |*{EXAMPL|E}.\smal|
|00001f10| 6c 0a 5c 62 65 67 69 6e | 7b 76 65 72 62 61 74 69 |l.\begin|{verbati|
|00001f20| 6d 7d 0a 0a 2f 2a 20 49 | 74 65 72 61 74 65 20 74 |m}../* I|terate t|
|00001f30| 68 72 6f 75 67 68 20 61 | 20 6c 69 73 74 20 77 69 |hrough a| list wi|
|00001f40| 74 68 20 46 69 6c 65 49 | 6e 66 6f 42 6c 6f 63 6b |th FileI|nfoBlock|
|00001f50| 73 20 2a 2f 0a 0a 73 74 | 72 75 63 74 20 46 69 6c |s */..st|ruct Fil|
|00001f60| 65 49 6e 66 6f 42 6c 6f | 63 6b 20 2a 66 69 62 3b |eInfoBlo|ck *fib;|
|00001f70| 0a 4c 4f 4e 47 20 69 64 | 20 3d 20 4d 55 49 56 5f |.LONG id| = MUIV_|
|00001f80| 4c 69 73 74 5f 4e 65 78 | 74 53 65 6c 65 63 74 65 |List_Nex|tSelecte|
|00001f90| 64 5f 53 74 61 72 74 3b | 0a 0a 66 6f 72 20 28 3b |d_Start;|..for (;|
|00001fa0| 3b 29 0a 7b 0a 20 20 20 | 44 6f 4d 65 74 68 6f 64 |;).{. |DoMethod|
|00001fb0| 28 6c 69 73 74 2c 4d 55 | 49 4d 5f 4c 69 73 74 5f |(list,MU|IM_List_|
|00001fc0| 4e 65 78 74 53 65 6c 65 | 63 74 65 64 2c 26 69 64 |NextSele|cted,&id|
|00001fd0| 29 3b 0a 20 20 20 69 66 | 20 28 69 64 3d 3d 4d 55 |);. if| (id==MU|
|00001fe0| 49 56 5f 4c 69 73 74 5f | 4e 65 78 74 53 65 6c 65 |IV_List_|NextSele|
|00001ff0| 63 74 65 64 5f 45 6e 64 | 29 20 62 72 65 61 6b 3b |cted_End|) break;|
|00002000| 0a 0a 20 20 20 44 6f 4d | 65 74 68 6f 64 28 6c 69 |.. DoM|ethod(li|
|00002010| 73 74 2c 4d 55 49 4d 5f | 4c 69 73 74 5f 47 65 74 |st,MUIM_|List_Get|
|00002020| 45 6e 74 72 79 2c 69 64 | 2c 26 66 69 62 29 3b 0a |Entry,id|,&fib);.|
|00002030| 20 20 20 70 72 69 6e 74 | 66 28 22 73 65 6c 65 63 | print|f("selec|
|00002040| 74 65 64 3a 20 25 73 5c | 6e 22 2c 66 69 62 2d 3e |ted: %s\|n",fib->|
|00002050| 66 69 62 5f 46 69 6c 65 | 4e 61 6d 65 29 3b 0a 7d |fib_File|Name);.}|
|00002060| 0a 0a 0a 5c 65 6e 64 7b | 76 65 72 62 61 74 69 6d |...\end{|verbatim|
|00002070| 7d 0a 5c 6e 6f 72 6d 61 | 6c 73 69 7a 65 0a 5c 73 |}.\norma|lsize.\s|
|00002080| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 53 45 |ubsubsec|tion*{SE|
|00002090| 45 20 41 4c 53 4f 7d 0a | 4d 55 49 4d 5c 5f 4c 69 |E ALSO}.|MUIM\_Li|
|000020a0| 73 74 5c 5f 53 65 6c 65 | 63 74 0a 0a 5c 73 75 62 |st\_Sele|ct..\sub|
|000020b0| 73 65 63 74 69 6f 6e 5b | 4d 55 49 4d 5c 5f 4c 69 |section[|MUIM\_Li|
|000020c0| 73 74 5c 5f 52 65 64 72 | 61 77 5d 7b 4d 55 49 4d |st\_Redr|aw]{MUIM|
|000020d0| 5c 5f 4c 69 73 74 5c 5f | 52 65 64 72 61 77 20 28 |\_List\_|Redraw (|
|000020e0| 56 34 29 7d 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |V4)}..\s|ubsubsec|
|000020f0| 74 69 6f 6e 2a 7b 53 59 | 4e 4f 50 53 49 53 7d 0a |tion*{SY|NOPSIS}.|
|00002100| 44 6f 4d 65 74 68 6f 64 | 28 6f 62 6a 2c 4d 55 49 |DoMethod|(obj,MUI|
|00002110| 4d 5c 5f 4c 69 73 74 5c | 5f 52 65 64 72 61 77 2c |M\_List\|_Redraw,|
|00002120| 4c 4f 4e 47 20 70 6f 73 | 29 3b 0a 0a 5c 73 75 62 |LONG pos|);..\sub|
|00002130| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 46 55 4e 43 |subsecti|on*{FUNC|
|00002140| 54 49 4f 4e 7d 0a 49 66 | 20 79 6f 75 20 6d 61 64 |TION}.If| you mad|
|00002150| 65 20 73 6f 6d 65 20 63 | 68 61 6e 67 65 73 20 74 |e some c|hanges t|
|00002160| 6f 20 61 6e 20 65 6e 74 | 72 79 20 6f 66 20 79 6f |o an ent|ry of yo|
|00002170| 75 72 20 6c 69 73 74 20 | 61 6e 64 0a 77 61 6e 74 |ur list |and.want|
|00002180| 20 74 68 65 73 65 20 63 | 68 61 6e 67 65 73 20 74 | these c|hanges t|
|00002190| 6f 20 62 65 20 73 68 6f | 77 6e 20 69 6e 20 74 68 |o be sho|wn in th|
|000021a0| 65 20 64 69 73 70 6c 61 | 79 2c 20 79 6f 75 20 77 |e displa|y, you w|
|000021b0| 69 6c 6c 0a 68 61 76 65 | 20 74 6f 20 63 61 6c 6c |ill.have| to call|
|000021c0| 20 74 68 69 73 20 6d 65 | 74 68 6f 64 2e 0a 0a 5c | this me|thod...\|
|000021d0| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 49 |subsubse|ction*{I|
|000021e0| 4e 50 55 54 53 7d 0a 5c | 62 65 67 69 6e 7b 64 65 |NPUTS}.\|begin{de|
|000021f0| 73 63 72 69 70 74 69 6f | 6e 7d 0a 5c 69 74 65 6d |scriptio|n}.\item|
|00002200| 5b 70 6f 73 5d 20 2d 20 | 4e 75 6d 62 65 72 20 6f |[pos] - |Number o|
|00002210| 66 20 74 68 65 20 6c 69 | 6e 65 20 74 6f 20 72 65 |f the li|ne to re|
|00002220| 64 72 61 77 2e 20 57 68 | 65 6e 20 74 68 65 20 6c |draw. Wh|en the l|
|00002230| 69 6e 65 20 69 73 20 6e | 6f 74 0a 63 75 72 72 65 |ine is n|ot.curre|
|00002240| 6e 74 6c 79 20 76 69 73 | 69 62 6c 65 2c 20 6e 6f |ntly vis|ible, no|
|00002250| 74 68 69 6e 67 20 77 69 | 6c 6c 20 68 61 70 70 65 |thing wi|ll happe|
|00002260| 6e 2e 20 53 70 65 63 69 | 61 6c 73 3a 0a 5c 62 65 |n. Speci|als:.\be|
|00002270| 67 69 6e 7b 63 65 6e 74 | 65 72 7d 20 5c 62 65 67 |gin{cent|er} \beg|
|00002280| 69 6e 7b 74 61 62 75 6c | 61 72 7d 7b 6c 6c 7d 0a |in{tabul|ar}{ll}.|
|00002290| 4d 55 49 56 5c 5f 4c 69 | 73 74 5c 5f 52 65 64 72 |MUIV\_Li|st\_Redr|
|000022a0| 61 77 5c 5f 41 63 74 69 | 76 65 3a 26 20 72 65 64 |aw\_Acti|ve:& red|
|000022b0| 72 61 77 20 74 68 65 20 | 61 63 74 69 76 65 20 6c |raw the |active l|
|000022c0| 69 6e 65 20 28 69 66 20 | 61 6e 79 29 2c 5c 5c 0a |ine (if |any),\\.|
|000022d0| 4d 55 49 56 5c 5f 4c 69 | 73 74 5c 5f 52 65 64 72 |MUIV\_Li|st\_Redr|
|000022e0| 61 77 5c 5f 41 6c 6c 3a | 26 20 72 65 64 72 61 77 |aw\_All:|& redraw|
|000022f0| 20 61 6c 6c 20 6c 69 6e | 65 73 2e 5c 5c 0a 5c 65 | all lin|es.\\.\e|
|00002300| 6e 64 7b 74 61 62 75 6c | 61 72 7d 20 5c 65 6e 64 |nd{tabul|ar} \end|
|00002310| 7b 63 65 6e 74 65 72 7d | 0a 5c 65 6e 64 7b 64 65 |{center}|.\end{de|
|00002320| 73 63 72 69 70 74 69 6f | 6e 7d 0a 20 20 20 0a 5c |scriptio|n}. .\|
|00002330| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 45 |subsubse|ction*{E|
|00002340| 58 41 4d 50 4c 45 7d 0a | 5c 73 6d 61 6c 6c 0a 5c |XAMPLE}.|\small.\|
|00002350| 62 65 67 69 6e 7b 76 65 | 72 62 61 74 69 6d 7d 0a |begin{ve|rbatim}.|
|00002360| 2f 2a 20 64 6f 20 61 20 | 63 6f 6d 70 6c 65 74 65 |/* do a |complete|
|00002370| 20 72 65 66 72 65 73 68 | 3a 20 2a 2f 0a 44 6f 4d | refresh|: */.DoM|
|00002380| 65 74 68 6f 64 28 6c 69 | 73 74 2c 4d 55 49 4d 5f |ethod(li|st,MUIM_|
|00002390| 4c 69 73 74 5f 52 65 64 | 72 61 77 2c 4d 55 49 56 |List_Red|raw,MUIV|
|000023a0| 5f 4c 69 73 74 5f 52 65 | 64 72 61 77 5f 41 6c 6c |_List_Re|draw_All|
|000023b0| 29 3b 0a 0a 5c 65 6e 64 | 7b 76 65 72 62 61 74 69 |);..\end|{verbati|
|000023c0| 6d 7d 0a 5c 6e 6f 72 6d | 61 6c 73 69 7a 65 0a 5c |m}.\norm|alsize.\|
|000023d0| 73 75 62 73 65 63 74 69 | 6f 6e 5b 4d 55 49 4d 5c |subsecti|on[MUIM\|
|000023e0| 5f 4c 69 73 74 5c 5f 52 | 65 6d 6f 76 65 5d 7b 4d |_List\_R|emove]{M|
|000023f0| 55 49 4d 5c 5f 4c 69 73 | 74 5c 5f 52 65 6d 6f 76 |UIM\_Lis|t\_Remov|
|00002400| 65 20 28 56 34 29 7d 0a | 0a 5c 73 75 62 73 75 62 |e (V4)}.|.\subsub|
|00002410| 73 65 63 74 69 6f 6e 2a | 7b 53 59 4e 4f 50 53 49 |section*|{SYNOPSI|
|00002420| 53 7d 0a 44 6f 4d 65 74 | 68 6f 64 28 6f 62 6a 2c |S}.DoMet|hod(obj,|
|00002430| 4d 55 49 4d 5c 5f 4c 69 | 73 74 5c 5f 52 65 6d 6f |MUIM\_Li|st\_Remo|
|00002440| 76 65 2c 4c 4f 4e 47 20 | 70 6f 73 29 3b 0a 0a 5c |ve,LONG |pos);..\|
|00002450| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 46 |subsubse|ction*{F|
|00002460| 55 4e 43 54 49 4f 4e 7d | 0a 52 65 6d 6f 76 65 20 |UNCTION}|.Remove |
|00002470| 61 6e 20 65 6e 74 72 79 | 20 66 72 6f 6d 20 61 20 |an entry| from a |
|00002480| 6c 69 73 74 2e 0a 0a 5c | 73 75 62 73 75 62 73 65 |list...\|subsubse|
|00002490| 63 74 69 6f 6e 2a 7b 49 | 4e 50 55 54 53 7d 0a 5c |ction*{I|NPUTS}.\|
|000024a0| 62 65 67 69 6e 7b 64 65 | 73 63 72 69 70 74 69 6f |begin{de|scriptio|
|000024b0| 6e 7d 0a 5c 69 74 65 6d | 5b 70 6f 73 5d 20 2d 20 |n}.\item|[pos] - |
|000024c0| 6e 75 6d 62 65 72 20 6f | 66 20 74 68 65 20 65 6e |number o|f the en|
|000024d0| 74 72 79 20 74 6f 20 62 | 65 20 72 65 6d 6f 76 65 |try to b|e remove|
|000024e0| 64 20 6f 72 20 6f 6e 65 | 20 6f 66 5c 5c 0a 4d 55 |d or one| of\\.MU|
|000024f0| 49 56 5c 5f 4c 69 73 74 | 5c 5f 52 65 6d 6f 76 65 |IV\_List|\_Remove|
|00002500| 5c 5f 46 69 72 73 74 2c | 5c 5c 0a 4d 55 49 56 5c |\_First,|\\.MUIV\|
|00002510| 5f 4c 69 73 74 5c 5f 52 | 65 6d 6f 76 65 5c 5f 41 |_List\_R|emove\_A|
|00002520| 63 74 69 76 65 2c 5c 5c | 0a 4d 55 49 56 5c 5f 4c |ctive,\\|.MUIV\_L|
|00002530| 69 73 74 5c 5f 52 65 6d | 6f 76 65 5c 5f 4c 61 73 |ist\_Rem|ove\_Las|
|00002540| 74 2e 5c 5c 0a 57 68 65 | 6e 20 74 68 65 20 61 63 |t.\\.Whe|n the ac|
|00002550| 74 69 76 65 20 65 6e 74 | 72 79 20 69 73 20 72 65 |tive ent|ry is re|
|00002560| 6d 6f 76 65 64 2c 20 74 | 68 65 20 66 6f 6c 6c 6f |moved, t|he follo|
|00002570| 77 69 6e 67 20 65 6e 74 | 72 79 0a 77 69 6c 6c 20 |wing ent|ry.will |
|00002580| 62 65 63 6f 6d 65 20 61 | 63 74 69 76 65 2e 0a 5c |become a|ctive..\|
|00002590| 65 6e 64 7b 64 65 73 63 | 72 69 70 74 69 6f 6e 7d |end{desc|ription}|
|000025a0| 0a 0a 5c 73 75 62 73 75 | 62 73 65 63 74 69 6f 6e |..\subsu|bsection|
|000025b0| 2a 7b 45 58 41 4d 50 4c | 45 7d 0a 5c 73 6d 61 6c |*{EXAMPL|E}.\smal|
|000025c0| 6c 0a 5c 62 65 67 69 6e | 7b 76 65 72 62 61 74 69 |l.\begin|{verbati|
|000025d0| 6d 7d 0a 2f 2a 20 77 68 | 65 6e 20 64 65 6c 65 74 |m}./* wh|en delet|
|000025e0| 65 20 69 73 20 70 72 65 | 73 73 65 64 2c 20 72 65 |e is pre|ssed, re|
|000025f0| 6d 6f 76 65 20 74 68 65 | 20 61 63 74 69 76 65 20 |move the| active |
|00002600| 65 6e 74 72 79 20 2a 2f | 0a 44 6f 4d 65 74 68 6f |entry */|.DoMetho|
|00002610| 64 28 62 74 64 65 6c 2c | 4d 55 49 4d 5f 4e 6f 74 |d(btdel,|MUIM_Not|
|00002620| 69 66 79 2c 4d 55 49 41 | 5f 50 72 65 73 73 65 64 |ify,MUIA|_Pressed|
|00002630| 2c 46 41 4c 53 45 2c 0a | 20 20 20 6c 69 73 74 2c |,FALSE,.| list,|
|00002640| 32 2c 4d 55 49 4d 5f 4c | 69 73 74 5f 52 65 6d 6f |2,MUIM_L|ist_Remo|
|00002650| 76 65 2c 4d 55 49 56 5f | 4c 69 73 74 5f 52 65 6d |ve,MUIV_|List_Rem|
|00002660| 6f 76 65 5f 41 63 74 69 | 76 65 29 3b 0a 0a 5c 65 |ove_Acti|ve);..\e|
|00002670| 6e 64 7b 76 65 72 62 61 | 74 69 6d 7d 0a 5c 6e 6f |nd{verba|tim}.\no|
|00002680| 72 6d 61 6c 73 69 7a 65 | 0a 5c 73 75 62 73 75 62 |rmalsize|.\subsub|
|00002690| 73 65 63 74 69 6f 6e 2a | 7b 53 45 45 20 41 4c 53 |section*|{SEE ALS|
|000026a0| 4f 7d 0a 4d 55 49 4d 5c | 5f 4c 69 73 74 5c 5f 49 |O}.MUIM\|_List\_I|
|000026b0| 6e 73 65 72 74 2c 20 4d | 55 49 41 5c 5f 4c 69 73 |nsert, M|UIA\_Lis|
|000026c0| 74 5c 5f 44 65 73 74 72 | 75 63 74 48 6f 6f 6b 0a |t\_Destr|uctHook.|
|000026d0| 0a 5c 73 75 62 73 65 63 | 74 69 6f 6e 5b 4d 55 49 |.\subsec|tion[MUI|
|000026e0| 4d 5c 5f 4c 69 73 74 5c | 5f 53 65 6c 65 63 74 5d |M\_List\|_Select]|
|000026f0| 7b 4d 55 49 4d 5c 5f 4c | 69 73 74 5c 5f 53 65 6c |{MUIM\_L|ist\_Sel|
|00002700| 65 63 74 20 28 56 34 29 | 7d 0a 0a 5c 73 75 62 73 |ect (V4)|}..\subs|
|00002710| 75 62 73 65 63 74 69 6f | 6e 2a 7b 53 59 4e 4f 50 |ubsectio|n*{SYNOP|
|00002720| 53 49 53 7d 0a 44 6f 4d | 65 74 68 6f 64 28 6f 62 |SIS}.DoM|ethod(ob|
|00002730| 6a 2c 4d 55 49 4d 5c 5f | 4c 69 73 74 5c 5f 53 65 |j,MUIM\_|List\_Se|
|00002740| 6c 65 63 74 2c 4c 4f 4e | 47 20 70 6f 73 2c 20 4c |lect,LON|G pos, L|
|00002750| 4f 4e 47 20 73 65 6c 74 | 79 70 65 2c 20 4c 4f 4e |ONG selt|ype, LON|
|00002760| 47 20 24 5c 61 73 74 24 | 73 74 61 74 65 29 3b 0a |G $\ast$|state);.|
|00002770| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|00002780| 7b 46 55 4e 43 54 49 4f | 4e 7d 0a 53 65 6c 65 63 |{FUNCTIO|N}.Selec|
|00002790| 74 2f 64 65 73 65 6c 65 | 63 74 20 61 20 6c 69 73 |t/desele|ct a lis|
|000027a0| 74 20 65 6e 74 72 79 20 | 6f 72 20 61 73 6b 20 61 |t entry |or ask a|
|000027b0| 6e 20 65 6e 74 72 79 20 | 69 66 20 69 74 73 0a 73 |n entry |if its.s|
|000027c0| 65 6c 65 63 74 65 64 2e | 0a 0a 5c 73 75 62 73 75 |elected.|..\subsu|
|000027d0| 62 73 65 63 74 69 6f 6e | 2a 7b 49 4e 50 55 54 53 |bsection|*{INPUTS|
|000027e0| 7d 0a 5c 62 65 67 69 6e | 7b 64 65 73 63 72 69 70 |}.\begin|{descrip|
|000027f0| 74 69 6f 6e 7d 0a 5c 69 | 74 65 6d 5b 70 6f 73 5d |tion}.\i|tem[pos]|
|00002800| 20 20 20 20 20 2d 20 4e | 75 6d 62 65 72 20 6f 66 | - N|umber of|
|00002810| 20 74 68 65 20 65 6e 74 | 72 79 20 6f 72 0a 5c 62 | the ent|ry or.\b|
|00002820| 65 67 69 6e 7b 63 65 6e | 74 65 72 7d 20 5c 62 65 |egin{cen|ter} \be|
|00002830| 67 69 6e 7b 74 61 62 75 | 6c 61 72 7d 7b 6c 6c 7d |gin{tabu|lar}{ll}|
|00002840| 0a 4d 55 49 56 5c 5f 4c | 69 73 74 5c 5f 53 65 6c |.MUIV\_L|ist\_Sel|
|00002850| 65 63 74 5c 5f 41 63 74 | 69 76 65 20 26 20 66 6f |ect\_Act|ive & fo|
|00002860| 72 20 74 68 65 20 61 63 | 74 69 76 65 20 65 6e 74 |r the ac|tive ent|
|00002870| 72 79 2e 5c 5c 0a 4d 55 | 49 56 5c 5f 4c 69 73 74 |ry.\\.MU|IV\_List|
|00002880| 5c 5f 53 65 6c 65 63 74 | 5c 5f 41 6c 6c 20 20 20 |\_Select|\_All |
|00002890| 20 26 20 66 6f 72 20 61 | 6c 6c 20 65 6e 74 72 69 | & for a|ll entri|
|000028a0| 65 73 2e 5c 5c 0a 5c 65 | 6e 64 7b 74 61 62 75 6c |es.\\.\e|nd{tabul|
|000028b0| 61 72 7d 20 5c 65 6e 64 | 7b 63 65 6e 74 65 72 7d |ar} \end|{center}|
|000028c0| 0a 0a 5c 69 74 65 6d 5b | 73 65 6c 74 79 70 65 5d |..\item[|seltype]|
|000028d0| 20 2d 20 56 61 6c 75 65 | 3a 0a 5c 62 65 67 69 6e | - Value|:.\begin|
|000028e0| 7b 63 65 6e 74 65 72 7d | 20 5c 62 65 67 69 6e 7b |{center}| \begin{|
|000028f0| 74 61 62 75 6c 61 72 7d | 7b 6c 6c 7d 0a 4d 55 49 |tabular}|{ll}.MUI|
|00002900| 56 5c 5f 4c 69 73 74 5c | 5f 53 65 6c 65 63 74 5c |V\_List\|_Select\|
|00002910| 5f 4f 66 66 20 26 20 20 | 20 20 75 6e 73 65 6c 65 |_Off & | unsele|
|00002920| 63 74 20 65 6e 74 72 79 | 2e 5c 5c 0a 4d 55 49 56 |ct entry|.\\.MUIV|
|00002930| 5c 5f 4c 69 73 74 5c 5f | 53 65 6c 65 63 74 5c 5f |\_List\_|Select\_|
|00002940| 4f 6e 20 20 20 20 20 20 | 26 73 65 6c 65 63 74 20 |On |&select |
|00002950| 65 6e 74 72 79 2e 5c 5c | 0a 4d 55 49 56 5c 5f 4c |entry.\\|.MUIV\_L|
|00002960| 69 73 74 5c 5f 53 65 6c | 65 63 74 5c 5f 54 6f 67 |ist\_Sel|ect\_Tog|
|00002970| 67 6c 65 20 26 20 20 74 | 6f 67 67 6c 65 20 65 6e |gle & t|oggle en|
|00002980| 74 72 79 2e 5c 5c 0a 4d | 55 49 56 5c 5f 4c 69 73 |try.\\.M|UIV\_Lis|
|00002990| 74 5c 5f 53 65 6c 65 63 | 74 5c 5f 41 73 6b 20 20 |t\_Selec|t\_Ask |
|000029a0| 20 20 26 20 6a 75 73 74 | 20 61 73 6b 20 61 62 6f | & just| ask abo|
|000029b0| 75 74 20 74 68 65 20 73 | 74 61 74 65 2e 5c 5c 0a |ut the s|tate.\\.|
|000029c0| 5c 65 6e 64 7b 74 61 62 | 75 6c 61 72 7d 20 5c 65 |\end{tab|ular} \e|
|000029d0| 6e 64 7b 63 65 6e 74 65 | 72 7d 0a 0a 5c 69 74 65 |nd{cente|r}..\ite|
|000029e0| 6d 5b 73 74 61 74 65 5d | 20 20 20 2d 20 50 6f 69 |m[state]| - Poi|
|000029f0| 6e 74 65 72 20 74 6f 20 | 61 20 6c 6f 6e 67 77 6f |nter to |a longwo|
|00002a00| 72 64 2e 20 49 66 20 6e | 6f 74 20 4e 55 4c 4c 2c |rd. If n|ot NULL,|
|00002a10| 20 74 68 69 73 20 77 69 | 6c 6c 0a 62 65 20 66 69 | this wi|ll.be fi|
|00002a20| 6c 6c 65 64 20 77 69 74 | 68 20 74 68 65 20 63 75 |lled wit|h the cu|
|00002a30| 72 72 65 6e 74 20 73 65 | 6c 65 63 74 69 6f 6e 20 |rrent se|lection |
|00002a40| 73 74 61 74 65 2e 0a 5c | 65 6e 64 7b 64 65 73 63 |state..\|end{desc|
|00002a50| 72 69 70 74 69 6f 6e 7d | 0a 0a 5c 73 75 62 73 75 |ription}|..\subsu|
|00002a60| 62 73 65 63 74 69 6f 6e | 2a 7b 4e 4f 54 45 7d 0a |bsection|*{NOTE}.|
|00002a70| 53 69 6e 63 65 20 76 65 | 72 73 69 6f 6e 20 56 39 |Since ve|rsion V9|
|00002a80| 20 6f 66 20 6d 75 69 6d | 61 73 74 65 72 2e 6c 69 | of muim|aster.li|
|00002a90| 62 72 61 72 79 3a 0a 49 | 66 20 70 6f 73 3d 3d 4d |brary:.I|f pos==M|
|00002aa0| 55 49 56 5c 5f 4c 69 73 | 74 5c 5f 53 65 6c 65 63 |UIV\_Lis|t\_Selec|
|00002ab0| 74 5c 5f 41 6c 6c 20 61 | 6e 64 20 73 65 6c 74 79 |t\_All a|nd selty|
|00002ac0| 70 65 3d 3d 4d 55 49 56 | 5c 5f 4c 69 73 74 5c 5f |pe==MUIV|\_List\_|
|00002ad0| 53 65 6c 65 63 74 5c 5f | 41 73 6b 2c 0a 73 74 61 |Select\_|Ask,.sta|
|00002ae0| 74 65 20 77 69 6c 6c 20 | 62 65 20 66 69 6c 6c 65 |te will |be fille|
|00002af0| 64 20 77 69 74 68 20 74 | 68 65 20 74 6f 74 61 6c |d with t|he total|
|00002b00| 20 6e 75 6d 62 65 72 20 | 6f 66 20 73 65 6c 65 63 | number |of selec|
|00002b10| 74 65 64 20 65 6e 74 72 | 69 65 73 2e 0a 0a 5c 73 |ted entr|ies...\s|
|00002b20| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 45 58 |ubsubsec|tion*{EX|
|00002b30| 41 4d 50 4c 45 7d 0a 5c | 73 6d 61 6c 6c 0a 5c 62 |AMPLE}.\|small.\b|
|00002b40| 65 67 69 6e 7b 76 65 72 | 62 61 74 69 6d 7d 0a 2f |egin{ver|batim}./|
|00002b50| 2a 20 74 6f 67 67 6c 65 | 20 73 65 6c 65 63 74 69 |* toggle| selecti|
|00002b60| 6f 6e 20 73 74 61 74 65 | 20 6f 66 20 61 63 74 69 |on state| of acti|
|00002b70| 76 65 20 65 6e 74 72 79 | 20 2a 2f 0a 44 6f 4d 65 |ve entry| */.DoMe|
|00002b80| 74 68 6f 64 28 6c 69 73 | 74 2c 4d 55 49 4d 5f 4c |thod(lis|t,MUIM_L|
|00002b90| 69 73 74 5f 53 65 6c 65 | 63 74 2c 4d 55 49 56 5f |ist_Sele|ct,MUIV_|
|00002ba0| 4c 69 73 74 5f 53 65 6c | 65 63 74 5f 41 63 74 69 |List_Sel|ect_Acti|
|00002bb0| 76 65 2c 0a 20 20 20 4d | 55 49 56 5f 4c 69 73 74 |ve,. M|UIV_List|
|00002bc0| 5f 53 65 6c 65 63 74 5f | 54 6f 67 67 6c 65 2c 4e |_Select_|Toggle,N|
|00002bd0| 55 4c 4c 29 3b 0a 0a 2f | 2a 20 73 65 6c 65 63 74 |ULL);../|* select|
|00002be0| 20 61 6c 6c 20 65 6e 74 | 72 69 65 73 20 2a 2f 0a | all ent|ries */.|
|00002bf0| 44 6f 4d 65 74 68 6f 64 | 28 6c 69 73 74 2c 4d 55 |DoMethod|(list,MU|
|00002c00| 49 4d 5f 4c 69 73 74 5f | 53 65 6c 65 63 74 2c 4d |IM_List_|Select,M|
|00002c10| 55 49 56 5f 4c 69 73 74 | 5f 53 65 6c 65 63 74 5f |UIV_List|_Select_|
|00002c20| 41 6c 6c 2c 0a 20 20 20 | 4d 55 49 56 5f 4c 69 73 |All,. |MUIV_Lis|
|00002c30| 74 5f 53 65 6c 65 63 74 | 5f 4f 6e 2c 4e 55 4c 4c |t_Select|_On,NULL|
|00002c40| 29 3b 0a 0a 5c 65 6e 64 | 7b 76 65 72 62 61 74 69 |);..\end|{verbati|
|00002c50| 6d 7d 0a 5c 6e 6f 72 6d | 61 6c 73 69 7a 65 0a 5c |m}.\norm|alsize.\|
|00002c60| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 53 |subsubse|ction*{S|
|00002c70| 45 45 20 41 4c 53 4f 7d | 0a 4d 55 49 41 5c 5f 4c |EE ALSO}|.MUIA\_L|
|00002c80| 69 73 74 5c 5f 4d 75 6c | 74 69 54 65 73 74 5c 5f |ist\_Mul|tiTest\_|
|00002c90| 48 6f 6f 6b 0a 0a 5c 73 | 75 62 73 65 63 74 69 6f |Hook..\s|ubsectio|
|00002ca0| 6e 5b 4d 55 49 4d 5c 5f | 4c 69 73 74 5c 5f 53 6f |n[MUIM\_|List\_So|
|00002cb0| 72 74 5d 7b 4d 55 49 4d | 5c 5f 4c 69 73 74 5c 5f |rt]{MUIM|\_List\_|
|00002cc0| 53 6f 72 74 20 28 56 34 | 29 7d 0a 0a 5c 73 75 62 |Sort (V4|)}..\sub|
|00002cd0| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 53 59 4e 4f |subsecti|on*{SYNO|
|00002ce0| 50 53 49 53 7d 0a 44 6f | 4d 65 74 68 6f 64 28 6f |PSIS}.Do|Method(o|
|00002cf0| 62 6a 2c 4d 55 49 4d 5c | 5f 4c 69 73 74 5c 5f 53 |bj,MUIM\|_List\_S|
|00002d00| 6f 72 74 2c 29 3b 0a 0a | 5c 73 75 62 73 75 62 73 |ort,);..|\subsubs|
|00002d10| 65 63 74 69 6f 6e 2a 7b | 46 55 4e 43 54 49 4f 4e |ection*{|FUNCTION|
|00002d20| 7d 0a 53 6f 72 74 20 74 | 68 65 20 6c 69 73 74 2e |}.Sort t|he list.|
|00002d30| 20 4d 55 49 20 75 73 65 | 73 20 61 6e 20 69 74 65 | MUI use|s an ite|
|00002d40| 72 61 74 69 76 65 20 71 | 75 69 63 6b 73 6f 72 74 |rative q|uicksort|
|00002d50| 20 61 6c 67 6f 72 69 74 | 68 6d 2c 0a 6e 6f 20 73 | algorit|hm,.no s|
|00002d60| 74 61 63 6b 20 70 72 6f | 62 6c 65 6d 73 20 77 69 |tack pro|blems wi|
|00002d70| 6c 6c 20 6f 63 63 75 72 | 2e 0a 0a 5c 73 75 62 73 |ll occur|...\subs|
|00002d80| 75 62 73 65 63 74 69 6f | 6e 2a 7b 53 45 45 20 41 |ubsectio|n*{SEE A|
|00002d90| 4c 53 4f 7d 0a 4d 55 49 | 41 5c 5f 4c 69 73 74 5c |LSO}.MUI|A\_List\|
|00002da0| 5f 43 6f 6d 70 61 72 65 | 48 6f 6f 6b 0a 0a 5c 73 |_Compare|Hook..\s|
|00002db0| 75 62 73 65 63 74 69 6f | 6e 5b 4d 55 49 41 5c 5f |ubsectio|n[MUIA\_|
|00002dc0| 4c 69 73 74 5c 5f 41 63 | 74 69 76 65 5d 7b 4d 55 |List\_Ac|tive]{MU|
|00002dd0| 49 41 5c 5f 4c 69 73 74 | 5c 5f 41 63 74 69 76 65 |IA\_List|\_Active|
|00002de0| 20 2d 2d 20 28 56 34 29 | 20 5b 49 53 47 5d 2c 20 | -- (V4)| [ISG], |
|00002df0| 4c 4f 4e 47 7d 0a 0a 5c | 73 75 62 73 75 62 73 65 |LONG}..\|subsubse|
|00002e00| 63 74 69 6f 6e 2a 7b 53 | 50 45 43 49 41 4c 20 49 |ction*{S|PECIAL I|
|00002e10| 4e 50 55 54 53 7d 0a 4d | 55 49 56 5c 5f 4c 69 73 |NPUTS}.M|UIV\_Lis|
|00002e20| 74 5c 5f 41 63 74 69 76 | 65 5c 5f 4f 66 66 5c 5c |t\_Activ|e\_Off\\|
|00002e30| 0a 4d 55 49 56 5c 5f 4c | 69 73 74 5c 5f 41 63 74 |.MUIV\_L|ist\_Act|
|00002e40| 69 76 65 5c 5f 54 6f 70 | 5c 5c 0a 4d 55 49 56 5c |ive\_Top|\\.MUIV\|
|00002e50| 5f 4c 69 73 74 5c 5f 41 | 63 74 69 76 65 5c 5f 42 |_List\_A|ctive\_B|
|00002e60| 6f 74 74 6f 6d 5c 5c 0a | 4d 55 49 56 5c 5f 4c 69 |ottom\\.|MUIV\_Li|
|00002e70| 73 74 5c 5f 41 63 74 69 | 76 65 5c 5f 55 70 5c 5c |st\_Acti|ve\_Up\\|
|00002e80| 0a 4d 55 49 56 5c 5f 4c | 69 73 74 5c 5f 41 63 74 |.MUIV\_L|ist\_Act|
|00002e90| 69 76 65 5c 5f 44 6f 77 | 6e 5c 5c 0a 4d 55 49 56 |ive\_Dow|n\\.MUIV|
|00002ea0| 5c 5f 4c 69 73 74 5c 5f | 41 63 74 69 76 65 5c 5f |\_List\_|Active\_|
|00002eb0| 50 61 67 65 55 70 5c 5c | 0a 4d 55 49 56 5c 5f 4c |PageUp\\|.MUIV\_L|
|00002ec0| 69 73 74 5c 5f 41 63 74 | 69 76 65 5c 5f 50 61 67 |ist\_Act|ive\_Pag|
|00002ed0| 65 44 6f 77 6e 0a 0a 5c | 73 75 62 73 75 62 73 65 |eDown..\|subsubse|
|00002ee0| 63 74 69 6f 6e 2a 7b 46 | 55 4e 43 54 49 4f 4e 7d |ction*{F|UNCTION}|
|00002ef0| 0a 52 65 61 64 69 6e 67 | 20 74 68 69 73 20 61 74 |.Reading| this at|
|00002f00| 74 72 69 62 75 74 65 20 | 77 69 6c 6c 20 72 65 74 |tribute |will ret|
|00002f10| 75 72 6e 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |urn the |number o|
|00002f20| 66 0a 74 68 65 20 61 63 | 74 69 76 65 20 65 6e 74 |f.the ac|tive ent|
|00002f30| 72 79 20 28 74 68 65 20 | 6f 6e 65 20 77 69 74 68 |ry (the |one with|
|00002f40| 20 74 68 65 20 63 75 72 | 73 6f 72 20 6f 6e 20 69 | the cur|sor on i|
|00002f50| 74 29 2e 0a 54 68 65 20 | 72 65 73 75 6c 74 20 69 |t)..The |result i|
|00002f60| 73 20 62 65 74 77 65 65 | 6e 20 30 20 61 6e 64 20 |s betwee|n 0 and |
|00002f70| 4d 55 49 41 5c 5f 4c 69 | 73 74 5c 5f 45 6e 74 72 |MUIA\_Li|st\_Entr|
|00002f80| 69 65 73 2d 31 0a 6f 72 | 20 4d 55 49 56 5c 5f 4c |ies-1.or| MUIV\_L|
|00002f90| 69 73 74 5c 5f 41 63 74 | 69 76 65 5c 5f 4f 66 66 |ist\_Act|ive\_Off|
|00002fa0| 2c 20 69 6e 20 77 68 69 | 63 68 20 63 61 73 65 20 |, in whi|ch case |
|00002fb0| 74 68 65 72 65 20 69 73 | 0a 63 75 72 72 65 6e 74 |there is|.current|
|00002fc0| 6c 79 20 6e 6f 20 61 63 | 74 69 76 65 20 65 6e 74 |ly no ac|tive ent|
|00002fd0| 72 79 2e 0a 0a 53 65 74 | 74 69 6e 67 20 74 68 65 |ry...Set|ting the|
|00002fe0| 20 61 74 74 72 69 62 75 | 74 65 20 77 69 6c 6c 20 | attribu|te will |
|00002ff0| 63 61 75 73 65 20 74 68 | 65 20 6c 69 73 74 20 74 |cause th|e list t|
|00003000| 6f 0a 6d 6f 76 65 20 74 | 68 65 20 63 75 72 73 6f |o.move t|he curso|
|00003010| 72 20 74 6f 20 74 68 65 | 20 6e 65 77 20 70 6f 73 |r to the| new pos|
|00003020| 69 74 69 6f 6e 20 61 6e | 64 20 73 63 72 6f 6c 6c |ition an|d scroll|
|00003030| 0a 74 68 69 73 20 70 6f | 73 69 74 69 6f 6e 20 69 |.this po|sition i|
|00003040| 6e 74 6f 20 74 68 65 20 | 76 69 73 69 62 6c 65 20 |nto the |visible |
|00003050| 61 72 65 61 2e 0a 0a 5c | 73 75 62 73 75 62 73 65 |area...\|subsubse|
|00003060| 63 74 69 6f 6e 2a 7b 53 | 45 45 20 41 4c 53 4f 7d |ction*{S|EE ALSO}|
|00003070| 0a 4d 55 49 41 5c 5f 4c | 69 73 74 5c 5f 45 6e 74 |.MUIA\_L|ist\_Ent|
|00003080| 72 69 65 73 2c 20 4d 55 | 49 41 5c 5f 4c 69 73 74 |ries, MU|IA\_List|
|00003090| 5c 5f 46 69 72 73 74 2c | 20 4d 55 49 41 5c 5f 4c |\_First,| MUIA\_L|
|000030a0| 69 73 74 5c 5f 56 69 73 | 69 62 6c 65 0a 0a 5c 73 |ist\_Vis|ible..\s|
|000030b0| 75 62 73 65 63 74 69 6f | 6e 5b 4d 55 49 41 5c 5f |ubsectio|n[MUIA\_|
|000030c0| 4c 69 73 74 5c 5f 41 64 | 6a 75 73 74 48 65 69 67 |List\_Ad|justHeig|
|000030d0| 68 74 5d 7b 4d 55 49 41 | 5c 5f 4c 69 73 74 5c 5f |ht]{MUIA|\_List\_|
|000030e0| 41 64 6a 75 73 74 48 65 | 69 67 68 74 20 2d 2d 20 |AdjustHe|ight -- |
|000030f0| 28 56 34 29 20 5b 49 2e | 2e 5d 2c 20 42 4f 4f 4c |(V4) [I.|.], BOOL|
|00003100| 7d 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |}..\subs|ubsectio|
|00003110| 6e 2a 7b 46 55 4e 43 54 | 49 4f 4e 7d 0a 41 20 6c |n*{FUNCT|ION}.A l|
|00003120| 69 73 74 20 77 69 74 68 | 20 4d 55 49 41 5c 5f 4c |ist with| MUIA\_L|
|00003130| 69 73 74 5c 5f 41 64 6a | 75 73 74 48 65 69 67 68 |ist\_Adj|ustHeigh|
|00003140| 74 20 73 65 74 20 74 6f | 20 74 72 75 65 20 69 73 |t set to| true is|
|00003150| 20 65 78 61 63 74 6c 79 | 0a 61 73 20 68 69 67 68 | exactly|.as high|
|00003160| 20 61 73 20 61 6c 6c 20 | 6f 66 20 69 74 73 20 65 | as all |of its e|
|00003170| 6e 74 72 69 65 73 20 61 | 6e 64 20 6e 6f 74 20 72 |ntries a|nd not r|
|00003180| 65 73 69 7a 61 62 6c 65 | 2e 20 54 68 69 73 20 69 |esizable|. This i|
|00003190| 73 0a 6f 6e 6c 79 20 70 | 6f 73 73 69 62 6c 65 20 |s.only p|ossible |
|000031a0| 77 68 65 6e 20 74 68 65 | 20 6c 69 73 74 20 69 73 |when the| list is|
|000031b0| 20 66 69 6c 6c 65 64 20 | 24 5c 61 73 74 24 62 65 | filled |$\ast$be|
|000031c0| 66 6f 72 65 24 5c 61 73 | 74 24 20 74 68 65 20 77 |fore$\as|t$ the w|
|000031d0| 69 6e 64 6f 77 0a 69 73 | 20 6f 70 65 6e 65 64 2e |indow.is| opened.|
|000031e0| 0a 0a 5c 73 75 62 73 75 | 62 73 65 63 74 69 6f 6e |..\subsu|bsection|
|000031f0| 2a 7b 53 45 45 20 41 4c | 53 4f 7d 0a 4d 55 49 41 |*{SEE AL|SO}.MUIA|
|00003200| 5c 5f 4c 69 73 74 5c 5f | 41 64 6a 75 73 74 57 69 |\_List\_|AdjustWi|
|00003210| 64 74 68 0a 0a 5c 73 75 | 62 73 65 63 74 69 6f 6e |dth..\su|bsection|
|00003220| 5b 4d 55 49 41 5c 5f 4c | 69 73 74 5c 5f 41 64 6a |[MUIA\_L|ist\_Adj|
|00003230| 75 73 74 57 69 64 74 68 | 5d 7b 4d 55 49 41 5c 5f |ustWidth|]{MUIA\_|
|00003240| 4c 69 73 74 5c 5f 41 64 | 6a 75 73 74 57 69 64 74 |List\_Ad|justWidt|
|00003250| 68 20 2d 2d 20 28 56 34 | 29 20 5b 49 2e 2e 5d 2c |h -- (V4|) [I..],|
|00003260| 20 42 4f 4f 4c 7d 0a 0a | 5c 73 75 62 73 75 62 73 | BOOL}..|\subsubs|
|00003270| 65 63 74 69 6f 6e 2a 7b | 46 55 4e 43 54 49 4f 4e |ection*{|FUNCTION|
|00003280| 7d 0a 41 20 6c 69 73 74 | 20 77 69 74 68 20 4d 55 |}.A list| with MU|
|00003290| 49 41 5c 5f 4c 69 73 74 | 5c 5f 41 64 6a 75 73 74 |IA\_List|\_Adjust|
|000032a0| 57 69 64 74 68 20 73 65 | 74 20 74 6f 20 74 72 75 |Width se|t to tru|
|000032b0| 65 20 69 73 20 65 78 61 | 63 74 6c 79 0a 61 73 20 |e is exa|ctly.as |
|000032c0| 77 69 64 65 20 61 73 20 | 74 68 65 20 77 69 64 65 |wide as |the wide|
|000032d0| 73 74 20 65 6e 74 72 79 | 20 61 6e 64 20 6e 6f 74 |st entry| and not|
|000032e0| 20 72 65 73 69 7a 61 62 | 6c 65 2e 20 54 68 69 73 | resizab|le. This|
|000032f0| 20 69 73 0a 6f 6e 6c 79 | 20 70 6f 73 73 69 62 6c | is.only| possibl|
|00003300| 65 20 77 68 65 6e 20 74 | 68 65 20 6c 69 73 74 20 |e when t|he list |
|00003310| 69 73 20 66 69 6c 6c 65 | 64 20 7b 5c 62 66 20 62 |is fille|d {\bf b|
|00003320| 65 66 6f 72 65 7d 20 74 | 68 65 20 77 69 6e 64 6f |efore} t|he windo|
|00003330| 77 0a 69 73 20 6f 70 65 | 6e 65 64 2e 0a 0a 5c 73 |w.is ope|ned...\s|
|00003340| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 53 45 |ubsubsec|tion*{SE|
|00003350| 45 20 41 4c 53 4f 7d 0a | 4d 55 49 41 5c 5f 4c 69 |E ALSO}.|MUIA\_Li|
|00003360| 73 74 5c 5f 41 64 6a 75 | 73 74 48 65 69 67 68 74 |st\_Adju|stHeight|
|00003370| 0a 0a 5c 73 75 62 73 65 | 63 74 69 6f 6e 5b 4d 55 |..\subse|ction[MU|
|00003380| 49 41 5c 5f 4c 69 73 74 | 5c 5f 43 6f 6d 70 61 72 |IA\_List|\_Compar|
|00003390| 65 48 6f 6f 6b 5d 7b 4d | 55 49 41 5c 5f 4c 69 73 |eHook]{M|UIA\_Lis|
|000033a0| 74 5c 5f 43 6f 6d 70 61 | 72 65 48 6f 6f 6b 20 2d |t\_Compa|reHook -|
|000033b0| 2d 20 28 56 34 29 20 5b | 49 53 2e 5d 2c 20 73 74 |- (V4) [|IS.], st|
|000033c0| 72 75 63 74 20 48 6f 6f | 6b 20 24 5c 61 73 74 24 |ruct Hoo|k $\ast$|
|000033d0| 7d 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |}..\subs|ubsectio|
|000033e0| 6e 2a 7b 46 55 4e 43 54 | 49 4f 4e 7d 0a 49 66 20 |n*{FUNCT|ION}.If |
|000033f0| 79 6f 75 20 70 6c 61 6e | 20 74 6f 20 68 61 76 65 |you plan| to have|
|00003400| 20 74 68 65 20 65 6e 74 | 72 69 65 73 20 6f 66 20 | the ent|ries of |
|00003410| 79 6f 75 72 20 6c 69 73 | 74 20 73 6f 72 74 65 64 |your lis|t sorted|
|00003420| 0a 28 65 69 74 68 65 72 | 20 62 79 20 69 6e 73 65 |.(either| by inse|
|00003430| 72 74 69 6e 67 20 74 68 | 65 6d 20 73 6f 72 74 65 |rting th|em sorte|
|00003440| 64 20 6f 72 20 62 79 20 | 75 73 69 6e 67 20 74 68 |d or by |using th|
|00003450| 65 0a 4d 55 49 4d 5c 5f | 4c 69 73 74 5c 5f 53 6f |e.MUIM\_|List\_So|
|00003460| 72 74 20 6d 65 74 68 6f | 64 29 20 61 6e 64 20 69 |rt metho|d) and i|
|00003470| 66 20 74 68 65 20 65 6e | 74 72 69 65 73 20 6f 66 |f the en|tries of|
|00003480| 20 79 6f 75 72 0a 6c 69 | 73 74 20 61 72 65 20 6e | your.li|st are n|
|00003490| 6f 74 20 73 69 6d 70 6c | 65 20 73 74 72 69 6e 67 |ot simpl|e string|
|000034a0| 73 2c 20 79 6f 75 20 7b | 5c 62 66 20 6d 75 73 74 |s, you {|\bf must|
|000034b0| 7d 20 73 75 70 70 6c 79 | 0a 61 20 63 6f 6d 70 61 |} supply|.a compa|
|000034c0| 72 65 20 68 6f 6f 6b 2e | 0a 0a 54 68 69 73 20 68 |re hook.|..This h|
|000034d0| 6f 6f 6b 20 77 69 6c 6c | 20 62 65 20 63 61 6c 6c |ook will| be call|
|000034e0| 65 64 20 77 69 74 68 20 | 6f 6e 65 20 6c 69 73 74 |ed with |one list|
|000034f0| 20 65 6c 65 6d 65 6e 74 | 20 69 6e 20 41 31 0a 61 | element| in A1.a|
|00003500| 6e 64 20 61 6e 6f 74 68 | 65 72 20 6f 6e 65 20 69 |nd anoth|er one i|
|00003510| 6e 20 41 32 2e 20 59 6f | 75 20 73 68 6f 75 6c 64 |n A2. Yo|u should|
|00003520| 20 72 65 74 75 72 6e 0a | 0a 5c 62 65 67 69 6e 7b | return.|.\begin{|
|00003530| 63 65 6e 74 65 72 7d 20 | 5c 62 65 67 69 6e 7b 74 |center} |\begin{t|
|00003540| 61 62 75 6c 61 72 7d 7b | 63 7c 6c 63 6c 7d 0a 72 |abular}{|c|lcl}.r|
|00003550| 65 74 75 72 6e 20 76 61 | 6c 75 65 20 26 20 5c 6d |eturn va|lue & \m|
|00003560| 75 6c 74 69 63 6f 6c 75 | 6d 6e 7b 33 7d 7b 63 7d |ulticolu|mn{3}{c}|
|00003570| 7b 73 74 61 74 65 6d 65 | 6e 74 7d 5c 5c 20 5c 68 |{stateme|nt}\\ \h|
|00003580| 6c 69 6e 65 0a 2d 31 20 | 26 20 20 65 31 26 20 5c |line.-1 |& e1& \|
|00003590| 66 6c 71 20 26 20 65 32 | 5c 5c 0a 30 20 26 20 20 |flq & e2|\\.0 & |
|000035a0| 65 31 26 20 3d 3d 26 20 | 65 32 5c 5c 0a 31 a0 26 |e1& ==& |e2\\.1.&|
|000035b0| 20 20 65 31 26 20 5c 66 | 72 71 20 26 20 65 32 5c | e1& \f|rq & e2\|
|000035c0| 5c 0a 5c 65 6e 64 7b 74 | 61 62 75 6c 61 72 7d 20 |\.\end{t|abular} |
|000035d0| 5c 65 6e 64 7b 63 65 6e | 74 65 72 7d 0a 0a 5c 73 |\end{cen|ter}..\s|
|000035e0| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 45 58 |ubsubsec|tion*{EX|
|000035f0| 41 4d 50 4c 45 7d 0a 5c | 73 6d 61 6c 6c 0a 5c 62 |AMPLE}.\|small.\b|
|00003600| 65 67 69 6e 7b 76 65 72 | 62 61 74 69 6d 7d 0a 2f |egin{ver|batim}./|
|00003610| 2a 20 74 68 65 20 62 75 | 69 6c 74 69 6e 20 73 74 |* the bu|iltin st|
|00003620| 72 69 6e 67 20 63 6f 6d | 70 61 72 65 20 66 75 6e |ring com|pare fun|
|00003630| 63 74 69 6f 6e 20 2a 2f | 0a 0a 20 20 20 20 20 20 |ction */|.. |
|00003640| 20 20 4c 4f 4e 47 20 5f | 5f 61 73 6d 20 63 6d 70 | LONG _|_asm cmp|
|00003650| 66 75 6e 63 28 5f 61 31 | 20 63 68 61 72 20 2a 73 |func(_a1| char *s|
|00003660| 31 2c 5f 61 32 20 63 68 | 61 72 20 2a 73 32 29 0a |1,_a2 ch|ar *s2).|
|00003670| 7b 0a 20 20 20 72 65 74 | 75 72 6e 28 73 74 72 69 |{. ret|urn(stri|
|00003680| 63 6d 70 28 73 31 2c 73 | 32 29 29 3b 0a 7d 0a 0a |cmp(s1,s|2));.}..|
|00003690| 5c 65 6e 64 7b 76 65 72 | 62 61 74 69 6d 7d 0a 5c |\end{ver|batim}.\|
|000036a0| 6e 6f 72 6d 61 6c 73 69 | 7a 65 0a 5c 73 75 62 73 |normalsi|ze.\subs|
|000036b0| 75 62 73 65 63 74 69 6f | 6e 2a 7b 53 45 45 20 41 |ubsectio|n*{SEE A|
|000036c0| 4c 53 4f 7d 0a 4d 55 49 | 41 5c 5f 4c 69 73 74 5c |LSO}.MUI|A\_List\|
|000036d0| 5f 43 6f 6e 73 74 72 75 | 63 74 48 6f 6f 6b 2c 20 |_Constru|ctHook, |
|000036e0| 4d 55 49 41 5c 5f 4c 69 | 73 74 5c 5f 44 65 73 74 |MUIA\_Li|st\_Dest|
|000036f0| 72 75 63 74 48 6f 6f 6b | 0a 0a 5c 73 75 62 73 65 |ructHook|..\subse|
|00003700| 63 74 69 6f 6e 5b 4d 55 | 49 41 5c 5f 4c 69 73 74 |ction[MU|IA\_List|
|00003710| 5c 5f 43 6f 6e 73 74 72 | 75 63 74 48 6f 6f 6b 5d |\_Constr|uctHook]|
|00003720| 7b 4d 55 49 41 5c 5f 4c | 69 73 74 5c 5f 43 6f 6e |{MUIA\_L|ist\_Con|
|00003730| 73 74 72 75 63 74 48 6f | 6f 6b 20 2d 2d 20 28 56 |structHo|ok -- (V|
|00003740| 34 29 20 5b 49 53 2e 5d | 2c 20 73 74 72 75 63 74 |4) [IS.]|, struct|
|00003750| 20 48 6f 6f 6b 20 24 5c | 61 73 74 24 7d 0a 0a 5c | Hook $\|ast$}..\|
|00003760| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 53 |subsubse|ction*{S|
|00003770| 50 45 43 49 41 4c 20 49 | 4e 50 55 54 53 7d 0a 4d |PECIAL I|NPUTS}.M|
|00003780| 55 49 56 5c 5f 4c 69 73 | 74 5c 5f 43 6f 6e 73 74 |UIV\_Lis|t\_Const|
|00003790| 72 75 63 74 48 6f 6f 6b | 5c 5f 53 74 72 69 6e 67 |ructHook|\_String|
|000037a0| 0a 0a 5c 73 75 62 73 75 | 62 73 65 63 74 69 6f 6e |..\subsu|bsection|
|000037b0| 2a 7b 46 55 4e 43 54 49 | 4f 4e 7d 0a 54 68 65 20 |*{FUNCTI|ON}.The |
|000037c0| 63 6f 6e 73 74 72 75 63 | 74 20 68 6f 6f 6b 20 69 |construc|t hook i|
|000037d0| 73 20 63 61 6c 6c 65 64 | 20 77 68 65 6e 65 76 65 |s called| wheneve|
|000037e0| 72 20 79 6f 75 20 61 64 | 64 20 61 6e 0a 65 6e 74 |r you ad|d an.ent|
|000037f0| 72 79 20 74 6f 20 79 6f | 75 72 20 6c 69 73 74 2e |ry to yo|ur list.|
|00003800| 20 4d 55 49 20 77 69 6c | 6c 20 6e 6f 74 20 69 6e | MUI wil|l not in|
|00003810| 73 65 72 74 20 74 68 65 | 20 67 69 76 65 6e 0a 70 |sert the| given.p|
|00003820| 6f 69 6e 74 65 72 20 64 | 69 72 65 63 74 6c 79 2c |ointer d|irectly,|
|00003830| 20 62 75 74 20 69 6e 73 | 74 65 61 64 20 63 61 6c | but ins|tead cal|
|00003840| 6c 20 74 68 65 20 63 6f | 6e 73 74 72 75 63 74 0a |l the co|nstruct.|
|00003850| 68 6f 6f 6b 20 61 6e 64 | 20 61 64 64 20 69 74 73 |hook and| add its|
|00003860| 20 72 65 73 75 6c 74 20 | 63 6f 64 65 2e 0a 0a 49 | result |code...I|
|00003870| 6d 61 67 69 6e 65 20 79 | 6f 75 20 77 61 6e 74 20 |magine y|ou want |
|00003880| 74 6f 20 64 69 73 70 6c | 61 79 20 61 20 6c 69 73 |to displ|ay a lis|
|00003890| 74 20 6f 66 20 65 6e 74 | 72 69 65 73 0a 69 6e 20 |t of ent|ries.in |
|000038a0| 61 20 64 69 72 65 63 74 | 6f 72 79 2e 20 59 6f 75 |a direct|ory. You|
|000038b0| 20 63 6f 75 6c 64 20 73 | 74 65 70 20 74 68 72 6f | could s|tep thro|
|000038c0| 75 67 68 20 69 74 0a 75 | 73 69 6e 67 20 45 78 61 |ugh it.u|sing Exa|
|000038d0| 6d 69 6e 65 28 29 2f 45 | 78 4e 65 78 74 28 29 20 |mine()/E|xNext() |
|000038e0| 61 6e 64 20 64 69 72 65 | 63 74 6c 79 20 75 73 65 |and dire|ctly use|
|000038f0| 20 74 68 65 0a 4d 55 49 | 4d 5c 5f 4c 69 73 74 5c | the.MUI|M\_List\|
|00003900| 5f 49 6e 73 65 72 74 20 | 6d 65 74 68 6f 64 20 6f |_Insert |method o|
|00003910| 6e 20 79 6f 75 72 20 66 | 69 6c 65 20 69 6e 66 6f |n your f|ile info|
|00003920| 20 62 6c 6f 63 6b 0a 62 | 75 66 66 65 72 2e 0a 0a | block.b|uffer...|
|00003930| 59 6f 75 72 20 63 6f 6e | 73 74 72 75 63 74 20 68 |Your con|struct h|
|00003940| 6f 6f 6b 20 77 69 6c 6c | 20 62 65 20 63 61 6c 6c |ook will| be call|
|00003950| 65 64 20 77 69 74 68 20 | 74 68 69 73 0a 66 69 6c |ed with |this.fil|
|00003960| 65 20 69 6e 66 6f 20 62 | 6c 6f 63 6b 20 61 73 20 |e info b|lock as |
|00003970| 70 61 72 61 6d 65 74 65 | 72 2c 20 6d 61 6b 65 73 |paramete|r, makes|
|00003980| 20 61 20 63 6f 70 79 20 | 6f 66 0a 69 74 20 61 6e | a copy |of.it an|
|00003990| 64 20 72 65 74 75 72 6e | 73 20 74 68 65 20 61 64 |d return|s the ad|
|000039a0| 64 72 65 73 73 20 6f 66 | 20 74 68 61 74 20 63 6f |dress of| that co|
|000039b0| 70 79 2e 20 54 68 61 74 | 73 0a 77 68 61 74 20 69 |py. That|s.what i|
|000039c0| 73 20 61 63 74 75 61 6c | 6c 79 20 61 64 64 65 64 |s actual|ly added|
|000039d0| 20 74 6f 20 74 68 65 20 | 6c 69 73 74 2e 0a 0a 54 | to the |list...T|
|000039e0| 68 65 20 63 6f 72 72 65 | 73 70 6f 6e 64 69 6e 67 |he corre|sponding|
|000039f0| 20 64 65 73 74 72 75 63 | 74 20 68 6f 6f 6b 20 69 | destruc|t hook i|
|00003a00| 73 20 63 61 6c 6c 65 64 | 20 77 68 65 6e 65 76 65 |s called| wheneve|
|00003a10| 72 0a 61 6e 20 65 6e 74 | 72 79 20 73 68 61 6c 6c |r.an ent|ry shall|
|00003a20| 20 62 65 20 72 65 6d 6f | 76 65 64 2e 20 49 74 27 | be remo|ved. It'|
|00003a30| 73 20 74 61 73 6b 20 77 | 6f 75 6c 64 20 73 69 6d |s task w|ould sim|
|00003a40| 70 6c 79 20 62 65 0a 74 | 6f 20 66 72 65 65 20 74 |ply be.t|o free t|
|00003a50| 68 65 20 6d 65 6d 6f 72 | 79 20 61 6e 64 20 6d 61 |he memor|y and ma|
|00003a60| 79 62 65 20 6f 74 68 65 | 72 20 72 65 73 6f 75 72 |ybe othe|r resour|
|00003a70| 63 65 73 20 63 6f 6e 63 | 65 72 69 6e 67 0a 74 68 |ces conc|ering.th|
|00003a80| 69 73 20 65 6e 74 72 79 | 20 74 68 61 74 20 77 65 |is entry| that we|
|00003a90| 72 65 20 61 6c 6c 6f 63 | 61 74 65 64 20 62 79 20 |re alloc|ated by |
|00003aa0| 74 68 65 20 63 6f 6e 73 | 74 72 75 63 74 20 68 6f |the cons|truct ho|
|00003ab0| 6f 6b 2e 0a 0a 55 73 69 | 6e 67 20 74 68 65 73 65 |ok...Usi|ng these|
|00003ac0| 20 74 77 6f 20 66 75 6e | 63 74 69 6f 6e 73 2c 20 | two fun|ctions, |
|00003ad0| 79 6f 75 20 77 69 6c 6c | 20 6e 65 76 65 72 20 68 |you will| never h|
|00003ae0| 61 76 65 20 74 6f 0a 77 | 6f 72 72 79 20 61 62 6f |ave to.w|orry abo|
|00003af0| 75 74 20 66 72 65 65 69 | 6e 67 20 74 68 65 20 6d |ut freei|ng the m|
|00003b00| 65 6d 6f 72 79 20 75 73 | 65 64 20 62 79 20 79 6f |emory us|ed by yo|
|00003b10| 75 72 20 6c 69 73 74 0a | 65 6e 74 72 69 65 73 2e |ur list.|entries.|
|00003b20| 20 43 6c 65 61 72 69 6e | 67 20 74 68 65 20 6c 69 | Clearin|g the li|
|00003b30| 73 74 20 6f 72 20 64 69 | 73 70 6f 73 69 6e 67 20 |st or di|sposing |
|00003b40| 74 68 65 20 6c 69 73 74 | 0a 6f 62 6a 65 63 74 20 |the list|.object |
|00003b50| 77 69 6c 6c 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |will aut|omatical|
|00003b60| 6c 79 20 72 65 6d 6f 76 | 65 20 61 6c 6c 20 65 6e |ly remov|e all en|
|00003b70| 74 72 69 65 73 20 61 6e | 64 0a 74 68 75 73 20 66 |tries an|d.thus f|
|00003b80| 72 65 65 20 74 68 65 20 | 61 73 73 6f 63 69 61 74 |ree the |associat|
|00003b90| 65 64 20 72 65 73 6f 75 | 72 63 65 73 2e 0a 0a 54 |ed resou|rces...T|
|00003ba0| 68 65 20 63 6f 6e 73 74 | 72 75 63 74 20 68 6f 6f |he const|ruct hoo|
|00003bb0| 6b 20 77 69 6c 6c 20 62 | 65 20 63 61 6c 6c 65 64 |k will b|e called|
|00003bc0| 20 77 69 74 68 20 74 68 | 65 20 68 6f 6f 6b 0a 69 | with th|e hook.i|
|00003bd0| 6e 20 41 30 2c 20 74 68 | 65 20 64 61 74 61 20 67 |n A0, th|e data g|
|00003be0| 69 76 65 6e 20 74 6f 20 | 5c 6c 69 6e 65 62 72 65 |iven to |\linebre|
|00003bf0| 61 6b 20 4d 55 49 4d 5c | 5f 4c 69 73 74 5c 5f 49 |ak MUIM\|_List\_I|
|00003c00| 6e 73 65 72 74 20 61 73 | 20 6d 65 73 73 61 67 65 |nsert as| message|
|00003c10| 0a 69 6e 20 72 65 67 69 | 73 74 65 72 20 41 31 20 |.in regi|ster A1 |
|00003c20| 61 6e 64 20 77 69 74 68 | 20 70 6f 69 6e 74 65 72 |and with| pointer|
|00003c30| 20 74 6f 20 61 20 73 74 | 61 6e 64 61 72 64 20 6b | to a st|andard k|
|00003c40| 69 63 6b 20 33 2e 78 0a | 6d 65 6d 6f 72 79 20 70 |ick 3.x.|memory p|
|00003c50| 6f 6f 6c 20 69 6e 20 41 | 32 2e 20 49 66 20 79 6f |ool in A|2. If yo|
|00003c60| 75 20 77 61 6e 74 2c 20 | 79 6f 75 20 63 61 6e 20 |u want, |you can |
|00003c70| 75 73 65 20 74 68 65 20 | 65 78 65 63 0a 6f 72 20 |use the |exec.or |
|00003c80| 61 6d 69 67 61 2e 6c 69 | 62 20 66 75 6e 63 74 69 |amiga.li|b functi|
|00003c90| 6f 6e 73 20 66 6f 72 20 | 61 6c 6c 6f 63 61 74 69 |ons for |allocati|
|00003ca0| 6e 67 20 6d 65 6d 6f 72 | 79 20 77 69 74 68 69 6e |ng memor|y within|
|00003cb0| 0a 74 68 69 73 20 70 6f | 6f 6c 2c 20 62 75 74 20 |.this po|ol, but |
|00003cc0| 74 68 69 73 20 69 73 20 | 6f 6e 6c 79 20 61 6e 20 |this is |only an |
|00003cd0| 6f 70 74 69 6f 6e 2e 0a | 0a 49 66 20 74 68 65 20 |option..|.If the |
|00003ce0| 63 6f 6e 73 74 72 75 63 | 74 20 68 6f 6f 6b 20 72 |construc|t hook r|
|00003cf0| 65 74 75 72 6e 73 20 4e | 55 4c 4c 2c 20 6e 6f 74 |eturns N|ULL, not|
|00003d00| 68 69 6e 67 20 77 69 6c | 6c 20 62 65 0a 61 64 64 |hing wil|l be.add|
|00003d10| 65 64 20 74 6f 20 74 68 | 65 20 6c 69 73 74 2e 0a |ed to th|e list..|
|00003d20| 0a 54 68 65 72 65 20 69 | 73 20 61 20 62 75 69 6c |.There i|s a buil|
|00003d30| 74 69 6e 20 63 6f 6e 73 | 74 72 75 63 74 20 68 6f |tin cons|truct ho|
|00003d40| 6f 6b 20 61 76 61 69 6c | 61 62 6c 65 20 63 61 6c |ok avail|able cal|
|00003d50| 6c 65 64 20 5c 6c 69 6e | 65 62 72 65 61 6b 0a 4d |led \lin|ebreak.M|
|00003d60| 55 49 56 5c 5f 4c 69 73 | 74 5c 5f 43 6f 6e 73 74 |UIV\_Lis|t\_Const|
|00003d70| 72 75 63 74 48 6f 6f 6b | 5c 5f 53 74 72 69 6e 67 |ructHook|\_String|
|00003d80| 2e 20 54 68 69 73 20 65 | 78 70 65 63 74 73 20 74 |. This e|xpects t|
|00003d90| 68 61 74 0a 79 6f 75 20 | 6f 6e 6c 79 20 61 64 64 |hat.you |only add|
|00003da0| 20 73 74 72 69 6e 67 73 | 20 74 6f 20 79 6f 75 72 | strings| to your|
|00003db0| 20 6c 69 73 74 20 61 6e | 64 20 77 69 6c 6c 20 6d | list an|d will m|
|00003dc0| 61 6b 65 0a 61 20 6c 6f | 63 61 6c 20 63 6f 70 79 |ake.a lo|cal copy|
|00003dd0| 20 6f 66 20 74 68 69 73 | 20 73 74 72 69 6e 67 20 | of this| string |
|00003de0| 74 6f 20 61 6c 6c 6f 77 | 20 79 6f 75 20 64 65 73 |to allow| you des|
|00003df0| 74 72 6f 79 69 6e 67 0a | 74 68 65 20 6f 72 69 67 |troying.|the orig|
|00003e00| 69 6e 61 6c 2e 20 4f 66 | 20 63 6f 75 72 73 65 20 |inal. Of| course |
|00003e10| 79 6f 75 20 7b 5c 62 66 | 20 6d 75 73 74 7d 20 61 |you {\bf| must} a|
|00003e20| 6c 73 6f 20 75 73 65 0a | 4d 55 49 56 5c 5f 4c 69 |lso use.|MUIV\_Li|
|00003e30| 73 74 5c 5f 44 65 73 74 | 72 75 63 74 48 6f 6f 6b |st\_Dest|ructHook|
|00003e40| 5c 5f 53 74 72 69 6e 67 | 20 69 6e 20 74 68 69 73 |\_String| in this|
|00003e50| 20 63 61 73 65 2e 0a 0a | 57 69 74 68 6f 75 74 20 | case...|Without |
|00003e60| 63 6f 6e 73 74 72 75 63 | 74 20 61 6e 64 20 64 65 |construc|t and de|
|00003e70| 73 74 72 75 63 74 20 68 | 6f 6f 6b 73 2c 20 79 6f |struct h|ooks, yo|
|00003e80| 75 20 61 72 65 20 72 65 | 73 70 6f 6e 73 69 62 6c |u are re|sponsibl|
|00003e90| 65 0a 66 6f 72 20 61 6c | 6c 6f 63 61 74 69 6e 67 |e.for al|locating|
|00003ea0| 20 61 6e 64 20 66 72 65 | 65 69 6e 67 20 65 6e 74 | and fre|eing ent|
|00003eb0| 72 69 65 73 20 79 6f 75 | 72 73 65 6c 66 2e 0a 0a |ries you|rself...|
|00003ec0| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|00003ed0| 45 58 41 4d 50 4c 45 7d | 0a 5c 73 6d 61 6c 6c 0a |EXAMPLE}|.\small.|
|00003ee0| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|00003ef0| 0a 2f 2a 20 74 68 65 20 | 62 75 69 6c 74 69 6e 20 |./* the |builtin |
|00003f00| 73 74 72 69 6e 67 20 63 | 6f 6e 73 74 72 75 63 74 |string c|onstruct|
|00003f10| 20 61 6e 64 20 64 65 73 | 74 72 75 63 74 20 66 75 | and des|truct fu|
|00003f20| 6e 63 74 69 6f 6e 73 3a | 20 2a 2f 0a 0a 41 50 54 |nctions:| */..APT|
|00003f30| 52 20 5f 5f 61 73 6d 20 | 63 6f 6e 73 66 75 6e 63 |R __asm |consfunc|
|00003f40| 28 5f 61 32 20 41 50 54 | 52 20 70 6f 6f 6c 2c 5f |(_a2 APT|R pool,_|
|00003f50| 61 31 20 63 68 61 72 20 | 2a 73 74 72 29 0a 7b 0a |a1 char |*str).{.|
|00003f60| 20 20 20 63 68 61 72 20 | 2a 6e 65 77 3b 0a 20 20 | char |*new;. |
|00003f70| 20 69 66 20 28 6e 65 77 | 3d 41 6c 6c 6f 63 50 6f | if (new|=AllocPo|
|00003f80| 6f 6c 65 64 28 70 6f 6f | 6c 2c 73 74 72 6c 65 6e |oled(poo|l,strlen|
|00003f90| 28 73 74 72 29 2b 31 29 | 29 0a 20 20 20 20 20 20 |(str)+1)|). |
|00003fa0| 73 74 72 63 70 79 28 6e | 65 77 2c 73 74 72 29 3b |strcpy(n|ew,str);|
|00003fb0| 0a 20 20 20 72 65 74 75 | 72 6e 28 6e 65 77 29 3b |. retu|rn(new);|
|00003fc0| 0a 7d 0a 0a 56 4f 49 44 | 20 5f 5f 61 73 6d 20 64 |.}..VOID| __asm d|
|00003fd0| 65 73 66 75 6e 63 28 5f | 61 32 20 41 50 54 52 20 |esfunc(_|a2 APTR |
|00003fe0| 70 6f 6f 6c 2c 5f 61 31 | 20 63 68 61 72 20 2a 65 |pool,_a1| char *e|
|00003ff0| 6e 74 72 79 29 0a 7b 0a | 20 20 20 46 72 65 65 50 |ntry).{.| FreeP|
|00004000| 6f 6f 6c 65 64 28 70 6f | 6f 6c 2c 65 6e 74 72 79 |ooled(po|ol,entry|
|00004010| 2c 73 74 72 6c 65 6e 28 | 65 6e 74 72 79 29 2b 31 |,strlen(|entry)+1|
|00004020| 29 3b 0a 7d 0a 0a 2f 2a | 20 66 6f 72 20 6d 6f 72 |);.}../*| for mor|
|00004030| 65 20 73 6f 70 68 69 73 | 74 69 63 61 74 65 64 20 |e sophis|ticated |
|00004040| 68 6f 6f 6b 73 20 73 65 | 65 20 64 65 6d 6f 20 70 |hooks se|e demo p|
|00004050| 72 6f 67 72 61 6d 20 57 | 62 4d 61 6e 2e 63 20 2a |rogram W|bMan.c *|
|00004060| 2f 0a 0a 5c 65 6e 64 7b | 76 65 72 62 61 74 69 6d |/..\end{|verbatim|
|00004070| 7d 0a 5c 6e 6f 72 6d 61 | 6c 73 69 7a 65 0a 5c 73 |}.\norma|lsize.\s|
|00004080| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 53 45 |ubsubsec|tion*{SE|
|00004090| 45 20 41 4c 53 4f 7d 0a | 4d 55 49 41 5c 5f 4c 69 |E ALSO}.|MUIA\_Li|
|000040a0| 73 74 5c 5f 44 65 73 74 | 72 75 63 74 48 6f 6f 6b |st\_Dest|ructHook|
|000040b0| 2c 20 4d 55 49 41 5c 5f | 4c 69 73 74 5c 5f 44 69 |, MUIA\_|List\_Di|
|000040c0| 73 70 6c 61 79 48 6f 6f | 6b 0a 0a 5c 73 75 62 73 |splayHoo|k..\subs|
|000040d0| 65 63 74 69 6f 6e 5b 4d | 55 49 41 5c 5f 4c 69 73 |ection[M|UIA\_Lis|
|000040e0| 74 5c 5f 44 65 73 74 72 | 75 63 74 48 6f 6f 6b 5d |t\_Destr|uctHook]|
|000040f0| 7b 4d 55 49 41 5c 5f 4c | 69 73 74 5c 5f 44 65 73 |{MUIA\_L|ist\_Des|
|00004100| 74 72 75 63 74 48 6f 6f | 6b 20 2d 2d 20 28 56 34 |tructHoo|k -- (V4|
|00004110| 29 20 5b 49 53 2e 5d 2c | 20 73 74 72 75 63 74 20 |) [IS.],| struct |
|00004120| 48 6f 6f 6b 20 24 5c 61 | 73 74 24 7d 0a 0a 53 50 |Hook $\a|st$}..SP|
|00004130| 45 43 49 41 4c 20 49 4e | 50 55 54 53 0a 4d 55 49 |ECIAL IN|PUTS.MUI|
|00004140| 56 5c 5f 4c 69 73 74 5c | 5f 44 65 73 74 72 75 63 |V\_List\|_Destruc|
|00004150| 74 48 6f 6f 6b 5c 5f 53 | 74 72 69 6e 67 0a 0a 5c |tHook\_S|tring..\|
|00004160| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 46 |subsubse|ction*{F|
|00004170| 55 4e 43 54 49 4f 4e 7d | 0a 53 65 74 20 75 70 20 |UNCTION}|.Set up |
|00004180| 61 20 64 65 73 74 72 75 | 63 74 20 68 6f 6f 6b 20 |a destru|ct hook |
|00004190| 66 6f 72 20 79 6f 75 72 | 20 6c 69 73 74 2e 20 46 |for your| list. F|
|000041a0| 6f 72 20 64 65 74 61 69 | 6c 65 64 0a 65 78 70 6c |or detai|led.expl|
|000041b0| 61 6e 61 74 69 6f 6e 20 | 73 65 65 20 4d 55 49 41 |anation |see MUIA|
|000041c0| 5c 5f 4c 69 73 74 5c 5f | 43 6f 6e 73 74 72 75 63 |\_List\_|Construc|
|000041d0| 74 48 6f 6f 6b 2e 0a 0a | 5c 73 75 62 73 75 62 73 |tHook...|\subsubs|
|000041e0| 65 63 74 69 6f 6e 2a 7b | 53 45 45 20 41 4c 53 4f |ection*{|SEE ALSO|
|000041f0| 7d 0a 4d 55 49 41 5c 5f | 4c 69 73 74 5c 5f 43 6f |}.MUIA\_|List\_Co|
|00004200| 6e 73 74 72 75 63 74 48 | 6f 6f 6b 2c 20 4d 55 49 |nstructH|ook, MUI|
|00004210| 41 5c 5f 4c 69 73 74 5c | 5f 44 69 73 70 6c 61 79 |A\_List\|_Display|
|00004220| 48 6f 6f 6b 0a 0a 5c 73 | 75 62 73 65 63 74 69 6f |Hook..\s|ubsectio|
|00004230| 6e 5b 4d 55 49 41 5c 5f | 4c 69 73 74 5c 5f 44 69 |n[MUIA\_|List\_Di|
|00004240| 73 70 6c 61 79 48 6f 6f | 6b 5d 7b 4d 55 49 41 5c |splayHoo|k]{MUIA\|
|00004250| 5f 4c 69 73 74 5c 5f 44 | 69 73 70 6c 61 79 48 6f |_List\_D|isplayHo|
|00004260| 6f 6b 20 2d 2d 20 28 56 | 34 29 20 5b 49 53 2e 5d |ok -- (V|4) [IS.]|
|00004270| 2c 20 73 74 72 75 63 74 | 20 48 6f 6f 6b 20 24 5c |, struct| Hook $\|
|00004280| 61 73 74 24 7d 0a 0a 5c | 73 75 62 73 75 62 73 65 |ast$}..\|subsubse|
|00004290| 63 74 69 6f 6e 2a 7b 46 | 55 4e 43 54 49 4f 4e 7d |ction*{F|UNCTION}|
|000042a0| 0a 53 69 6e 63 65 20 4d | 55 49 27 73 20 6c 69 73 |.Since M|UI's lis|
|000042b0| 74 73 20 63 61 6e 20 68 | 61 6e 64 6c 65 20 61 6e |ts can h|andle an|
|000042c0| 79 20 6b 69 6e 64 20 6f | 66 20 65 6e 74 72 69 65 |y kind o|f entrie|
|000042d0| 73 2c 0a 79 6f 75 20 68 | 61 76 65 20 74 6f 20 73 |s,.you h|ave to s|
|000042e0| 75 70 70 6c 79 20 61 20 | 64 69 73 70 6c 61 79 20 |upply a |display |
|000042f0| 68 6f 6f 6b 20 74 6f 20 | 73 70 65 63 69 66 79 20 |hook to |specify |
|00004300| 77 68 61 74 0a 73 68 6f | 75 6c 64 20 61 63 74 75 |what.sho|uld actu|
|00004310| 61 6c 6c 79 20 62 65 20 | 73 68 6f 77 6e 20 69 6e |ally be |shown in|
|00004320| 20 74 68 65 20 64 69 73 | 70 6c 61 79 2e 0a 0a 54 | the dis|play...T|
|00004330| 68 65 20 68 6f 6f 6b 20 | 77 69 6c 6c 20 62 65 20 |he hook |will be |
|00004340| 63 61 6c 6c 65 64 20 77 | 69 74 68 20 61 20 70 6f |called w|ith a po|
|00004350| 69 6e 74 65 72 20 74 6f | 20 74 68 65 0a 65 6e 74 |inter to| the.ent|
|00004360| 72 79 20 74 6f 20 62 65 | 20 64 69 73 70 6c 61 79 |ry to be| display|
|00004370| 65 64 20 69 6e 20 41 31 | 20 61 6e 64 20 61 20 70 |ed in A1| and a p|
|00004380| 6f 69 6e 74 65 72 20 74 | 6f 0a 61 20 73 74 72 69 |ointer t|o.a stri|
|00004390| 6e 67 20 61 72 72 61 79 | 20 63 6f 6e 74 61 69 6e |ng array| contain|
|000043a0| 69 6e 67 20 61 73 20 6d | 61 6e 79 20 65 6e 74 72 |ing as m|any entr|
|000043b0| 69 65 73 20 61 73 0a 79 | 6f 75 72 20 6c 69 73 74 |ies as.y|our list|
|000043c0| 20 6d 61 79 20 68 61 76 | 65 20 63 6f 6c 75 6d 6e | may hav|e column|
|000043d0| 73 20 69 6e 20 41 32 2e | 0a 0a 59 6f 75 20 6d 75 |s in A2.|..You mu|
|000043e0| 73 74 20 66 69 6c 6c 20 | 74 68 69 73 20 61 72 72 |st fill |this arr|
|000043f0| 61 79 20 77 69 74 68 20 | 74 68 65 20 73 74 72 69 |ay with |the stri|
|00004400| 6e 67 73 20 74 68 61 74 | 0a 79 6f 75 20 77 61 6e |ngs that|.you wan|
|00004410| 74 20 74 6f 20 64 69 73 | 70 6c 61 79 2e 0a 0a 4e |t to dis|play...N|
|00004420| 6f 74 65 3a 20 59 6f 75 | 20 63 61 6e 20 6f 66 20 |ote: You| can of |
|00004430| 63 6f 75 72 73 65 20 75 | 73 65 20 4d 55 49 27 73 |course u|se MUI's|
|00004440| 20 74 65 78 74 20 65 6e | 67 69 6e 65 0a 66 61 63 | text en|gine.fac|
|00004450| 69 6c 69 74 69 65 73 20 | 68 65 72 65 20 74 6f 20 |ilities |here to |
|00004460| 63 72 65 61 74 65 20 65 | 2e 67 2e 20 72 69 67 68 |create e|.g. righ|
|00004470| 74 20 61 6c 69 67 6e 65 | 64 0a 6f 72 20 63 65 6e |t aligne|d.or cen|
|00004480| 74 65 72 65 64 20 63 6f | 6c 75 6d 6e 73 2e 0a 0a |tered co|lumns...|
|00004490| 57 69 74 68 6f 75 74 20 | 61 20 64 69 73 70 6c 61 |Without |a displa|
|000044a0| 79 20 68 6f 6f 6b 2c 20 | 4d 55 49 20 65 78 70 65 |y hook, |MUI expe|
|000044b0| 63 74 73 20 61 20 73 69 | 6d 70 6c 65 20 6f 6e 65 |cts a si|mple one|
|000044c0| 0a 63 6f 6c 75 6d 6e 65 | 64 20 73 74 72 69 6e 67 |.columne|d string|
|000044d0| 20 6c 69 73 74 2e 0a 0a | 53 65 65 20 4d 55 49 41 | list...|See MUIA|
|000044e0| 5c 5f 4c 69 73 74 5c 5f | 46 6f 72 6d 61 74 20 66 |\_List\_|Format f|
|000044f0| 6f 72 20 64 65 74 61 69 | 6c 73 20 61 62 6f 75 74 |or detai|ls about|
|00004500| 20 63 6f 6c 75 6d 6e 20 | 68 61 6e 64 6c 69 6e 67 | column |handling|
|00004510| 2e 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |...\subs|ubsectio|
|00004520| 6e 2a 7b 4e 4f 54 45 7d | 0a 53 69 6e 63 65 20 76 |n*{NOTE}|.Since v|
|00004530| 65 72 73 69 6f 6e 20 36 | 20 6f 66 20 4d 55 49 2c |ersion 6| of MUI,|
|00004540| 20 74 68 65 20 64 69 73 | 70 6c 61 79 20 68 6f 6f | the dis|play hoo|
|00004550| 6b 20 61 6c 73 6f 20 67 | 65 74 73 20 74 68 65 0a |k also g|ets the.|
|00004560| 70 6f 73 69 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |position| of the |
|00004570| 63 75 72 72 65 6e 74 20 | 65 6e 74 72 79 20 61 73 |current |entry as|
|00004580| 20 61 64 64 69 74 69 6f | 6e 61 6c 20 70 61 72 61 | additio|nal para|
|00004590| 6d 65 74 65 72 2e 20 59 | 6f 75 0a 63 61 6e 20 65 |meter. Y|ou.can e|
|000045a0| 61 73 69 6c 79 20 64 6f | 20 65 2e 67 2e 20 73 6f |asily do| e.g. so|
|000045b0| 6d 65 20 6c 69 6e 65 20 | 6e 75 6d 62 65 72 69 6e |me line |numberin|
|000045c0| 67 20 75 73 69 6e 67 20 | 74 68 69 73 20 66 65 61 |g using |this fea|
|000045d0| 74 75 72 65 2e 20 54 68 | 65 0a 6e 75 6d 62 65 72 |ture. Th|e.number|
|000045e0| 20 28 66 72 6f 6d 20 30 | 20 74 6f 20 4e 75 6d 45 | (from 0| to NumE|
|000045f0| 6e 74 72 69 65 73 2d 31 | 29 20 69 73 20 73 74 6f |ntries-1|) is sto|
|00004600| 72 65 64 20 69 6e 20 74 | 68 65 20 6c 6f 6e 67 77 |red in t|he longw|
|00004610| 6f 72 64 0a 7b 5c 62 66 | 20 70 72 65 63 65 64 69 |ord.{\bf| precedi|
|00004620| 6e 67 7d 20 74 68 65 20 | 63 6f 6c 75 6d 6e 20 61 |ng} the |column a|
|00004630| 72 72 61 79 20 28 73 65 | 65 20 65 78 61 6d 70 6c |rray (se|e exampl|
|00004640| 65 20 62 65 6c 6f 77 29 | 2e 0a 0a 5c 73 75 62 73 |e below)|...\subs|
|00004650| 75 62 73 65 63 74 69 6f | 6e 2a 7b 45 58 41 4d 50 |ubsectio|n*{EXAMP|
|00004660| 4c 45 7d 0a 5c 73 6d 61 | 6c 6c 0a 5c 62 65 67 69 |LE}.\sma|ll.\begi|
|00004670| 6e 7b 76 65 72 62 61 74 | 69 6d 7d 0a 2f 2a 20 6c |n{verbat|im}./* l|
|00004680| 69 73 74 20 6f 66 20 66 | 69 6c 65 20 69 6e 66 6f |ist of f|ile info|
|00004690| 20 62 6c 6f 63 6b 73 2c | 20 74 77 6f 20 63 6f 6c | blocks,| two col|
|000046a0| 75 6d 6e 65 64 2c 20 6e | 61 6d 65 20 61 6e 64 20 |umned, n|ame and |
|000046b0| 73 69 7a 65 20 2a 2f 0a | 0a 4c 4f 4e 47 20 5f 5f |size */.|.LONG __|
|000046c0| 61 73 6d 20 64 69 73 70 | 66 75 6e 63 28 5f 61 32 |asm disp|func(_a2|
|000046d0| 20 63 68 61 72 20 2a 2a | 61 72 72 61 79 2c 5f 61 | char **|array,_a|
|000046e0| 31 20 73 74 72 75 63 74 | 20 46 69 6c 65 49 6e 66 |1 struct| FileInf|
|000046f0| 6f 42 6c 6f 63 6b 20 2a | 66 69 62 29 0a 7b 0a 20 |oBlock *|fib).{. |
|00004700| 20 20 73 74 61 74 69 63 | 20 63 68 61 72 20 62 75 | static| char bu|
|00004710| 66 31 5b 32 30 5d 2c 62 | 75 66 32 5b 32 30 5d 3b |f1[20],b|uf2[20];|
|00004720| 0a 0a 20 20 20 69 66 20 | 28 66 69 62 2d 3e 66 69 |.. if |(fib->fi|
|00004730| 62 5f 45 6e 74 72 79 54 | 79 70 65 3c 30 29 0a 20 |b_EntryT|ype<0). |
|00004740| 20 20 20 20 73 70 72 69 | 6e 74 66 28 62 75 66 32 | spri|ntf(buf2|
|00004750| 2c 22 5c 33 33 72 25 6c | 64 22 2c 66 69 62 2d 3e |,"\33r%l|d",fib->|
|00004760| 66 69 62 5f 53 69 7a 65 | 29 3b 0a 20 20 20 65 6c |fib_Size|);. el|
|00004770| 73 65 0a 20 20 20 20 20 | 73 74 72 63 70 79 28 62 |se. |strcpy(b|
|00004780| 75 66 32 2c 22 5c 33 33 | 72 28 64 69 72 29 22 29 |uf2,"\33|r(dir)")|
|00004790| 3b 0a 0a 20 20 20 73 70 | 72 69 6e 74 66 28 62 75 |;.. sp|rintf(bu|
|000047a0| 66 31 2c 22 25 6c 64 22 | 2c 61 72 72 61 79 5b 2d |f1,"%ld"|,array[-|
|000047b0| 31 5d 29 3b 20 20 20 2f | 2f 20 67 65 74 20 74 68 |1]); /|/ get th|
|000047c0| 65 20 6c 69 6e 65 20 6e | 75 6d 62 65 72 2e 0a 0a |e line n|umber...|
|000047d0| 20 20 20 2a 61 72 72 61 | 79 2b 2b 20 3d 20 62 75 | *arra|y++ = bu|
|000047e0| 66 31 3b 0a 20 20 20 2a | 61 72 72 61 79 2b 2b 20 |f1;. *|array++ |
|000047f0| 3d 20 66 69 62 2d 3e 66 | 69 62 5f 46 69 6c 65 4e |= fib->f|ib_FileN|
|00004800| 61 6d 65 3b 0a 20 20 20 | 2a 61 72 72 61 79 20 20 |ame;. |*array |
|00004810| 20 3d 20 62 75 66 32 3b | 0a 0a 20 20 20 72 65 74 | = buf2;|.. ret|
|00004820| 75 72 6e 28 30 29 3b 0a | 7d 0a 0a 5c 65 6e 64 7b |urn(0);.|}..\end{|
|00004830| 76 65 72 62 61 74 69 6d | 7d 0a 5c 6e 6f 72 6d 61 |verbatim|}.\norma|
|00004840| 6c 73 69 7a 65 0a 5c 73 | 75 62 73 75 62 73 65 63 |lsize.\s|ubsubsec|
|00004850| 74 69 6f 6e 2a 7b 53 45 | 45 20 41 4c 53 4f 7d 0a |tion*{SE|E ALSO}.|
|00004860| 4d 55 49 41 5c 5f 4c 69 | 73 74 5c 5f 46 6f 72 6d |MUIA\_Li|st\_Form|
|00004870| 61 74 2c 20 4d 55 49 41 | 5c 5f 54 65 78 74 5c 5f |at, MUIA|\_Text\_|
|00004880| 43 6f 6e 74 65 6e 74 73 | 0a 0a 5c 73 75 62 73 65 |Contents|..\subse|
|00004890| 63 74 69 6f 6e 5b 4d 55 | 49 41 5c 5f 4c 69 73 74 |ction[MU|IA\_List|
|000048a0| 5c 5f 45 6e 74 72 69 65 | 73 5d 7b 4d 55 49 41 5c |\_Entrie|s]{MUIA\|
|000048b0| 5f 4c 69 73 74 5c 5f 45 | 6e 74 72 69 65 73 20 2d |_List\_E|ntries -|
|000048c0| 2d 20 28 56 34 29 20 5b | 2e 2e 47 5d 2c 20 4c 4f |- (V4) [|..G], LO|
|000048d0| 4e 47 7d 0a 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |NG}..\su|bsubsect|
|000048e0| 69 6f 6e 2a 7b 46 55 4e | 43 54 49 4f 4e 7d 0a 47 |ion*{FUN|CTION}.G|
|000048f0| 65 74 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 6e |et the c|urrent n|
|00004900| 75 6d 62 65 72 20 6f 66 | 20 65 6e 74 72 69 65 73 |umber of| entries|
|00004910| 20 69 6e 20 74 68 65 20 | 6c 69 73 74 2e 0a 0a 5c | in the |list...\|
|00004920| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 53 |subsubse|ction*{S|
|00004930| 45 45 20 41 4c 53 4f 7d | 0a 4d 55 49 41 5c 5f 4c |EE ALSO}|.MUIA\_L|
|00004940| 69 73 74 5c 5f 46 69 72 | 73 74 2c 20 4d 55 49 41 |ist\_Fir|st, MUIA|
|00004950| 5c 5f 4c 69 73 74 5c 5f | 56 69 73 69 62 6c 65 2c |\_List\_|Visible,|
|00004960| 20 4d 55 49 41 5c 5f 4c | 69 73 74 5c 5f 41 63 74 | MUIA\_L|ist\_Act|
|00004970| 69 76 65 0a 0a 5c 73 75 | 62 73 65 63 74 69 6f 6e |ive..\su|bsection|
|00004980| 5b 4d 55 49 41 5c 5f 4c | 69 73 74 5c 5f 46 69 72 |[MUIA\_L|ist\_Fir|
|00004990| 73 74 5d 7b 4d 55 49 41 | 5c 5f 4c 69 73 74 5c 5f |st]{MUIA|\_List\_|
|000049a0| 46 69 72 73 74 20 2d 2d | 20 28 56 34 29 20 5b 2e |First --| (V4) [.|
|000049b0| 2e 47 5d 2c 20 4c 4f 4e | 47 7d 0a 0a 5c 73 75 62 |.G], LON|G}..\sub|
|000049c0| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 46 55 4e 43 |subsecti|on*{FUNC|
|000049d0| 54 49 4f 4e 7d 0a 47 65 | 74 20 74 68 65 20 6e 75 |TION}.Ge|t the nu|
|000049e0| 6d 62 65 72 20 6f 66 20 | 74 68 65 20 65 6e 74 72 |mber of |the entr|
|000049f0| 79 20 64 69 73 70 6c 61 | 79 65 64 20 6f 6e 20 74 |y displa|yed on t|
|00004a00| 6f 70 20 6f 66 0a 74 68 | 65 20 6c 69 73 74 2e 20 |op of.th|e list. |
|00004a10| 59 6f 75 20 68 61 76 65 | 20 74 6f 20 62 65 20 70 |You have| to be p|
|00004a20| 72 65 70 61 72 65 64 20 | 74 6f 20 67 65 74 20 61 |repared |to get a|
|00004a30| 20 72 65 73 75 6c 74 0a | 6f 66 20 2d 31 2c 20 77 | result.|of -1, w|
|00004a40| 68 69 63 68 20 6d 65 61 | 6e 73 20 74 68 61 74 20 |hich mea|ns that |
|00004a50| 74 68 65 20 6c 69 73 74 | 20 69 73 20 6e 6f 74 20 |the list| is not |
|00004a60| 76 69 73 69 62 6c 65 0a | 61 74 20 61 6c 6c 20 28 |visible.|at all (|
|00004a70| 65 2e 67 2e 20 77 68 65 | 6e 20 74 68 65 20 77 69 |e.g. whe|n the wi|
|00004a80| 6e 64 6f 77 20 69 73 20 | 69 63 6f 6e 69 66 65 64 |ndow is |iconifed|
|00004a90| 29 2e 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |)...\sub|subsecti|
|00004aa0| 6f 6e 2a 7b 53 45 45 20 | 41 4c 53 4f 7d 0a 4d 55 |on*{SEE |ALSO}.MU|
|00004ab0| 49 41 5c 5f 4c 69 73 74 | 5c 5f 56 69 73 69 62 6c |IA\_List|\_Visibl|
|00004ac0| 65 2c 20 4d 55 49 41 5c | 5f 4c 69 73 74 5c 5f 45 |e, MUIA\|_List\_E|
|00004ad0| 6e 74 72 69 65 73 2c 20 | 4d 55 49 41 5c 5f 4c 69 |ntries, |MUIA\_Li|
|00004ae0| 73 74 5c 5f 41 63 74 69 | 76 65 0a 0a 5c 73 75 62 |st\_Acti|ve..\sub|
|00004af0| 73 65 63 74 69 6f 6e 5b | 4d 55 49 41 5c 5f 4c 69 |section[|MUIA\_Li|
|00004b00| 73 74 5c 5f 46 6f 72 6d | 61 74 5d 7b 4d 55 49 41 |st\_Form|at]{MUIA|
|00004b10| 5c 5f 4c 69 73 74 5c 5f | 46 6f 72 6d 61 74 20 2d |\_List\_|Format -|
|00004b20| 2d 20 28 56 34 29 20 5b | 49 53 47 5d 2c 20 53 54 |- (V4) [|ISG], ST|
|00004b30| 52 50 54 52 7d 0a 0a 5c | 73 75 62 73 75 62 73 65 |RPTR}..\|subsubse|
|00004b40| 63 74 69 6f 6e 2a 7b 46 | 55 4e 43 54 49 4f 4e 7d |ction*{F|UNCTION}|
|00004b50| 0a 4d 55 49 20 68 61 73 | 20 74 68 65 20 61 62 69 |.MUI has| the abi|
|00004b60| 6c 69 74 79 20 74 6f 20 | 68 61 6e 64 6c 65 20 6d |lity to |handle m|
|00004b70| 75 6c 74 69 20 63 6f 6c | 75 6d 6e 20 6c 69 73 74 |ulti col|umn list|
|00004b80| 73 2e 20 54 6f 20 64 65 | 66 69 6e 65 0a 68 6f 77 |s. To de|fine.how|
|00004b90| 20 6d 61 6e 79 20 63 6f | 6c 75 6d 6e 73 20 73 68 | many co|lumns sh|
|00004ba0| 6f 75 6c 64 20 62 65 20 | 64 69 73 70 6c 61 79 65 |ould be |displaye|
|00004bb0| 64 20 61 6e 64 20 68 6f | 77 20 74 68 65 79 20 73 |d and ho|w they s|
|00004bc0| 68 6f 75 6c 64 20 62 65 | 0a 66 6f 72 6d 61 74 74 |hould be|.formatt|
|00004bd0| 65 64 2c 20 79 6f 75 20 | 73 70 65 63 69 66 79 20 |ed, you |specify |
|00004be0| 61 20 66 6f 72 6d 61 74 | 20 73 74 72 69 6e 67 2e |a format| string.|
|00004bf0| 0a 0a 54 68 69 73 20 66 | 6f 72 6d 61 74 20 73 74 |..This f|ormat st|
|00004c00| 72 69 6e 67 20 6d 75 73 | 74 20 63 6f 6e 74 61 69 |ring mus|t contai|
|00004c10| 6e 20 6f 6e 65 20 65 6e | 74 72 79 20 66 6f 72 20 |n one en|try for |
|00004c20| 65 61 63 68 20 63 6f 6c | 75 6d 6e 0a 79 6f 75 20 |each col|umn.you |
|00004c30| 77 61 6e 74 20 74 6f 20 | 73 65 65 2e 20 45 6e 74 |want to |see. Ent|
|00004c40| 72 69 65 73 20 61 72 65 | 20 73 65 70 65 72 61 74 |ries are| seperat|
|00004c50| 65 64 20 62 79 20 63 6f | 6d 6d 61 73 2c 20 6f 6e |ed by co|mmas, on|
|00004c60| 65 0a 65 6e 74 72 79 20 | 69 73 20 70 61 72 73 65 |e.entry |is parse|
|00004c70| 64 20 76 69 61 20 64 6f | 73 2e 6c 69 62 72 61 72 |d via do|s.librar|
|00004c80| 79 2f 52 65 61 64 41 72 | 67 73 28 29 2e 0a 0a 54 |y/ReadAr|gs()...T|
|00004c90| 68 65 20 74 65 6d 70 6c | 61 74 65 20 66 6f 72 20 |he templ|ate for |
|00004ca0| 61 20 73 69 6e 67 6c 65 | 20 65 6e 74 72 79 20 6c |a single| entry l|
|00004cb0| 6f 6f 6b 73 20 6c 69 6b | 65 20 74 68 69 73 3a 0a |ooks lik|e this:.|
|00004cc0| 0a 44 45 4c 54 41 3d 44 | 2f 4e 2c 20 50 52 45 50 |.DELTA=D|/N, PREP|
|00004cd0| 41 52 53 45 3d 50 2f 4b | 2c 20 57 45 49 47 48 54 |ARSE=P/K|, WEIGHT|
|00004ce0| 3d 57 2f 4e 2c 0a 4d 49 | 4e 57 49 44 54 48 3d 4d |=W/N,.MI|NWIDTH=M|
|00004cf0| 49 57 2f 4e 2c 20 4d 41 | 58 57 49 44 54 48 3d 4d |IW/N, MA|XWIDTH=M|
|00004d00| 41 57 2f 4e 2c 20 43 4f | 4c 3d 43 2f 4e 0a 0a 5c |AW/N, CO|L=C/N..\|
|00004d10| 62 65 67 69 6e 7b 64 65 | 73 63 72 69 70 74 69 6f |begin{de|scriptio|
|00004d20| 6e 7d 0a 5c 69 74 65 6d | 5b 44 45 4c 54 41 5d 0a |n}.\item|[DELTA].|
|00004d30| 53 70 61 63 65 20 69 6e | 20 70 69 78 65 6c 20 62 |Space in| pixel b|
|00004d40| 65 74 77 65 65 6e 20 74 | 68 69 73 20 63 6f 6c 75 |etween t|his colu|
|00004d50| 6d 6e 20 61 6e 64 20 74 | 68 65 20 6e 65 78 74 2e |mn and t|he next.|
|00004d60| 0a 74 68 65 20 6c 61 73 | 74 20 64 69 73 70 6c 61 |.the las|t displa|
|00004d70| 79 65 64 20 63 6f 6c 75 | 6d 6e 20 69 67 6e 6f 72 |yed colu|mn ignor|
|00004d80| 65 73 20 74 68 69 73 20 | 73 65 74 74 69 6e 67 2e |es this |setting.|
|00004d90| 0a 44 65 66 61 75 6c 74 | 73 20 74 6f 20 34 2e 0a |.Default|s to 4..|
|00004da0| 0a 5c 69 74 65 6d 5b 50 | 52 45 50 41 52 53 45 5d |.\item[P|REPARSE]|
|00004db0| 0a 41 20 70 72 65 70 61 | 72 73 65 20 76 61 6c 75 |.A prepa|rse valu|
|00004dc0| 65 20 66 6f 72 20 74 68 | 69 73 20 63 6f 6c 75 6d |e for th|is colum|
|00004dd0| 6e 2e 20 53 65 74 74 69 | 6e 67 20 74 68 69 73 0a |n. Setti|ng this.|
|00004de0| 65 2e 67 2e 20 74 6f 20 | 27 27 24 5c 62 61 63 6b |e.g. to |''$\back|
|00004df0| 73 6c 61 73 68 24 33 33 | 63 27 27 20 77 6f 75 6c |slash$33|c'' woul|
|00004e00| 64 20 6d 61 6b 65 20 74 | 68 65 20 63 6f 6c 75 6d |d make t|he colum|
|00004e10| 6e 20 63 65 6e 74 65 72 | 65 64 2e 0a 53 65 65 20 |n center|ed..See |
|00004e20| 4d 55 49 41 5c 5f 54 65 | 78 74 5c 5f 43 6f 6e 74 |MUIA\_Te|xt\_Cont|
|00004e30| 65 6e 74 73 20 66 6f 72 | 20 6f 74 68 65 72 20 63 |ents for| other c|
|00004e40| 6f 6e 74 72 6f 6c 20 63 | 6f 64 65 73 2e 0a 0a 5c |ontrol c|odes...\|
|00004e50| 69 74 65 6d 5b 57 45 49 | 47 48 54 5d 0a 54 68 65 |item[WEI|GHT].The|
|00004e60| 20 77 65 69 67 68 74 20 | 6f 66 20 74 68 65 20 63 | weight |of the c|
|00004e70| 6f 6c 75 6d 6e 2e 20 41 | 73 20 77 69 74 68 20 4d |olumn. A|s with M|
|00004e80| 55 49 27 73 20 67 72 6f | 75 70 0a 63 6c 61 73 73 |UI's gro|up.class|
|00004e90| 2c 20 63 6f 6c 75 6d 6e | 73 20 61 72 65 20 6c 61 |, column|s are la|
|00004ea0| 79 6f 75 74 65 64 20 77 | 69 74 68 20 61 20 6d 69 |youted w|ith a mi|
|00004eb0| 6e 69 6d 75 6d 0a 73 69 | 7a 65 2c 20 61 20 6d 61 |nimum.si|ze, a ma|
|00004ec0| 78 69 6d 75 6d 20 73 69 | 7a 65 20 61 6e 64 20 77 |ximum si|ze and w|
|00004ed0| 65 69 67 68 74 2e 20 41 | 20 63 6f 6c 75 6d 6e 20 |eight. A| column |
|00004ee0| 77 69 74 68 0a 61 20 77 | 65 69 67 68 74 20 6f 66 |with.a w|eight of|
|00004ef0| 20 32 30 30 20 77 6f 75 | 6c 64 20 67 61 69 6e 20 | 200 wou|ld gain |
|00004f00| 74 77 69 63 65 20 74 68 | 65 20 73 70 61 63 65 20 |twice th|e space |
|00004f10| 74 68 61 6e 0a 61 20 63 | 6f 6c 75 6d 6e 20 77 69 |than.a c|olumn wi|
|00004f20| 74 68 20 61 20 77 65 69 | 67 68 74 20 6f 66 20 31 |th a wei|ght of 1|
|00004f30| 30 30 2e 0a 44 65 66 61 | 75 6c 74 73 20 74 6f 20 |00..Defa|ults to |
|00004f40| 31 30 30 2e 0a 0a 5c 69 | 74 65 6d 5b 4d 49 4e 57 |100...\i|tem[MINW|
|00004f50| 49 44 54 48 5d 0a 4d 69 | 6e 69 6d 75 6d 20 70 65 |IDTH].Mi|nimum pe|
|00004f60| 72 63 65 6e 74 61 67 65 | 20 77 69 64 74 68 20 66 |rcentage| width f|
|00004f70| 6f 72 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 63 |or the c|urrent c|
|00004f80| 6f 6c 75 6d 6e 2e 0a 49 | 66 20 79 6f 75 72 20 6c |olumn..I|f your l|
|00004f90| 69 73 74 20 69 73 20 32 | 30 30 20 70 69 78 65 6c |ist is 2|00 pixel|
|00004fa0| 20 77 69 64 65 20 61 6e | 64 20 79 6f 75 20 73 65 | wide an|d you se|
|00004fb0| 74 20 74 68 69 73 0a 74 | 6f 20 32 35 2c 20 79 6f |t this.t|o 25, yo|
|00004fc0| 75 72 20 63 6f 6c 75 6d | 6e 20 77 69 6c 6c 20 61 |ur colum|n will a|
|00004fd0| 74 20 6c 65 61 73 74 20 | 62 65 20 35 30 20 70 69 |t least |be 50 pi|
|00004fe0| 78 65 6c 2e 0a 54 68 65 | 20 73 70 65 63 69 61 6c |xel..The| special|
|00004ff0| 20 76 61 6c 75 65 20 2d | 31 20 66 6f 72 20 74 68 | value -|1 for th|
|00005000| 69 73 20 70 61 72 61 6d | 65 74 65 72 20 6d 65 61 |is param|eter mea|
|00005010| 6e 73 20 74 68 61 74 0a | 74 68 65 20 6d 69 6e 69 |ns that.|the mini|
|00005020| 6d 75 6d 20 77 69 64 74 | 68 20 69 73 20 61 73 20 |mum widt|h is as |
|00005030| 77 69 64 65 20 61 73 20 | 74 68 65 20 77 69 64 65 |wide as |the wide|
|00005040| 73 74 20 65 6e 74 72 79 | 20 69 6e 0a 74 68 69 73 |st entry| in.this|
|00005050| 20 63 6f 6c 75 6d 6e 2e | 20 54 68 69 73 20 65 6e | column.| This en|
|00005060| 73 75 72 65 73 20 74 68 | 61 74 20 65 76 65 72 79 |sures th|at every|
|00005070| 20 65 6e 74 72 79 20 77 | 69 6c 6c 20 62 65 0a 63 | entry w|ill be.c|
|00005080| 6f 6d 70 6c 65 74 65 6c | 79 20 76 69 73 69 62 6c |ompletel|y visibl|
|00005090| 65 20 28 61 73 20 6c 6f | 6e 67 20 61 73 20 74 68 |e (as lo|ng as th|
|000050a0| 65 20 6c 69 73 74 20 69 | 73 20 77 69 64 65 20 65 |e list i|s wide e|
|000050b0| 6e 6f 75 67 68 29 2e 0a | 44 65 66 61 75 6c 74 73 |nough)..|Defaults|
|000050c0| 20 74 6f 20 2d 31 2e 0a | 0a 5c 69 74 65 6d 5b 4d | to -1..|.\item[M|
|000050d0| 41 58 57 49 44 54 48 5d | 0a 4d 61 78 69 6d 75 6d |AXWIDTH]|.Maximum|
|000050e0| 20 70 65 72 63 65 6e 74 | 61 67 65 20 77 69 64 74 | percent|age widt|
|000050f0| 68 20 66 6f 72 20 74 68 | 65 20 63 75 72 72 65 6e |h for th|e curren|
|00005100| 74 20 63 6f 6c 75 6d 6e | 2e 0a 49 66 20 79 6f 75 |t column|..If you|
|00005110| 72 20 6c 69 73 74 20 69 | 73 20 32 30 30 20 70 69 |r list i|s 200 pi|
|00005120| 78 65 6c 20 77 69 64 65 | 20 61 6e 64 20 79 6f 75 |xel wide| and you|
|00005130| 20 73 65 74 20 74 68 69 | 73 0a 74 6f 20 32 35 2c | set thi|s.to 25,|
|00005140| 20 79 6f 75 72 20 63 6f | 6c 75 6d 6e 20 77 69 6c | your co|lumn wil|
|00005150| 6c 20 6e 6f 74 20 62 65 | 20 77 69 64 65 72 20 61 |l not be| wider a|
|00005160| 73 20 35 30 20 70 69 78 | 65 6c 2e 0a 54 68 65 20 |s 50 pix|el..The |
|00005170| 73 70 65 63 69 61 6c 20 | 76 61 6c 75 65 20 2d 31 |special |value -1|
|00005180| 20 66 6f 72 20 74 68 69 | 73 20 70 61 72 61 6d 65 | for thi|s parame|
|00005190| 74 65 72 20 6d 65 61 6e | 73 20 74 68 61 74 0a 74 |ter mean|s that.t|
|000051a0| 68 65 20 6d 61 78 69 6d | 75 6d 20 77 69 64 74 68 |he maxim|um width|
|000051b0| 20 69 73 20 61 73 20 77 | 69 64 65 20 61 73 20 74 | is as w|ide as t|
|000051c0| 68 65 20 77 69 64 65 73 | 74 20 65 6e 74 72 79 20 |he wides|t entry |
|000051d0| 69 6e 0a 74 68 69 73 20 | 63 6f 6c 75 6d 6e 2e 0a |in.this |column..|
|000051e0| 44 65 66 61 75 6c 74 73 | 20 74 6f 20 2d 31 2e 0a |Defaults| to -1..|
|000051f0| 0a 5c 69 74 65 6d 5b 43 | 4f 4c 5d 0a 54 68 69 73 |.\item[C|OL].This|
|00005200| 20 76 61 6c 75 65 20 61 | 64 6a 75 73 74 73 20 74 | value a|djusts t|
|00005210| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 74 68 65 |he numbe|r of the|
|00005220| 20 63 75 72 72 65 6e 74 | 20 63 6f 6c 75 6d 6e 2e | current| column.|
|00005230| 0a 54 68 69 73 20 61 6c | 6c 6f 77 73 20 79 6f 75 |.This al|lows you|
|00005240| 20 74 6f 20 61 64 6a 75 | 73 74 20 74 68 65 20 6f | to adju|st the o|
|00005250| 72 64 65 72 20 6f 66 20 | 79 6f 75 72 20 63 6f 6c |rder of |your col|
|00005260| 75 6d 6e 73 0a 77 69 74 | 68 6f 75 74 20 68 61 76 |umns.wit|hout hav|
|00005270| 69 6e 67 20 74 6f 20 63 | 68 61 6e 67 65 20 79 6f |ing to c|hange yo|
|00005280| 75 72 20 64 69 73 70 6c | 61 79 20 68 6f 6f 6b 2e |ur displ|ay hook.|
|00005290| 20 53 65 65 0a 65 78 61 | 6d 70 6c 65 20 66 6f 72 | See.exa|mple for|
|000052a0| 20 64 65 74 61 69 6c 73 | 2e 0a 44 65 66 61 75 6c | details|..Defaul|
|000052b0| 74 73 20 74 6f 20 63 75 | 72 72 65 6e 74 20 65 6e |ts to cu|rrent en|
|000052c0| 74 72 79 20 6e 75 6d 62 | 65 72 20 28 30 2c 31 2c |try numb|er (0,1,|
|000052d0| 2e 2e 2e 29 0a 5c 65 6e | 64 7b 64 65 73 63 72 69 |...).\en|d{descri|
|000052e0| 70 74 69 6f 6e 7d 0a 0a | 49 66 20 79 6f 75 72 20 |ption}..|If your |
|000052f0| 6c 69 73 74 20 6f 62 6a | 65 63 74 20 67 65 74 73 |list obj|ect gets|
|00005300| 20 73 6f 20 73 6d 61 6c | 6c 20 74 68 65 72 65 20 | so smal|l there |
|00005310| 69 73 20 6e 6f 74 20 65 | 6e 6f 75 67 68 0a 70 6c |is not e|nough.pl|
|00005320| 61 63 65 20 66 6f 72 20 | 74 68 65 20 6d 69 6e 77 |ace for |the minw|
|00005330| 69 64 74 68 20 6f 66 20 | 61 20 63 6f 6c 75 6d 6e |idth of |a column|
|00005340| 2c 20 74 68 69 73 20 63 | 6f 6c 75 6d 6e 20 77 69 |, this c|olumn wi|
|00005350| 6c 6c 0a 62 65 20 68 69 | 64 64 65 6e 20 63 6f 6d |ll.be hi|dden com|
|00005360| 70 6c 65 74 65 6c 79 20 | 61 6e 64 20 74 68 65 20 |pletely |and the |
|00005370| 72 65 6d 61 69 6e 69 6e | 67 20 73 70 61 63 65 20 |remainin|g space |
|00005380| 69 73 0a 64 69 73 74 72 | 69 62 75 74 65 64 20 62 |is.distr|ibuted b|
|00005390| 65 74 77 65 65 6e 20 74 | 68 65 20 72 65 6d 61 69 |etween t|he remai|
|000053a0| 6e 69 6e 67 20 63 6f 6c | 75 6d 6e 73 2e 20 54 68 |ning col|umns. Th|
|000053b0| 69 73 20 69 73 20 6e 6f | 74 0a 74 72 75 65 20 69 |is is no|t.true i|
|000053c0| 66 20 74 68 65 20 63 6f | 6c 75 6d 6e 20 69 73 20 |f the co|lumn is |
|000053d0| 74 68 65 20 66 69 72 73 | 74 20 63 6f 6c 75 6d 6e |the firs|t column|
|000053e0| 2c 20 69 6e 20 74 68 69 | 73 20 63 61 73 65 0a 74 |, in thi|s case.t|
|000053f0| 68 65 20 65 6e 74 72 69 | 65 73 20 77 69 6c 6c 20 |he entri|es will |
|00005400| 73 69 6d 70 6c 79 20 62 | 65 20 63 6c 69 70 70 65 |simply b|e clippe|
|00005410| 64 2e 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |d...\sub|subsecti|
|00005420| 6f 6e 2a 7b 4e 4f 54 45 | 7d 0a 20 59 6f 75 20 77 |on*{NOTE|}. You w|
|00005430| 69 6c 6c 20 68 61 76 65 | 20 61 73 20 6d 61 6e 79 |ill have| as many|
|00005440| 20 63 6f 6c 75 6d 6e 73 | 20 69 6e 20 79 6f 75 72 | columns| in your|
|00005450| 20 6c 69 73 74 20 61 73 | 0a 65 6e 74 72 69 65 73 | list as|.entries|
|00005460| 20 69 6e 20 74 68 65 20 | 66 6f 72 6d 61 74 20 73 | in the |format s|
|00005470| 74 72 69 6e 67 20 28 69 | 2e 65 2e 20 6e 75 6d 62 |tring (i|.e. numb|
|00005480| 65 72 20 6f 66 0a 63 6f | 6d 6d 61 73 20 2b 20 31 |er of.co|mmas + 1|
|00005490| 29 2e 20 45 6d 70 74 79 | 20 65 6e 74 72 69 65 73 |). Empty| entries|
|000054a0| 2c 20 65 2e 67 2e 20 77 | 69 74 68 20 61 20 66 6f |, e.g. w|ith a fo|
|000054b0| 72 6d 61 74 0a 73 74 72 | 69 6e 67 20 6f 66 20 27 |rmat.str|ing of '|
|000054c0| 27 2c 2c 2c 2c 27 27 20 | 61 72 65 20 70 65 72 66 |',,,,'' |are perf|
|000054d0| 65 63 74 6c 79 20 6f 6b | 2e 0a 0a 54 68 65 20 64 |ectly ok|...The d|
|000054e0| 65 66 61 75 6c 74 20 6c | 69 73 74 20 66 6f 72 6d |efault l|ist form|
|000054f0| 61 74 20 69 73 20 61 6e | 20 65 6d 70 74 79 20 73 |at is an| empty s|
|00005500| 74 72 69 6e 67 20 28 27 | 27 27 27 29 2c 20 74 68 |tring ('|'''), th|
|00005510| 69 73 0a 6d 65 61 6e 73 | 20 61 20 6f 6e 65 20 63 |is.means| a one c|
|00005520| 6f 6c 75 6d 6e 20 6c 69 | 73 74 20 77 69 74 68 6f |olumn li|st witho|
|00005530| 75 74 20 73 70 65 63 69 | 61 6c 20 66 6f 72 6d 61 |ut speci|al forma|
|00005540| 74 74 69 6e 67 2e 0a 0a | 5c 73 75 62 73 75 62 73 |tting...|\subsubs|
|00005550| 65 63 74 69 6f 6e 2a 7b | 42 55 47 53 7d 0a 43 75 |ection*{|BUGS}.Cu|
|00005560| 72 72 65 6e 74 6c 79 20 | 74 68 65 72 65 20 69 73 |rrently |there is|
|00005570| 20 61 20 6d 61 78 69 6d | 75 6d 20 6f 66 20 36 34 | a maxim|um of 64|
|00005580| 20 63 6f 6c 75 6d 6e 73 | 20 66 6f 72 20 61 20 6c | columns| for a l|
|00005590| 69 73 74 2e 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |ist...\s|ubsubsec|
|000055a0| 74 69 6f 6e 2a 7b 45 58 | 41 4d 50 4c 45 7d 0a 5c |tion*{EX|AMPLE}.\|
|000055b0| 73 6d 61 6c 6c 0a 5c 62 | 65 67 69 6e 7b 76 65 72 |small.\b|egin{ver|
|000055c0| 62 61 74 69 6d 7d 0a 2f | 2a 20 54 68 72 65 65 20 |batim}./|* Three |
|000055d0| 63 6f 6c 75 6d 6e 20 6c | 69 73 74 20 77 69 74 68 |column l|ist with|
|000055e0| 6f 75 74 20 66 75 72 74 | 68 65 72 20 66 6f 72 6d |out furt|her form|
|000055f0| 61 74 74 69 6e 67 3a 20 | 2a 2f 0a 4d 55 49 41 5f |atting: |*/.MUIA_|
|00005600| 4c 69 73 74 5f 46 6f 72 | 6d 61 74 3a 20 22 2c 2c |List_For|mat: ",,|
|00005610| 22 0a 0a 2f 2a 20 54 68 | 72 65 65 20 63 6f 6c 75 |"../* Th|ree colu|
|00005620| 6d 6e 20 6c 69 73 74 2c | 20 6d 69 64 64 6c 65 20 |mn list,| middle |
|00005630| 63 6f 6c 75 6d 6e 20 63 | 65 6e 74 65 72 65 64 3a |column c|entered:|
|00005640| 20 2a 2f 0a 4d 55 49 41 | 5f 4c 69 73 74 5f 46 6f | */.MUIA|_List_Fo|
|00005650| 72 6d 61 74 3a 20 22 2c | 50 3d 5c 33 33 63 2c 22 |rmat: ",|P=\33c,"|
|00005660| 0a 0a 2f 2a 20 54 68 72 | 65 65 20 63 6f 6c 75 6d |../* Thr|ee colum|
|00005670| 6e 20 6c 69 73 74 2c 20 | 64 69 73 70 6c 61 79 20 |n list, |display |
|00005680| 6f 72 64 65 72 20 32 20 | 31 20 30 3a 20 2a 2f 0a |order 2 |1 0: */.|
|00005690| 4d 55 49 41 5f 4c 69 73 | 74 5f 46 6f 72 6d 61 74 |MUIA_Lis|t_Format|
|000056a0| 3a 20 22 43 4f 4c 3d 32 | 2c 43 4f 4c 3d 31 2c 43 |: "COL=2|,COL=1,C|
|000056b0| 4f 4c 3d 30 22 0a 0a 2f | 2a 20 6e 6f 77 20 73 6f |OL=0"../|* now so|
|000056c0| 6d 65 74 68 69 6e 67 20 | 6d 6f 72 65 20 63 6f 6d |mething |more com|
|000056d0| 70 6c 65 78 2e 20 20 20 | 20 20 20 20 20 20 20 20 |plex. | |
|000056e0| 2a 2f 0a 2f 2a 20 74 68 | 65 20 64 69 73 70 6c 61 |*/./* th|e displa|
|000056f0| 79 20 68 6f 6f 6b 20 64 | 65 66 69 6e 65 73 20 73 |y hook d|efines s|
|00005700| 69 78 20 65 6e 74 72 69 | 65 73 3a 20 2a 2f 0a 64 |ix entri|es: */.d|
|00005710| 69 73 70 66 75 6e 63 28 | 5f 61 32 20 63 68 61 72 |ispfunc(|_a2 char|
|00005720| 20 2a 2a 61 72 72 61 79 | 2c 5f 61 31 20 73 74 72 | **array|,_a1 str|
|00005730| 75 63 74 20 41 72 74 69 | 63 6c 65 20 2a 61 74 29 |uct Arti|cle *at)|
|00005740| 0a 7b 0a 20 20 20 2a 61 | 72 72 61 79 2b 2b 20 3d |.{. *a|rray++ =|
|00005750| 20 61 74 2d 3e 46 72 6f | 6d 4e 61 6d 65 3b 20 2f | at->Fro|mName; /|
|00005760| 2f 20 63 6f 6c 20 30 0a | 20 20 20 2a 61 72 72 61 |/ col 0.| *arra|
|00005770| 79 2b 2b 20 3d 20 61 74 | 2d 3e 46 72 6f 6d 50 61 |y++ = at|->FromPa|
|00005780| 74 68 3b 20 2f 2f 20 63 | 6f 6c 20 31 0a 20 20 20 |th; // c|ol 1. |
|00005790| 2a 61 72 72 61 79 2b 2b | 20 3d 20 61 74 2d 3e 54 |*array++| = at->T|
|000057a0| 6f 4e 61 6d 65 3b 20 20 | 20 2f 2f 20 63 6f 6c 20 |oName; | // col |
|000057b0| 32 0a 20 20 20 2a 61 72 | 72 61 79 2b 2b 20 3d 20 |2. *ar|ray++ = |
|000057c0| 61 74 2d 3e 54 6f 50 61 | 74 68 3b 20 20 20 2f 2f |at->ToPa|th; //|
|000057d0| 20 63 6f 6c 20 33 0a 20 | 20 20 2a 61 72 72 61 79 | col 3. | *array|
|000057e0| 2b 2b 20 3d 20 61 74 2d | 3e 44 61 74 65 3b 20 20 |++ = at-|>Date; |
|000057f0| 20 20 20 2f 2f 20 63 6f | 6c 20 34 0a 20 20 20 2a | // co|l 4. *|
|00005800| 61 72 72 61 79 20 20 20 | 3d 20 61 74 2d 3e 53 75 |array |= at->Su|
|00005810| 62 6a 65 63 74 3b 20 20 | 2f 2f 20 63 6f 6c 20 35 |bject; |// col 5|
|00005820| 0a 7d 0a 0a 2f 2a 20 62 | 75 74 20 77 65 20 6f 6e |.}../* b|ut we on|
|00005830| 6c 79 20 77 61 6e 74 20 | 74 6f 20 68 61 76 65 20 |ly want |to have |
|00005840| 66 72 6f 6d 6e 61 6d 65 | 2c 20 64 61 74 65 20 61 |fromname|, date a|
|00005850| 6e 64 20 73 75 62 6a 65 | 63 74 0a 2f 2a 20 61 63 |nd subje|ct./* ac|
|00005860| 74 75 61 6c 6c 79 20 64 | 69 73 70 6c 61 79 65 64 |tually d|isplayed|
|00005870| 2c 20 73 75 62 6a 65 63 | 74 20 73 68 6f 75 64 20 |, subjec|t shoud |
|00005880| 62 65 20 63 65 6e 74 65 | 72 65 64 3a 20 2a 2f 0a |be cente|red: */.|
|00005890| 4d 55 49 41 5f 4c 69 73 | 74 5f 46 6f 72 6d 61 74 |MUIA_Lis|t_Format|
|000058a0| 2c 20 22 43 4f 4c 3d 30 | 2c 43 4f 4c 3d 34 2c 43 |, "COL=0|,COL=4,C|
|000058b0| 4f 4c 3d 35 20 50 3d 5c | 33 33 63 22 0a 0a 2f 2a |OL=5 P=\|33c"../*|
|000058c0| 20 6d 61 79 62 65 20 74 | 68 69 73 20 6c 6f 6f 6b | maybe t|his look|
|000058d0| 73 20 6b 69 6e 64 20 6f | 66 20 73 69 6c 6c 79 2c |s kind o|f silly,|
|000058e0| 20 77 68 79 20 6e 6f 74 | 20 6d 61 6b 65 20 6f 75 | why not| make ou|
|000058f0| 72 20 20 2a 2f 0a 2f 2a | 20 64 69 73 70 6c 61 79 |r */./*| display|
|00005900| 20 68 6f 6f 6b 20 6f 6e | 6c 79 20 66 69 6c 6c 20 | hook on|ly fill |
|00005910| 69 6e 20 74 68 65 73 65 | 20 74 68 72 65 65 20 63 |in these| three c|
|00005920| 6f 6c 75 6d 6e 73 2e 20 | 20 20 20 2a 2f 0a 2f 2a |olumns. | */./*|
|00005930| 20 77 65 6c 6c 2c 20 69 | 66 20 79 6f 75 20 77 6f | well, i|f you wo|
|00005940| 75 6c 64 20 65 2e 67 2e | 20 6d 61 6b 65 20 74 68 |uld e.g.| make th|
|00005950| 65 20 66 6f 72 6d 61 74 | 20 73 74 72 69 6e 67 20 |e format| string |
|00005960| 20 20 20 2a 2f 0a 2f 2a | 20 75 73 65 72 20 63 6f | */./*| user co|
|00005970| 6e 66 69 67 75 72 61 62 | 6c 65 20 61 6e 64 20 64 |nfigurab|le and d|
|00005980| 6f 63 75 6d 65 6e 74 20 | 77 68 61 74 20 79 6f 75 |ocument |what you|
|00005990| 72 20 64 69 73 70 6c 61 | 79 20 20 2a 2f 0a 2f 2a |r displa|y */./*|
|000059a0| 20 68 6f 6f 6b 20 70 75 | 74 73 20 69 6e 74 6f 20 | hook pu|ts into |
|000059b0| 74 68 65 20 61 72 72 61 | 79 2c 20 74 68 65 20 75 |the arra|y, the u|
|000059c0| 73 65 72 20 63 6f 75 6c | 64 20 64 65 63 69 64 65 |ser coul|d decide|
|000059d0| 20 20 20 2a 2f 0a 2f 2a | 20 77 68 61 74 20 63 6f | */./*| what co|
|000059e0| 6c 75 6d 6e 73 20 68 65 | 20 61 63 74 75 61 6c 6c |lumns he| actuall|
|000059f0| 79 20 77 61 6e 74 73 20 | 74 6f 20 73 65 65 2e 20 |y wants |to see. |
|00005a00| 20 20 20 20 20 20 20 20 | 20 20 20 2a 2f 0a 2f 2a | | */./*|
|00005a10| 20 54 68 65 20 73 75 70 | 70 6c 69 65 64 20 65 78 | The sup|plied ex|
|00005a20| 61 6d 70 6c 65 20 44 46 | 56 69 65 77 20 64 6f 65 |ample DF|View doe|
|00005a30| 73 20 73 6f 6d 65 74 68 | 69 6e 67 20 6c 69 6b 65 |s someth|ing like|
|00005a40| 20 20 20 2a 2f 0a 2f 2a | 20 74 68 61 74 2e 20 20 | */./*| that. |
|00005a50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005a60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005a70| 20 20 20 20 20 20 20 20 | 20 20 20 2a 2f 0a 0a 2f | | */../|
|00005a80| 2a 20 74 77 6f 20 63 6f | 6c 75 6d 6e 20 6c 69 73 |* two co|lumn lis|
|00005a90| 74 3a 20 20 20 21 20 45 | 79 65 20 20 20 20 31 32 |t: ! E|ye 12|
|00005aa0| 33 34 20 21 0a 20 20 20 | 20 20 20 20 20 20 20 20 |34 !. | |
|00005ab0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005ac0| 20 20 20 21 20 46 6f 6f | 74 20 20 20 20 20 32 32 | ! Foo|t 22|
|00005ad0| 20 21 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | !. | |
|00005ae0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005af0| 20 21 20 4e 6f 73 65 20 | 20 32 32 33 33 31 20 21 | ! Nose | 22331 !|
|00005b00| 20 2a 2f 0a 0a 4d 55 49 | 41 5f 4c 69 73 74 5f 46 | */..MUI|A_List_F|
|00005b10| 6f 72 6d 61 74 2c 20 22 | 4d 41 57 3d 31 30 30 2c |ormat, "|MAW=100,|
|00005b20| 50 3d 5c 33 33 72 22 0a | 0a 5c 65 6e 64 7b 76 65 |P=\33r".|.\end{ve|
|00005b30| 72 62 61 74 69 6d 7d 0a | 5c 6e 6f 72 6d 61 6c 73 |rbatim}.|\normals|
|00005b40| 69 7a 65 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |ize.\sub|subsecti|
|00005b50| 6f 6e 2a 7b 53 45 45 20 | 41 4c 53 4f 7d 0a 4d 55 |on*{SEE |ALSO}.MU|
|00005b60| 49 41 5c 5f 4c 69 73 74 | 5c 5f 44 69 73 70 6c 61 |IA\_List|\_Displa|
|00005b70| 79 48 6f 6f 6b 2c 20 4d | 55 49 41 5c 5f 54 65 78 |yHook, M|UIA\_Tex|
|00005b80| 74 5c 5f 43 6f 6e 74 65 | 6e 74 73 0a 0a 5c 73 75 |t\_Conte|nts..\su|
|00005b90| 62 73 65 63 74 69 6f 6e | 5b 4d 55 49 41 5c 5f 4c |bsection|[MUIA\_L|
|00005ba0| 69 73 74 5c 5f 49 6e 73 | 65 72 74 50 6f 73 69 74 |ist\_Ins|ertPosit|
|00005bb0| 69 6f 6e 5d 7b 4d 55 49 | 41 5c 5f 4c 69 73 74 5c |ion]{MUI|A\_List\|
|00005bc0| 5f 49 6e 73 65 72 74 50 | 6f 73 69 74 69 6f 6e 20 |_InsertP|osition |
|00005bd0| 2d 2d 20 28 56 39 29 20 | 5b 2e 2e 47 5d 2c 20 4c |-- (V9) |[..G], L|
|00005be0| 4f 4e 47 7d 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |ONG}..\s|ubsubsec|
|00005bf0| 74 69 6f 6e 2a 7b 46 55 | 4e 43 54 49 4f 4e 7d 0a |tion*{FU|NCTION}.|
|00005c00| 41 66 74 65 72 20 69 6e | 73 65 72 74 69 6f 6e 20 |After in|sertion |
|00005c10| 6f 66 20 61 6e 20 65 6c | 65 6d 65 6e 74 20 77 69 |of an el|ement wi|
|00005c20| 74 68 20 4d 55 49 4d 5c | 5f 4c 69 73 74 5c 5f 49 |th MUIM\|_List\_I|
|00005c30| 6e 73 65 72 74 2c 0a 79 | 6f 75 20 63 61 6e 20 71 |nsert,.y|ou can q|
|00005c40| 75 65 72 79 20 74 68 65 | 20 70 6f 73 69 74 69 6f |uery the| positio|
|00005c50| 6e 20 6f 66 20 74 68 65 | 20 6e 65 77 20 65 6e 74 |n of the| new ent|
|00005c60| 72 79 20 62 79 0a 67 65 | 74 74 69 6e 67 20 74 68 |ry by.ge|tting th|
|00005c70| 69 73 20 61 74 74 72 69 | 62 75 74 65 2e 0a 0a 5c |is attri|bute...\|
|00005c80| 73 75 62 73 65 63 74 69 | 6f 6e 5b 4d 55 49 41 5c |subsecti|on[MUIA\|
|00005c90| 5f 4c 69 73 74 5c 5f 4d | 75 6c 74 69 54 65 73 74 |_List\_M|ultiTest|
|00005ca0| 48 6f 6f 6b 5d 7b 4d 55 | 49 41 5c 5f 4c 69 73 74 |Hook]{MU|IA\_List|
|00005cb0| 5c 5f 4d 75 6c 74 69 54 | 65 73 74 48 6f 6f 6b 20 |\_MultiT|estHook |
|00005cc0| 2d 2d 20 28 56 34 29 20 | 5b 49 53 2e 5d 2c 20 73 |-- (V4) |[IS.], s|
|00005cd0| 74 72 75 63 74 20 48 6f | 6f 6b 20 24 5c 61 73 74 |truct Ho|ok $\ast|
|00005ce0| 24 7d 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |$}..\sub|subsecti|
|00005cf0| 6f 6e 2a 7b 46 55 4e 43 | 54 49 4f 4e 7d 0a 49 66 |on*{FUNC|TION}.If|
|00005d00| 20 79 6f 75 20 70 6c 61 | 6e 20 74 6f 20 68 61 76 | you pla|n to hav|
|00005d10| 65 20 61 20 6d 75 6c 74 | 69 20 73 65 6c 65 63 74 |e a mult|i select|
|00005d20| 69 6e 67 20 6c 69 73 74 | 20 62 75 74 20 6e 6f 74 |ing list| but not|
|00005d30| 0a 61 6c 6c 20 6f 66 20 | 79 6f 75 72 20 65 6e 74 |.all of |your ent|
|00005d40| 72 69 65 73 20 61 72 65 | 20 61 63 74 75 61 6c 6c |ries are| actuall|
|00005d50| 79 20 6d 75 6c 74 69 20 | 73 65 6c 65 63 74 61 62 |y multi |selectab|
|00005d60| 6c 65 0a 28 65 2e 67 2e | 20 69 6e 20 61 20 66 69 |le.(e.g.| in a fi|
|00005d70| 6c 65 20 72 65 71 75 65 | 73 74 65 72 29 2c 20 79 |le reque|ster), y|
|00005d80| 6f 75 20 63 61 6e 20 73 | 75 70 70 6c 79 20 61 0a |ou can s|upply a.|
|00005d90| 4d 55 49 41 5c 5f 4c 69 | 73 74 5c 5f 4d 75 6c 74 |MUIA\_Li|st\_Mult|
|00005da0| 69 54 65 73 74 48 6f 6f | 6b 2e 0a 0a 49 74 20 77 |iTestHoo|k...It w|
|00005db0| 69 6c 6c 20 62 65 20 63 | 61 6c 6c 65 64 20 77 69 |ill be c|alled wi|
|00005dc0| 74 68 20 61 20 70 6f 69 | 6e 74 65 72 20 74 6f 20 |th a poi|nter to |
|00005dd0| 61 6e 20 65 6e 74 72 79 | 20 69 6e 0a 41 31 20 61 |an entry| in.A1 a|
|00005de0| 6e 64 20 73 68 6f 75 6c | 64 20 72 65 74 75 72 6e |nd shoul|d return|
|00005df0| 20 54 52 55 45 20 69 66 | 20 74 68 65 20 65 6e 74 | TRUE if| the ent|
|00005e00| 72 79 20 69 73 20 6d 75 | 6c 74 69 0a 73 65 6c 65 |ry is mu|lti.sele|
|00005e10| 63 74 61 62 6c 65 2c 20 | 46 41 4c 53 45 20 6f 74 |ctable, |FALSE ot|
|00005e20| 68 65 72 77 69 73 65 2e | 0a 0a 5c 73 75 62 73 75 |herwise.|..\subsu|
|00005e30| 62 73 65 63 74 69 6f 6e | 2a 7b 45 58 41 4d 50 4c |bsection|*{EXAMPL|
|00005e40| 45 7d 0a 5c 73 6d 61 6c | 6c 0a 5c 62 65 67 69 6e |E}.\smal|l.\begin|
|00005e50| 7b 76 65 72 62 61 74 69 | 6d 7d 0a 2f 2a 20 6d 75 |{verbati|m}./* mu|
|00005e60| 6c 74 69 20 74 65 73 74 | 20 66 75 6e 63 20 66 6f |lti test| func fo|
|00005e70| 72 20 61 20 6c 69 73 74 | 20 6f 66 20 66 69 6c 65 |r a list| of file|
|00005e80| 20 69 6e 66 6f 20 62 6c | 6f 63 6b 73 20 2a 2f 0a | info bl|ocks */.|
|00005e90| 0a 4c 4f 4e 47 20 5f 5f | 61 73 6d 20 6d 74 66 75 |.LONG __|asm mtfu|
|00005ea0| 6e 63 28 5f 61 31 20 73 | 74 72 75 63 74 20 46 69 |nc(_a1 s|truct Fi|
|00005eb0| 6c 65 49 6e 66 6f 42 6c | 6f 63 6b 20 2a 66 69 62 |leInfoBl|ock *fib|
|00005ec0| 29 0a 7b 0a 20 20 20 69 | 66 20 28 66 69 62 2d 3e |).{. i|f (fib->|
|00005ed0| 66 69 62 5f 44 69 72 45 | 6e 74 72 79 54 79 70 65 |fib_DirE|ntryType|
|00005ee0| 3c 30 29 0a 20 20 20 20 | 20 20 72 65 74 75 72 6e |<0). | return|
|00005ef0| 28 54 52 55 45 29 3b 0a | 20 20 20 65 6c 73 65 0a |(TRUE);.| else.|
|00005f00| 20 20 20 20 20 20 72 65 | 74 75 72 6e 28 46 41 4c | re|turn(FAL|
|00005f10| 53 45 29 3b 0a 7d 0a 0a | 5c 65 6e 64 7b 76 65 72 |SE);.}..|\end{ver|
|00005f20| 62 61 74 69 6d 7d 0a 5c | 6e 6f 72 6d 61 6c 73 69 |batim}.\|normalsi|
|00005f30| 7a 65 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |ze.\subs|ubsectio|
|00005f40| 6e 2a 7b 53 45 45 20 41 | 4c 53 4f 7d 0a 4d 55 49 |n*{SEE A|LSO}.MUI|
|00005f50| 41 5c 5f 4c 69 73 74 5c | 5f 43 6f 6e 73 74 72 75 |A\_List\|_Constru|
|00005f60| 63 74 48 6f 6f 6b 2c 20 | 4d 55 49 41 5c 5f 4c 69 |ctHook, |MUIA\_Li|
|00005f70| 73 74 5c 5f 44 65 73 74 | 72 75 63 74 48 6f 6f 6b |st\_Dest|ructHook|
|00005f80| 0a 0a 5c 73 75 62 73 65 | 63 74 69 6f 6e 5b 4d 55 |..\subse|ction[MU|
|00005f90| 49 41 5c 5f 4c 69 73 74 | 5c 5f 51 75 69 65 74 5d |IA\_List|\_Quiet]|
|00005fa0| 7b 4d 55 49 41 5c 5f 4c | 69 73 74 5c 5f 51 75 69 |{MUIA\_L|ist\_Qui|
|00005fb0| 65 74 20 2d 2d 20 28 56 | 34 29 20 5b 2e 53 2e 5d |et -- (V|4) [.S.]|
|00005fc0| 2c 20 42 4f 4f 4c 7d 0a | 0a 5c 73 75 62 73 75 62 |, BOOL}.|.\subsub|
|00005fd0| 73 65 63 74 69 6f 6e 2a | 7b 46 55 4e 43 54 49 4f |section*|{FUNCTIO|
|00005fe0| 4e 7d 0a 49 66 20 79 6f | 75 20 61 64 64 2f 72 65 |N}.If yo|u add/re|
|00005ff0| 6d 6f 76 65 20 6c 6f 74 | 73 20 6f 66 20 65 6e 74 |move lot|s of ent|
|00006000| 72 69 65 73 20 74 6f 2f | 66 72 6f 6d 20 61 20 63 |ries to/|from a c|
|00006010| 75 72 72 65 6e 74 6c 79 | 20 76 69 73 69 62 6c 65 |urrently| visible|
|00006020| 0a 6c 69 73 74 2c 20 74 | 68 69 73 20 77 69 6c 6c |.list, t|his will|
|00006030| 20 63 61 75 73 65 20 6c | 6f 74 73 20 6f 66 20 73 | cause l|ots of s|
|00006040| 63 72 65 65 6e 20 61 63 | 74 69 6f 6e 20 61 6e 64 |creen ac|tion and|
|00006050| 20 73 6c 6f 77 20 64 6f | 77 6e 0a 74 68 65 20 6f | slow do|wn.the o|
|00006060| 70 65 72 61 74 69 6f 6e | 2e 20 53 65 74 74 69 6e |peration|. Settin|
|00006070| 67 20 4d 55 49 41 5c 5f | 4c 69 73 74 5c 5f 51 75 |g MUIA\_|List\_Qu|
|00006080| 69 65 74 20 74 6f 20 74 | 72 75 65 20 77 69 6c 6c |iet to t|rue will|
|00006090| 0a 74 65 6d 70 6f 72 61 | 72 69 6c 79 20 70 72 65 |.tempora|rily pre|
|000060a0| 76 65 6e 74 20 74 68 65 | 20 6c 69 73 74 20 66 72 |vent the| list fr|
|000060b0| 6f 6d 20 62 65 69 6e 67 | 20 72 65 66 72 65 73 68 |om being| refresh|
|000060c0| 65 64 2c 20 74 68 69 73 | 0a 72 65 66 72 65 73 68 |ed, this|.refresh|
|000060d0| 20 77 69 6c 6c 20 74 61 | 6b 65 20 70 6c 61 63 65 | will ta|ke place|
|000060e0| 20 6f 6e 6c 79 20 6f 6e | 63 65 20 77 68 65 6e 20 | only on|ce when |
|000060f0| 79 6f 75 20 73 65 74 20 | 69 74 20 62 61 63 6b 0a |you set |it back.|
|00006100| 74 6f 20 66 61 6c 73 65 | 20 61 67 61 69 6e 2e 0a |to false| again..|
|00006110| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|00006120| 7b 45 58 41 4d 50 4c 45 | 7d 0a 5c 73 6d 61 6c 6c |{EXAMPLE|}.\small|
|00006130| 0a 5c 62 65 67 69 6e 7b | 76 65 72 62 61 74 69 6d |.\begin{|verbatim|
|00006140| 7d 0a 73 65 74 28 6c 69 | 73 74 2c 4d 55 49 41 5f |}.set(li|st,MUIA_|
|00006150| 4c 69 73 74 5f 51 75 69 | 65 74 2c 54 52 55 45 29 |List_Qui|et,TRUE)|
|00006160| 3b 0a 41 64 64 54 68 6f | 75 73 61 6e 64 45 6e 74 |;.AddTho|usandEnt|
|00006170| 72 69 65 73 28 6c 69 73 | 74 29 3b 0a 73 65 74 28 |ries(lis|t);.set(|
|00006180| 6c 69 73 74 2c 4d 55 49 | 41 5f 4c 69 73 74 5f 51 |list,MUI|A_List_Q|
|00006190| 75 69 65 74 2c 46 41 4c | 53 45 29 3b 0a 0a 5c 65 |uiet,FAL|SE);..\e|
|000061a0| 6e 64 7b 76 65 72 62 61 | 74 69 6d 7d 0a 5c 6e 6f |nd{verba|tim}.\no|
|000061b0| 72 6d 61 6c 73 69 7a 65 | 0a 5c 73 75 62 73 75 62 |rmalsize|.\subsub|
|000061c0| 73 65 63 74 69 6f 6e 2a | 7b 53 45 45 20 41 4c 53 |section*|{SEE ALS|
|000061d0| 4f 7d 0a 4d 55 49 4d 5c | 5f 4c 69 73 74 5c 5f 49 |O}.MUIM\|_List\_I|
|000061e0| 6e 73 65 72 74 2c 20 4d | 55 49 4d 5c 5f 4c 69 73 |nsert, M|UIM\_Lis|
|000061f0| 74 5c 5f 52 65 6d 6f 76 | 65 0a 0a 5c 73 75 62 73 |t\_Remov|e..\subs|
|00006200| 65 63 74 69 6f 6e 5b 4d | 55 49 41 5c 5f 4c 69 73 |ection[M|UIA\_Lis|
|00006210| 74 5c 5f 53 6f 75 72 63 | 65 41 72 72 61 79 5d 7b |t\_Sourc|eArray]{|
|00006220| 4d 55 49 41 5c 5f 4c 69 | 73 74 5c 5f 53 6f 75 72 |MUIA\_Li|st\_Sour|
|00006230| 63 65 41 72 72 61 79 20 | 2d 2d 20 28 56 34 29 20 |ceArray |-- (V4) |
|00006240| 5b 49 2e 2e 5d 2c 20 41 | 50 54 52 7d 0a 0a 5c 73 |[I..], A|PTR}..\s|
|00006250| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 46 55 |ubsubsec|tion*{FU|
|00006260| 4e 43 54 49 4f 4e 7d 0a | 54 68 65 20 4e 55 4c 4c |NCTION}.|The NULL|
|00006270| 20 74 65 72 6d 69 6e 61 | 74 65 64 20 61 72 72 61 | termina|ted arra|
|00006280| 79 20 67 69 76 65 6e 20 | 68 65 72 65 20 69 73 20 |y given |here is |
|00006290| 69 6d 6d 65 64 69 61 74 | 65 6c 79 20 69 6e 73 65 |immediat|ely inse|
|000062a0| 72 74 65 64 20 69 6e 74 | 6f 20 74 68 65 0a 6c 69 |rted int|o the.li|
|000062b0| 73 74 20 61 66 74 65 72 | 20 6f 62 6a 65 63 74 20 |st after| object |
|000062c0| 63 72 65 61 74 69 6f 6e | 20 74 69 6d 65 2e 0a 0a |creation| time...|
|000062d0| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|000062e0| 45 58 41 4d 50 4c 45 7d | 0a 5c 73 6d 61 6c 6c 0a |EXAMPLE}|.\small.|
|000062f0| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|00006300| 0a 73 74 61 74 69 63 20 | 63 6f 6e 73 74 20 63 68 |.static |const ch|
|00006310| 61 72 20 2a 4b 65 79 4c | 69 73 74 5b 5d 20 3d 0a |ar *KeyL|ist[] =.|
|00006320| 7b 0a 20 20 20 22 43 75 | 72 73 6f 72 20 55 70 22 |{. "Cu|rsor Up"|
|00006330| 2c 0a 20 20 20 22 43 75 | 72 73 6f 72 20 44 6f 77 |,. "Cu|rsor Dow|
|00006340| 6e 22 2c 0a 20 20 20 22 | 43 75 72 73 6f 72 20 4c |n",. "|Cursor L|
|00006350| 65 66 74 22 2c 0a 20 20 | 20 22 43 75 72 73 6f 72 |eft",. | "Cursor|
|00006360| 20 52 69 67 68 74 22 2c | 0a 20 20 20 4e 55 4c 4c | Right",|. NULL|
|00006370| 3b 0a 7d 3b 0a 0a 4c 56 | 5f 4b 65 79 73 20 3d 20 |;.};..LV|_Keys = |
|00006380| 4c 69 73 74 76 69 65 77 | 4f 62 6a 65 63 74 2c 0a |Listview|Object,.|
|00006390| 20 20 20 4d 55 49 41 5f | 4c 69 73 74 76 69 65 77 | MUIA_|Listview|
|000063a0| 5f 4c 69 73 74 2c 20 4c | 69 73 74 4f 62 6a 65 63 |_List, L|istObjec|
|000063b0| 74 2c 0a 20 20 20 20 20 | 20 49 6e 70 75 74 4c 69 |t,. | InputLi|
|000063c0| 73 74 46 72 61 6d 65 2c | 0a 20 20 20 20 20 20 4d |stFrame,|. M|
|000063d0| 55 49 41 5f 4c 69 73 74 | 5f 41 64 6a 75 73 74 57 |UIA_List|_AdjustW|
|000063e0| 69 64 74 68 2c 20 54 52 | 55 45 2c 0a 20 20 20 20 |idth, TR|UE,. |
|000063f0| 20 20 4d 55 49 41 5f 4c | 69 73 74 5f 53 6f 75 72 | MUIA_L|ist_Sour|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.