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, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 50 6f 70 73 74 72 69 |\section|{Popstri|
|00000010| 6e 67 2e 6d 75 69 7d 0a | 0a 50 6f 70 73 74 72 69 |ng.mui}.|.Popstri|
|00000020| 6e 67 20 63 6c 61 73 73 | 20 69 73 20 74 68 65 20 |ng class| is the |
|00000030| 62 61 73 65 20 63 6c 61 | 73 73 20 66 6f 72 20 63 |base cla|ss for c|
|00000040| 72 65 61 74 69 6e 67 20 | 73 6f 20 63 61 6c 6c 65 |reating |so calle|
|00000050| 64 0a 70 6f 70 75 70 20 | 6f 62 6a 65 63 74 73 2e |d.popup |objects.|
|00000060| 20 55 73 75 61 6c 6c 79 | 2c 20 61 20 70 6f 70 75 | Usually|, a popu|
|00000070| 70 20 63 6f 6e 73 69 73 | 74 73 20 6f 66 20 61 20 |p consis|ts of a |
|00000080| 73 74 72 69 6e 67 20 6f | 72 0a 74 65 78 74 20 67 |string o|r.text g|
|00000090| 61 64 67 65 74 2c 20 66 | 6f 6c 6c 6f 77 65 64 20 |adget, f|ollowed |
|000000a0| 62 79 20 61 20 6c 69 74 | 74 6c 65 20 62 75 74 74 |by a lit|tle butt|
|000000b0| 6f 6e 2e 20 50 72 65 73 | 73 69 6e 67 20 74 68 69 |on. Pres|sing thi|
|000000c0| 73 0a 62 75 74 74 6f 6e | 20 62 72 69 6e 67 73 20 |s.button| brings |
|000000d0| 75 70 20 61 20 6c 69 74 | 74 6c 65 20 77 69 6e 64 |up a lit|tle wind|
|000000e0| 6f 77 20 77 69 74 68 20 | 61 20 6c 69 73 74 76 69 |ow with |a listvi|
|000000f0| 65 77 20 61 6e 64 20 6c | 65 74 73 0a 74 68 65 20 |ew and l|ets.the |
|00000100| 75 73 65 72 20 63 68 6f | 6f 73 65 20 61 6e 20 65 |user cho|ose an e|
|00000110| 6e 74 72 79 20 77 69 74 | 68 20 74 68 65 20 6d 6f |ntry wit|h the mo|
|00000120| 75 73 65 2e 0a 0a 50 6f | 70 73 74 72 69 6e 67 20 |use...Po|pstring |
|00000130| 63 6c 61 73 73 20 66 65 | 61 74 75 72 65 73 20 74 |class fe|atures t|
|00000140| 68 65 20 62 61 73 69 63 | 20 66 75 6e 63 74 69 6f |he basic| functio|
|00000150| 6e 73 20 66 6f 72 20 63 | 72 65 61 74 69 6e 67 0a |ns for c|reating.|
|00000160| 73 75 63 68 20 6f 62 6a | 65 63 74 73 2e 20 47 69 |such obj|ects. Gi|
|00000170| 76 65 6e 20 61 20 73 74 | 72 69 6e 67 20 6f 62 6a |ven a st|ring obj|
|00000180| 65 63 74 20 61 6e 64 20 | 61 20 62 75 74 74 6f 6e |ect and |a button|
|00000190| 20 6f 62 6a 65 63 74 2c | 0a 69 74 20 70 6c 61 63 | object,|.it plac|
|000001a0| 65 73 20 74 68 65 6d 20 | 68 6f 72 69 7a 6f 6e 74 |es them |horizont|
|000001b0| 61 6c 6c 79 20 61 6e 64 | 20 73 65 74 73 20 75 70 |ally and| sets up|
|000001c0| 20 73 6f 6d 65 20 6e 6f | 74 69 66 69 63 61 74 69 | some no|tificati|
|000001d0| 6f 6e 2e 0a 57 68 65 6e | 65 76 65 72 20 74 68 65 |on..When|ever the|
|000001e0| 20 70 6f 70 75 70 20 62 | 75 74 74 6f 6e 20 69 73 | popup b|utton is|
|000001f0| 20 70 72 65 73 73 65 64 | 2c 20 61 20 68 6f 6f 6b | pressed|, a hook|
|00000200| 20 77 69 6c 6c 20 62 65 | 20 63 61 6c 6c 65 64 0a | will be| called.|
|00000210| 77 68 69 63 68 20 69 74 | 73 65 6c 66 20 73 68 6f |which it|self sho|
|00000220| 75 6c 64 20 6f 70 65 6e | 20 61 6e 64 20 70 72 65 |uld open| and pre|
|00000230| 70 61 72 65 20 74 68 65 | 20 70 6f 70 75 70 20 77 |pare the| popup w|
|00000240| 69 6e 64 6f 77 2e 0a 0a | 54 68 65 20 73 74 72 69 |indow...|The stri|
|00000250| 6e 67 20 61 6e 64 20 74 | 68 65 20 62 75 74 74 6f |ng and t|he butto|
|00000260| 6e 20 6f 62 6a 65 63 74 | 20 61 72 65 20 6e 6f 74 |n object| are not|
|00000270| 20 63 72 65 61 74 65 64 | 20 62 79 20 70 6f 70 73 | created| by pops|
|00000280| 74 72 69 6e 67 0a 63 6c | 61 73 73 2c 20 74 68 65 |tring.cl|ass, the|
|00000290| 79 20 68 61 76 65 20 74 | 6f 20 62 65 20 73 75 70 |y have t|o be sup|
|000002a0| 70 6c 69 65 64 20 61 73 | 20 61 74 74 72 69 62 75 |plied as| attribu|
|000002b0| 74 65 73 20 64 75 72 69 | 6e 67 20 6f 62 6a 65 63 |tes duri|ng objec|
|000002c0| 74 0a 63 72 65 61 74 69 | 6f 6e 20 74 69 6d 65 2e |t.creati|on time.|
|000002d0| 20 54 68 69 73 20 6d 61 | 6b 65 73 20 70 6f 70 73 | This ma|kes pops|
|000002e0| 74 72 69 6e 67 20 63 6c | 61 73 73 20 76 65 72 79 |tring cl|ass very|
|000002f0| 20 66 6c 65 78 69 62 6c | 65 2c 0a 6f 6e 65 20 63 | flexibl|e,.one c|
|00000300| 6f 75 6c 64 20 65 2e 67 | 2e 20 75 73 65 20 61 20 |ould e.g|. use a |
|00000310| 74 65 78 74 20 6f 62 6a | 65 63 74 20 69 6e 73 74 |text obj|ect inst|
|00000320| 65 61 64 20 6f 66 20 61 | 20 73 74 72 69 6e 67 20 |ead of a| string |
|00000330| 6f 72 0a 61 20 70 6f 70 | 75 70 20 62 75 74 74 6f |or.a pop|up butto|
|00000340| 6e 20 77 69 74 68 20 73 | 6f 6d 65 20 74 65 78 74 |n with s|ome text|
|00000350| 20 69 6e 20 69 74 2e 0a | 0a 48 6f 77 65 76 65 72 | in it..|.However|
|00000360| 2c 20 63 72 65 61 74 69 | 6e 67 20 73 69 6d 70 6c |, creati|ng simpl|
|00000370| 65 20 70 6f 70 75 70 73 | 20 77 69 74 68 20 70 6f |e popups| with po|
|00000380| 70 73 74 72 69 6e 67 20 | 63 6c 61 73 73 20 77 6f |pstring |class wo|
|00000390| 75 6c 64 0a 62 65 20 74 | 6f 6f 20 6d 75 63 68 20 |uld.be t|oo much |
|000003a0| 6f 76 65 72 68 65 61 64 | 2e 20 49 6e 73 74 65 61 |overhead|. Instea|
|000003b0| 64 20 6f 66 20 75 73 69 | 6e 67 20 69 74 20 64 69 |d of usi|ng it di|
|000003c0| 72 65 63 74 6c 79 2c 20 | 79 6f 75 0a 73 68 6f 75 |rectly, |you.shou|
|000003d0| 6c 64 20 68 61 76 65 20 | 61 20 6c 6f 6f 6b 20 61 |ld have |a look a|
|000003e0| 74 20 6f 6e 65 20 6f 66 | 20 69 74 73 20 73 75 62 |t one of| its sub|
|000003f0| 63 6c 61 73 73 65 73 2e | 20 54 68 65 79 20 6f 66 |classes.| They of|
|00000400| 66 65 72 0a 61 20 6d 6f | 72 65 20 73 70 65 63 69 |fer.a mo|re speci|
|00000410| 61 6c 69 7a 65 64 20 73 | 65 74 20 6f 66 20 70 6f |alized s|et of po|
|00000420| 70 75 70 73 20 61 6e 64 | 20 61 72 65 20 61 20 6c |pups and| are a l|
|00000430| 6f 74 20 65 61 73 69 65 | 72 0a 74 6f 20 75 73 65 |ot easie|r.to use|
|00000440| 2e 0a 0a 5c 73 75 62 73 | 65 63 74 69 6f 6e 5b 4d |...\subs|ection[M|
|00000450| 55 49 4d 5c 5f 50 6f 70 | 73 74 72 69 6e 67 5c 5f |UIM\_Pop|string\_|
|00000460| 43 6c 6f 73 65 5d 7b 4d | 55 49 4d 5c 5f 50 6f 70 |Close]{M|UIM\_Pop|
|00000470| 73 74 72 69 6e 67 5c 5f | 43 6c 6f 73 65 20 28 56 |string\_|Close (V|
|00000480| 37 29 7d 0a 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |7)}..\su|bsubsect|
|00000490| 69 6f 6e 2a 7b 53 59 4e | 4f 50 53 49 53 7d 0a 44 |ion*{SYN|OPSIS}.D|
|000004a0| 6f 4d 65 74 68 6f 64 28 | 6f 62 6a 2c 4d 55 49 4d |oMethod(|obj,MUIM|
|000004b0| 5c 5f 50 6f 70 73 74 72 | 69 6e 67 5c 5f 43 6c 6f |\_Popstr|ing\_Clo|
|000004c0| 73 65 2c 4c 4f 4e 47 20 | 72 65 73 75 6c 74 29 3b |se,LONG |result);|
|000004d0| 0a 0a 5c 73 75 62 73 75 | 62 73 65 63 74 69 6f 6e |..\subsu|bsection|
|000004e0| 2a 7b 46 55 4e 43 54 49 | 4f 4e 7d 0a 54 68 69 73 |*{FUNCTI|ON}.This|
|000004f0| 20 6d 65 74 68 6f 64 20 | 63 6c 6f 73 65 73 20 74 | method |closes t|
|00000500| 68 65 20 70 6f 70 75 70 | 2e 20 49 6e 20 66 61 63 |he popup|. In fac|
|00000510| 74 2c 20 69 74 20 6f 6e | 6c 79 20 63 61 6c 6c 73 |t, it on|ly calls|
|00000520| 20 74 68 65 0a 70 72 65 | 64 65 66 69 6e 65 64 20 | the.pre|defined |
|00000530| 4d 55 49 41 5c 5f 50 6f | 70 73 74 72 69 6e 67 5c |MUIA\_Po|pstring\|
|00000540| 5f 43 6c 6f 73 65 48 6f | 6f 6b 20 77 69 74 68 20 |_CloseHo|ok with |
|00000550| 74 68 65 20 73 75 70 70 | 6c 69 65 64 0a 73 75 63 |the supp|lied.suc|
|00000560| 63 65 73 73 20 70 61 72 | 61 6d 65 74 65 72 2e 0a |cess par|ameter..|
|00000570| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|00000580| 7b 45 58 41 4d 50 4c 45 | 7d 0a 5c 73 6d 61 6c 6c |{EXAMPLE|}.\small|
|00000590| 0a 5c 62 65 67 69 6e 7b | 76 65 72 62 61 74 69 6d |.\begin{|verbatim|
|000005a0| 7d 0a 44 6f 4d 65 74 68 | 6f 64 28 70 6f 70 6c 69 |}.DoMeth|od(popli|
|000005b0| 73 74 2c 4d 55 49 4d 5f | 4e 6f 74 69 66 79 2c 4d |st,MUIM_|Notify,M|
|000005c0| 55 49 41 5f 4c 69 73 74 | 76 69 65 77 5f 44 6f 75 |UIA_List|view_Dou|
|000005d0| 62 65 43 6c 69 63 6b 2c | 54 52 55 45 2c 0a 20 20 |beClick,|TRUE,. |
|000005e0| 20 70 6f 70 6f 62 6a 2c | 32 2c 4d 55 49 4d 5f 50 | popobj,|2,MUIM_P|
|000005f0| 6f 70 73 74 72 69 6e 67 | 5f 43 6c 6f 73 65 2c 54 |opstring|_Close,T|
|00000600| 52 55 45 29 3b 0a 0a 5c | 65 6e 64 7b 76 65 72 62 |RUE);..\|end{verb|
|00000610| 61 74 69 6d 7d 0a 5c 6e | 6f 72 6d 61 6c 73 69 7a |atim}.\n|ormalsiz|
|00000620| 65 0a 5c 73 75 62 73 65 | 63 74 69 6f 6e 5b 4d 55 |e.\subse|ction[MU|
|00000630| 49 4d 5c 5f 50 6f 70 73 | 74 72 69 6e 67 5c 5f 4f |IM\_Pops|tring\_O|
|00000640| 70 65 6e 5d 7b 4d 55 49 | 4d 5c 5f 50 6f 70 73 74 |pen]{MUI|M\_Popst|
|00000650| 72 69 6e 67 5c 5f 4f 70 | 65 6e 20 28 56 37 29 7d |ring\_Op|en (V7)}|
|00000660| 0a 0a 5c 73 75 62 73 75 | 62 73 65 63 74 69 6f 6e |..\subsu|bsection|
|00000670| 2a 7b 53 59 4e 4f 50 53 | 49 53 7d 0a 44 6f 4d 65 |*{SYNOPS|IS}.DoMe|
|00000680| 74 68 6f 64 28 6f 62 6a | 2c 4d 55 49 4d 5c 5f 50 |thod(obj|,MUIM\_P|
|00000690| 6f 70 73 74 72 69 6e 67 | 5c 5f 4f 70 65 6e 2c 29 |opstring|\_Open,)|
|000006a0| 3b 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |;..\subs|ubsectio|
|000006b0| 6e 2a 7b 46 55 4e 43 54 | 49 4f 4e 7d 0a 54 68 69 |n*{FUNCT|ION}.Thi|
|000006c0| 73 20 6d 65 74 68 6f 64 | 20 6f 70 65 6e 73 20 74 |s method| opens t|
|000006d0| 68 65 20 70 6f 70 75 70 | 2e 20 49 6e 20 66 61 63 |he popup|. In fac|
|000006e0| 74 2c 20 69 74 20 6f 6e | 6c 79 20 63 61 6c 6c 73 |t, it on|ly calls|
|000006f0| 20 74 68 65 0a 70 72 65 | 64 65 66 69 6e 65 64 20 | the.pre|defined |
|00000700| 4d 55 49 41 5c 5f 50 6f | 70 73 74 72 69 6e 67 5c |MUIA\_Po|pstring\|
|00000710| 5f 4f 70 65 6e 48 6f 6f | 6b 20 61 6e 64 20 63 68 |_OpenHoo|k and ch|
|00000720| 65 63 6b 73 20 69 74 73 | 20 72 65 74 75 72 6e 0a |ecks its| return.|
|00000730| 76 61 6c 75 65 2e 20 49 | 6e 20 63 61 73 65 20 6f |value. I|n case o|
|00000740| 66 20 54 52 55 45 2c 20 | 74 68 65 20 70 6f 70 75 |f TRUE, |the popu|
|00000750| 70 20 62 75 74 74 6f 6e | 20 6f 62 6a 65 63 74 20 |p button| object |
|00000760| 69 73 20 64 69 73 61 62 | 6c 65 64 0a 61 73 20 6c |is disab|led.as l|
|00000770| 6f 6e 67 20 61 73 20 4d | 55 49 41 5c 5f 50 6f 70 |ong as M|UIA\_Pop|
|00000780| 73 74 72 69 6e 67 5c 5f | 54 6f 67 67 6c 65 20 69 |string\_|Toggle i|
|00000790| 73 20 75 6e 73 65 74 2e | 0a 0a 49 66 20 74 68 65 |s unset.|..If the|
|000007a0| 20 74 6f 67 67 6c 65 20 | 6d 6f 64 65 20 69 73 20 | toggle |mode is |
|000007b0| 65 6e 61 62 6c 65 64 2c | 20 75 73 69 6e 67 20 4d |enabled,| using M|
|000007c0| 55 49 41 5c 5f 50 6f 70 | 73 74 72 69 6e 67 5c 5f |UIA\_Pop|string\_|
|000007d0| 4f 70 65 6e 20 6f 6e 0a | 61 20 63 75 72 72 65 6e |Open on.|a curren|
|000007e0| 74 6c 79 20 6f 70 65 6e | 65 64 20 70 6f 70 75 70 |tly open|ed popup|
|000007f0| 20 77 69 6c 6c 20 72 65 | 73 75 6c 74 20 69 6e 20 | will re|sult in |
|00000800| 63 6c 6f 73 69 6e 67 20 | 74 68 69 73 20 70 6f 70 |closing |this pop|
|00000810| 75 70 0a 28 69 2e 65 2e | 20 63 61 6c 6c 69 6e 67 |up.(i.e.| calling|
|00000820| 20 74 68 65 20 63 6c 6f | 73 65 20 68 6f 6f 6b 29 | the clo|se hook)|
|00000830| 20 77 69 74 68 20 61 20 | 73 75 63 63 65 73 73 20 | with a |success |
|00000840| 76 61 6c 75 65 20 6f 66 | 20 46 41 4c 53 45 2e 0a |value of| FALSE..|
|00000850| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|00000860| 7b 45 58 41 4d 50 4c 45 | 7d 0a 5c 73 6d 61 6c 6c |{EXAMPLE|}.\small|
|00000870| 0a 5c 62 65 67 69 6e 7b | 76 65 72 62 61 74 69 6d |.\begin{|verbatim|
|00000880| 7d 0a 44 6f 4d 65 74 68 | 6f 64 28 70 6f 70 62 75 |}.DoMeth|od(popbu|
|00000890| 74 74 6f 6e 2c 4d 55 49 | 4d 5f 4e 6f 74 69 66 79 |tton,MUI|M_Notify|
|000008a0| 2c 4d 55 49 41 5f 50 72 | 65 73 73 65 64 2c 46 41 |,MUIA_Pr|essed,FA|
|000008b0| 4c 53 45 2c 0a 20 20 20 | 70 6f 70 6f 62 6a 2c 31 |LSE,. |popobj,1|
|000008c0| 2c 4d 55 49 4d 5f 50 6f | 70 73 74 72 69 6e 67 5f |,MUIM_Po|pstring_|
|000008d0| 4f 70 65 6e 29 3b 0a 0a | 5c 65 6e 64 7b 76 65 72 |Open);..|\end{ver|
|000008e0| 62 61 74 69 6d 7d 0a 5c | 6e 6f 72 6d 61 6c 73 69 |batim}.\|normalsi|
|000008f0| 7a 65 0a 5c 73 75 62 73 | 65 63 74 69 6f 6e 5b 4d |ze.\subs|ection[M|
|00000900| 55 49 41 5c 5f 50 6f 70 | 73 74 72 69 6e 67 5c 5f |UIA\_Pop|string\_|
|00000910| 42 75 74 74 6f 6e 5d 7b | 4d 55 49 41 5c 5f 50 6f |Button]{|MUIA\_Po|
|00000920| 70 73 74 72 69 6e 67 5c | 5f 42 75 74 74 6f 6e 20 |pstring\|_Button |
|00000930| 2d 2d 20 28 56 37 29 20 | 5b 49 2e 47 5d 2c 20 4f |-- (V7) |[I.G], O|
|00000940| 62 6a 65 63 74 20 24 5c | 61 73 74 24 7d 0a 0a 5c |bject $\|ast$}..\|
|00000950| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 46 |subsubse|ction*{F|
|00000960| 55 4e 43 54 49 4f 4e 7d | 0a 53 70 65 63 69 66 79 |UNCTION}|.Specify|
|00000970| 20 74 68 65 20 62 75 74 | 74 6f 6e 20 6f 62 6a 65 | the but|ton obje|
|00000980| 63 74 20 74 6f 20 62 65 | 20 75 73 65 64 20 69 6e |ct to be| used in|
|00000990| 20 74 68 65 20 70 6f 70 | 75 70 2e 20 44 65 70 65 | the pop|up. Depe|
|000009a0| 6e 64 69 6e 67 0a 6f 6e | 20 74 68 65 20 74 79 70 |nding.on| the typ|
|000009b0| 65 20 6f 66 20 79 6f 75 | 72 20 70 6f 70 75 70 2c |e of you|r popup,|
|000009c0| 20 79 6f 75 20 73 68 6f | 75 6c 64 20 75 73 65 20 | you sho|uld use |
|000009d0| 61 6e 20 69 6d 61 67 65 | 20 62 75 74 74 6f 6e 0a |an image| button.|
|000009e0| 77 69 74 68 20 4d 55 49 | 49 5c 5f 50 6f 70 55 70 |with MUI|I\_PopUp|
|000009f0| 2c 20 4d 55 49 49 5c 5f | 50 6f 70 46 69 6c 65 20 |, MUII\_|PopFile |
|00000a00| 6f 72 20 4d 55 49 49 5c | 5f 50 6f 70 44 72 61 77 |or MUII\|_PopDraw|
|00000a10| 65 72 20 68 65 72 65 2e | 0a 48 6f 77 65 76 65 72 |er here.|.However|
|00000a20| 2c 20 69 74 73 20 61 6c | 73 6f 20 70 6f 73 73 69 |, its al|so possi|
|00000a30| 62 6c 65 20 74 6f 20 68 | 61 76 65 20 61 20 62 75 |ble to h|ave a bu|
|00000a40| 74 74 6f 6e 20 77 69 74 | 68 20 73 6f 6d 65 0a 74 |tton wit|h some.t|
|00000a50| 65 78 74 20 6f 72 20 6f | 74 68 65 72 20 74 68 69 |ext or o|ther thi|
|00000a60| 6e 67 73 20 69 6e 20 69 | 74 2e 0a 0a 57 68 65 6e |ngs in i|t...When|
|00000a70| 20 74 68 65 20 70 6f 70 | 73 74 72 69 6e 67 20 6f | the pop|string o|
|00000a80| 62 6a 65 63 74 20 69 73 | 20 64 69 73 70 6f 73 65 |bject is| dispose|
|00000a90| 64 2c 20 74 68 65 20 73 | 74 72 69 6e 67 0a 61 6e |d, the s|tring.an|
|00000aa0| 64 20 74 68 65 20 62 75 | 74 74 6f 6e 20 6f 62 6a |d the bu|tton obj|
|00000ab0| 65 63 74 73 20 61 72 65 | 20 64 69 73 70 6f 73 65 |ects are| dispose|
|00000ac0| 64 20 61 73 20 77 65 6c | 6c 2e 0a 0a 5c 73 75 62 |d as wel|l...\sub|
|00000ad0| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 45 58 41 4d |subsecti|on*{EXAM|
|00000ae0| 50 4c 45 7d 0a 5c 73 6d | 61 6c 6c 0a 5c 62 65 67 |PLE}.\sm|all.\beg|
|00000af0| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 0a 70 6f 70 |in{verba|tim}.pop|
|00000b00| 20 3d 20 50 6f 70 73 74 | 72 69 6e 67 4f 62 6a 65 | = Popst|ringObje|
|00000b10| 63 74 2c 0a 20 20 20 4d | 55 49 41 5f 50 6f 70 73 |ct,. M|UIA_Pops|
|00000b20| 74 72 69 6e 67 5f 53 74 | 72 69 6e 67 2c 20 4b 65 |tring_St|ring, Ke|
|00000b30| 79 53 74 72 69 6e 67 28 | 30 2c 36 30 2c 27 6e 27 |yString(|0,60,'n'|
|00000b40| 29 2c 0a 20 20 20 4d 55 | 49 41 5f 50 6f 70 73 74 |),. MU|IA_Popst|
|00000b50| 72 69 6e 67 5f 42 75 74 | 74 6f 6e 2c 20 50 6f 70 |ring_But|ton, Pop|
|00000b60| 42 75 74 74 6f 6e 28 4d | 55 49 49 5f 50 6f 70 55 |Button(M|UII_PopU|
|00000b70| 70 29 2c 0a 20 20 20 4d | 55 49 41 5f 50 6f 70 73 |p),. M|UIA_Pops|
|00000b80| 74 72 69 6e 67 5f 4f 70 | 65 6e 48 6f 6f 6b 2c 20 |tring_Op|enHook, |
|00000b90| 26 4f 70 65 6e 48 6f 6f | 6b 2c 0a 20 20 20 4d 55 |&OpenHoo|k,. MU|
|00000ba0| 49 41 5f 50 6f 70 73 74 | 72 69 6e 67 5f 43 6c 6f |IA_Popst|ring_Clo|
|00000bb0| 73 65 48 6f 6f 6b 2c 20 | 26 43 6c 6f 73 65 48 6f |seHook, |&CloseHo|
|00000bc0| 6f 6b 2c 0a 20 20 20 45 | 6e 64 3b 0a 0a 5c 65 6e |ok,. E|nd;..\en|
|00000bd0| 64 7b 76 65 72 62 61 74 | 69 6d 7d 0a 5c 6e 6f 72 |d{verbat|im}.\nor|
|00000be0| 6d 61 6c 73 69 7a 65 0a | 5c 73 75 62 73 75 62 73 |malsize.|\subsubs|
|00000bf0| 65 63 74 69 6f 6e 2a 7b | 53 45 45 20 41 4c 53 4f |ection*{|SEE ALSO|
|00000c00| 7d 0a 4d 55 49 41 5c 5f | 50 6f 70 73 74 72 69 6e |}.MUIA\_|Popstrin|
|00000c10| 67 5c 5f 53 74 72 69 6e | 67 2c 20 4d 55 49 41 5c |g\_Strin|g, MUIA\|
|00000c20| 5f 50 6f 70 73 74 72 69 | 6e 67 5c 5f 4f 70 65 6e |_Popstri|ng\_Open|
|00000c30| 48 6f 6f 6b 2c 20 4d 55 | 49 41 5c 5f 50 6f 70 73 |Hook, MU|IA\_Pops|
|00000c40| 74 72 69 6e 67 5c 5f 43 | 6c 6f 73 65 48 6f 6f 6b |tring\_C|loseHook|
|00000c50| 0a 0a 5c 73 75 62 73 65 | 63 74 69 6f 6e 5b 4d 55 |..\subse|ction[MU|
|00000c60| 49 41 5c 5f 50 6f 70 73 | 74 72 69 6e 67 5c 5f 43 |IA\_Pops|tring\_C|
|00000c70| 6c 6f 73 65 48 6f 6f 6b | 5d 7b 4d 55 49 41 5c 5f |loseHook|]{MUIA\_|
|00000c80| 50 6f 70 73 74 72 69 6e | 67 5c 5f 43 6c 6f 73 65 |Popstrin|g\_Close|
|00000c90| 48 6f 6f 6b 20 2d 2d 20 | 28 56 37 29 20 5b 49 53 |Hook -- |(V7) [IS|
|00000ca0| 47 5d 2c 20 73 74 72 75 | 63 74 20 48 6f 6f 6b 20 |G], stru|ct Hook |
|00000cb0| 24 5c 61 73 74 24 7d 0a | 0a 5c 73 75 62 73 75 62 |$\ast$}.|.\subsub|
|00000cc0| 73 65 63 74 69 6f 6e 2a | 7b 46 55 4e 43 54 49 4f |section*|{FUNCTIO|
|00000cd0| 4e 7d 0a 57 68 65 6e 65 | 76 65 72 20 74 68 65 20 |N}.Whene|ver the |
|00000ce0| 70 6f 70 75 70 20 72 65 | 63 65 69 76 65 73 20 61 |popup re|ceives a|
|00000cf0| 20 4d 55 49 4d 5c 5f 50 | 6f 70 73 74 72 69 6e 67 | MUIM\_P|opstring|
|00000d00| 5c 5f 43 6c 6f 73 65 20 | 6d 65 74 68 6f 64 20 61 |\_Close |method a|
|00000d10| 6e 64 0a 74 68 65 20 70 | 6f 70 75 70 20 69 73 20 |nd.the p|opup is |
|00000d20| 63 75 72 72 65 6e 74 6c | 79 20 6f 70 65 6e 65 64 |currentl|y opened|
|00000d30| 2c 20 74 68 69 73 20 68 | 6f 6f 6b 20 77 69 6c 6c |, this h|ook will|
|00000d40| 20 62 65 20 63 61 6c 6c | 65 64 2e 0a 49 74 20 77 | be call|ed..It w|
|00000d50| 69 6c 6c 20 72 65 63 65 | 69 76 65 20 61 20 70 6f |ill rece|ive a po|
|00000d60| 69 6e 74 65 72 20 74 6f | 20 69 74 73 65 6c 66 20 |inter to| itself |
|00000d70| 69 6e 20 72 65 67 69 73 | 74 65 72 20 41 30 2c 20 |in regis|ter A0, |
|00000d80| 61 20 70 6f 69 6e 74 65 | 72 0a 74 6f 20 74 68 65 |a pointe|r.to the|
|00000d90| 20 63 6f 6d 70 6c 65 74 | 65 20 70 6f 70 75 70 20 | complet|e popup |
|00000da0| 6f 62 6a 65 63 74 20 69 | 6e 20 41 32 20 61 6e 64 |object i|n A2 and|
|00000db0| 20 61 20 70 6f 69 6e 74 | 65 72 20 74 6f 20 61 0a | a point|er to a.|
|00000dc0| 0a 5c 73 6d 61 6c 6c 20 | 5c 62 65 67 69 6e 7b 76 |.\small |\begin{v|
|00000dd0| 65 72 62 61 74 69 6d 7d | 0a 73 74 72 75 63 74 0a |erbatim}|.struct.|
|00000de0| 7b 0a 20 20 20 4f 62 6a | 65 63 74 20 2a 73 74 72 |{. Obj|ect *str|
|00000df0| 69 6e 67 6f 62 6a 65 63 | 74 3b 0a 20 20 20 4c 4f |ingobjec|t;. LO|
|00000e00| 4e 47 20 73 75 63 63 65 | 73 73 3b 0a 7d 0a 5c 65 |NG succe|ss;.}.\e|
|00000e10| 6e 64 7b 76 65 72 62 61 | 74 69 6d 7d 20 5c 6e 6f |nd{verba|tim} \no|
|00000e20| 72 6d 61 6c 73 69 7a 65 | 0a 20 20 20 0a 69 6e 20 |rmalsize|. .in |
|00000e30| 41 31 2e 20 54 68 65 20 | 73 75 63 63 65 73 73 20 |A1. The |success |
|00000e40| 70 61 72 61 6d 65 74 65 | 72 20 69 73 20 61 20 63 |paramete|r is a c|
|00000e50| 6f 70 79 20 6f 66 20 74 | 68 65 20 6d 65 74 68 6f |opy of t|he metho|
|00000e60| 64 73 20 73 75 63 63 65 | 73 73 0a 70 61 72 61 6d |ds succe|ss.param|
|00000e70| 65 74 65 72 20 61 6e 64 | 20 69 6e 64 69 63 61 74 |eter and| indicat|
|00000e80| 65 73 20 77 68 65 74 68 | 65 72 20 74 68 65 20 70 |es wheth|er the p|
|00000e90| 6f 70 75 70 20 77 61 73 | 20 63 6c 6f 73 65 64 20 |opup was| closed |
|00000ea0| 73 75 63 63 65 73 73 66 | 75 6c 6c 79 0a 28 65 2e |successf|ully.(e.|
|00000eb0| 67 2e 20 77 69 74 68 20 | 61 20 64 6f 75 62 6c 65 |g. with |a double|
|00000ec0| 20 63 6c 69 63 6b 20 69 | 6e 20 61 20 6c 69 73 74 | click i|n a list|
|00000ed0| 76 69 65 77 29 20 6f 72 | 20 77 61 73 20 6a 75 73 |view) or| was jus|
|00000ee0| 74 20 63 61 6e 63 65 6c | 6c 65 64 0a 28 65 2e 67 |t cancel|led.(e.g|
|00000ef0| 2e 20 62 79 20 70 72 65 | 73 73 69 6e 67 20 74 68 |. by pre|ssing th|
|00000f00| 65 20 70 6f 70 75 70 20 | 62 75 74 74 6f 6e 20 61 |e popup |button a|
|00000f10| 67 61 69 6e 20 66 6f 72 | 20 74 6f 67 67 6c 65 20 |gain for| toggle |
|00000f20| 70 6f 70 75 70 73 29 2e | 0a 0a 44 75 65 20 74 6f |popups).|..Due to|
|00000f30| 20 69 6e 74 65 72 6e 61 | 6c 20 6d 65 73 73 61 67 | interna|l messag|
|00000f40| 65 20 68 61 6e 64 6c 69 | 6e 67 20 69 73 73 75 65 |e handli|ng issue|
|00000f50| 73 2c 20 63 61 6c 6c 69 | 6e 67 20 74 68 65 20 63 |s, calli|ng the c|
|00000f60| 6c 6f 73 65 20 68 6f 6f | 6b 20 69 73 0a 64 65 6c |lose hoo|k is.del|
|00000f70| 61 79 65 64 20 75 6e 74 | 69 6c 20 74 68 65 20 6e |ayed unt|il the n|
|00000f80| 65 78 74 20 4d 55 49 4d | 5c 5f 48 61 6e 64 6c 65 |ext MUIM|\_Handle|
|00000f90| 49 6e 70 75 74 20 6d 65 | 74 68 6f 64 20 69 73 20 |Input me|thod is |
|00000fa0| 63 61 6c 6c 65 64 2e 20 | 54 68 69 73 0a 61 6c 6c |called. |This.all|
|00000fb0| 6f 77 73 20 79 6f 75 20 | 74 6f 20 72 65 6d 6f 76 |ows you |to remov|
|00000fc0| 65 20 61 6e 64 20 64 69 | 73 70 6f 73 65 20 77 69 |e and di|spose wi|
|00000fd0| 6e 64 6f 77 73 20 77 69 | 74 68 6f 75 74 20 64 61 |ndows wi|thout da|
|00000fe0| 6e 67 65 72 2e 0a 0a 5c | 73 75 62 73 75 62 73 65 |nger...\|subsubse|
|00000ff0| 63 74 69 6f 6e 2a 7b 53 | 45 45 20 41 4c 53 4f 7d |ction*{S|EE ALSO}|
|00001000| 0a 4d 55 49 41 5c 5f 50 | 6f 70 73 74 72 69 6e 67 |.MUIA\_P|opstring|
|00001010| 5c 5f 4f 70 65 6e 48 6f | 6f 6b 2c 20 4d 55 49 4d |\_OpenHo|ok, MUIM|
|00001020| 5c 5f 50 6f 70 73 74 72 | 69 6e 67 5c 5f 4f 70 65 |\_Popstr|ing\_Ope|
|00001030| 6e 2c 20 4d 55 49 4d 5c | 5f 50 6f 70 73 74 72 69 |n, MUIM\|_Popstri|
|00001040| 6e 67 5c 5f 43 6c 6f 73 | 65 0a 0a 5c 73 75 62 73 |ng\_Clos|e..\subs|
|00001050| 65 63 74 69 6f 6e 5b 4d | 55 49 41 5c 5f 50 6f 70 |ection[M|UIA\_Pop|
|00001060| 73 74 72 69 6e 67 5c 5f | 4f 70 65 6e 48 6f 6f 6b |string\_|OpenHook|
|00001070| 5d 7b 4d 55 49 41 5c 5f | 50 6f 70 73 74 72 69 6e |]{MUIA\_|Popstrin|
|00001080| 67 5c 5f 4f 70 65 6e 48 | 6f 6f 6b 20 2d 2d 20 28 |g\_OpenH|ook -- (|
|00001090| 56 37 29 20 5b 49 53 47 | 5d 2c 20 73 74 72 75 63 |V7) [ISG|], struc|
|000010a0| 74 20 48 6f 6f 6b 20 24 | 5c 61 73 74 24 7d 0a 0a |t Hook $|\ast$}..|
|000010b0| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|000010c0| 46 55 4e 43 54 49 4f 4e | 7d 0a 57 68 65 6e 65 76 |FUNCTION|}.Whenev|
|000010d0| 65 72 20 74 68 65 20 70 | 6f 70 75 70 20 72 65 63 |er the p|opup rec|
|000010e0| 65 69 76 65 73 20 61 20 | 4d 55 49 4d 5c 5f 50 6f |eives a |MUIM\_Po|
|000010f0| 70 73 74 72 69 6e 67 5c | 5f 4f 70 65 6e 20 6d 65 |pstring\|_Open me|
|00001100| 74 68 6f 64 2c 0a 74 68 | 69 73 20 68 6f 6f 6b 20 |thod,.th|is hook |
|00001110| 77 69 6c 6c 20 62 65 20 | 63 61 6c 6c 65 64 2e 20 |will be |called. |
|00001120| 49 74 20 77 69 6c 6c 20 | 72 65 63 65 69 76 65 20 |It will |receive |
|00001130| 61 20 70 6f 69 6e 74 65 | 72 20 74 6f 20 69 74 73 |a pointe|r to its|
|00001140| 65 6c 66 20 69 6e 0a 72 | 65 67 69 73 74 65 72 20 |elf in.r|egister |
|00001150| 41 30 2c 20 61 20 70 6f | 69 6e 74 65 72 20 74 6f |A0, a po|inter to|
|00001160| 20 74 68 65 20 63 6f 6d | 70 6c 65 74 65 20 70 6f | the com|plete po|
|00001170| 70 75 70 20 6f 62 6a 65 | 63 74 20 69 6e 20 41 32 |pup obje|ct in A2|
|00001180| 20 61 6e 64 0a 61 20 70 | 6f 69 6e 74 65 72 20 74 | and.a p|ointer t|
|00001190| 6f 20 61 20 70 6f 69 6e | 74 65 72 20 28 21 29 20 |o a poin|ter (!) |
|000011a0| 74 6f 20 74 68 65 20 73 | 74 72 69 6e 67 20 6f 62 |to the s|tring ob|
|000011b0| 6a 65 63 74 20 63 6f 6e | 74 61 69 6e 65 64 20 69 |ject con|tained i|
|000011c0| 6e 0a 74 68 65 20 70 6f | 70 75 70 20 6f 62 6a 65 |n.the po|pup obje|
|000011d0| 63 74 20 69 6e 20 41 31 | 2e 0a 0a 57 68 65 6e 20 |ct in A1|...When |
|000011e0| 74 68 69 73 20 68 6f 6f | 6b 20 72 65 74 75 72 6e |this hoo|k return|
|000011f0| 73 20 54 52 55 45 2c 20 | 4d 55 49 20 61 73 73 75 |s TRUE, |MUI assu|
|00001200| 6d 65 73 20 74 68 65 20 | 70 6f 70 75 70 20 77 61 |mes the |popup wa|
|00001210| 73 20 6f 70 65 6e 65 64 | 0a 73 75 63 63 65 73 66 |s opened|.succesf|
|00001220| 75 6c 6c 79 20 61 6e 64 | 20 77 69 6c 6c 20 64 69 |ully and| will di|
|00001230| 73 61 62 6c 65 64 20 74 | 68 65 20 70 6f 70 75 70 |sabled t|he popup|
|00001240| 20 62 75 74 74 6f 6e 20 | 28 61 73 20 6c 6f 6e 67 | button |(as long|
|00001250| 20 61 73 0a 4d 55 49 41 | 5c 5f 50 6f 70 73 74 72 | as.MUIA|\_Popstr|
|00001260| 69 6e 67 5c 5f 54 6f 67 | 67 6c 65 20 69 73 20 6e |ing\_Tog|gle is n|
|00001270| 6f 74 20 73 65 74 29 2e | 20 52 65 74 75 72 6e 20 |ot set).| Return |
|00001280| 46 41 4c 53 45 20 74 6f | 20 69 6e 64 69 63 61 74 |FALSE to| indicat|
|00001290| 65 0a 74 68 61 74 20 73 | 6f 6d 65 74 68 69 6e 67 |e.that s|omething|
|000012a0| 20 77 65 6e 74 20 77 72 | 6f 6e 67 20 61 6e 64 20 | went wr|ong and |
|000012b0| 74 68 65 20 70 6f 70 75 | 70 20 63 6f 75 6c 64 20 |the popu|p could |
|000012c0| 6e 6f 74 20 62 65 20 6f | 70 65 6e 65 64 2e 0a 0a |not be o|pened...|
|000012d0| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|000012e0| 53 45 45 20 41 4c 53 4f | 7d 0a 4d 55 49 41 5c 5f |SEE ALSO|}.MUIA\_|
|000012f0| 50 6f 70 73 74 72 69 6e | 67 5c 5f 43 6c 6f 73 65 |Popstrin|g\_Close|
|00001300| 48 6f 6f 6b 2c 20 4d 55 | 49 4d 5c 5f 50 6f 70 73 |Hook, MU|IM\_Pops|
|00001310| 74 72 69 6e 67 5c 5f 4f | 70 65 6e 2c 20 4d 55 49 |tring\_O|pen, MUI|
|00001320| 4d 5c 5f 50 6f 70 73 74 | 72 69 6e 67 5c 5f 43 6c |M\_Popst|ring\_Cl|
|00001330| 6f 73 65 0a 0a 5c 73 75 | 62 73 65 63 74 69 6f 6e |ose..\su|bsection|
|00001340| 5b 4d 55 49 41 5c 5f 50 | 6f 70 73 74 72 69 6e 67 |[MUIA\_P|opstring|
|00001350| 5c 5f 53 74 72 69 6e 67 | 5d 7b 4d 55 49 41 5c 5f |\_String|]{MUIA\_|
|00001360| 50 6f 70 73 74 72 69 6e | 67 5c 5f 53 74 72 69 6e |Popstrin|g\_Strin|
|00001370| 67 20 2d 2d 20 28 56 37 | 29 20 5b 49 2e 47 5d 2c |g -- (V7|) [I.G],|
|00001380| 20 4f 62 6a 65 63 74 20 | 24 5c 61 73 74 24 7d 0a | Object |$\ast$}.|
|00001390| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|000013a0| 7b 46 55 4e 43 54 49 4f | 4e 7d 0a 53 70 65 63 69 |{FUNCTIO|N}.Speci|
|000013b0| 66 79 20 74 68 65 20 73 | 74 72 69 6e 67 20 6f 62 |fy the s|tring ob|
|000013c0| 6a 65 63 74 20 74 6f 20 | 62 65 20 75 73 65 64 20 |ject to |be used |
|000013d0| 69 6e 20 74 68 65 20 70 | 6f 70 75 70 2e 0a 54 68 |in the p|opup..Th|
|000013e0| 69 73 20 64 6f 65 73 20 | 6e 6f 74 20 6e 65 63 65 |is does |not nece|
|000013f0| 73 73 61 72 69 6c 79 20 | 6e 65 65 64 20 74 6f 20 |ssarily |need to |
|00001400| 62 65 20 61 20 72 65 61 | 6c 20 73 74 72 69 6e 67 |be a rea|l string|
|00001410| 0a 6f 62 6a 65 63 74 2c | 20 75 73 69 6e 67 20 74 |.object,| using t|
|00001420| 65 78 74 20 6f 62 6a 65 | 63 74 73 20 6f 72 20 65 |ext obje|cts or e|
|00001430| 76 65 6e 20 63 6f 6d 70 | 6c 65 74 65 20 67 72 6f |ven comp|lete gro|
|00001440| 75 70 73 0a 6f 66 20 6f | 74 68 65 72 20 6f 62 6a |ups.of o|ther obj|
|00001450| 65 63 74 73 20 69 73 20 | 70 65 72 66 65 63 74 6c |ects is |perfectl|
|00001460| 79 20 6f 6b 2e 0a 0a 57 | 68 65 6e 20 74 68 65 20 |y ok...W|hen the |
|00001470| 70 6f 70 73 74 72 69 6e | 67 20 6f 62 6a 65 63 74 |popstrin|g object|
|00001480| 20 69 73 20 64 69 73 70 | 6f 73 65 64 2c 20 74 68 | is disp|osed, th|
|00001490| 65 20 73 74 72 69 6e 67 | 0a 61 6e 64 20 74 68 65 |e string|.and the|
|000014a0| 20 62 75 74 74 6f 6e 20 | 6f 62 6a 65 63 74 73 20 | button |objects |
|000014b0| 61 72 65 20 64 69 73 70 | 6f 73 65 64 20 61 73 20 |are disp|osed as |
|000014c0| 77 65 6c 6c 2e 0a 0a 5c | 73 75 62 73 75 62 73 65 |well...\|subsubse|
|000014d0| 63 74 69 6f 6e 2a 7b 45 | 58 41 4d 50 4c 45 7d 0a |ction*{E|XAMPLE}.|
|000014e0| 5c 73 6d 61 6c 6c 0a 5c | 62 65 67 69 6e 7b 76 65 |\small.\|begin{ve|
|000014f0| 72 62 61 74 69 6d 7d 0a | 70 6f 70 20 3d 20 50 6f |rbatim}.|pop = Po|
|00001500| 70 73 74 72 69 6e 67 4f | 62 6a 65 63 74 2c 0a 20 |pstringO|bject,. |
|00001510| 20 20 4d 55 49 41 5f 50 | 6f 70 73 74 72 69 6e 67 | MUIA_P|opstring|
|00001520| 5f 53 74 72 69 6e 67 2c | 20 4b 65 79 53 74 72 69 |_String,| KeyStri|
|00001530| 6e 67 28 30 2c 36 30 2c | 27 6e 27 29 2c 0a 20 20 |ng(0,60,|'n'),. |
|00001540| 20 4d 55 49 41 5f 50 6f | 70 73 74 72 69 6e 67 5f | MUIA_Po|pstring_|
|00001550| 42 75 74 74 6f 6e 2c 20 | 50 6f 70 42 75 74 74 6f |Button, |PopButto|
|00001560| 6e 28 4d 55 49 49 5f 50 | 6f 70 55 70 29 2c 0a 20 |n(MUII_P|opUp),. |
|00001570| 20 20 4d 55 49 41 5f 50 | 6f 70 73 74 72 69 6e 67 | MUIA_P|opstring|
|00001580| 5f 4f 70 65 6e 48 6f 6f | 6b 2c 20 26 4f 70 65 6e |_OpenHoo|k, &Open|
|00001590| 48 6f 6f 6b 2c 0a 20 20 | 20 4d 55 49 41 5f 50 6f |Hook,. | MUIA_Po|
|000015a0| 70 73 74 72 69 6e 67 5f | 43 6c 6f 73 65 48 6f 6f |pstring_|CloseHoo|
|000015b0| 6b 2c 20 26 43 6c 6f 73 | 65 48 6f 6f 6b 2c 0a 20 |k, &Clos|eHook,. |
|000015c0| 20 20 45 6e 64 3b 0a 0a | 5c 65 6e 64 7b 76 65 72 | End;..|\end{ver|
|000015d0| 62 61 74 69 6d 7d 0a 5c | 6e 6f 72 6d 61 6c 73 69 |batim}.\|normalsi|
|000015e0| 7a 65 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |ze.\subs|ubsectio|
|000015f0| 6e 2a 7b 53 45 45 20 41 | 4c 53 4f 7d 0a 4d 55 49 |n*{SEE A|LSO}.MUI|
|00001600| 41 5c 5f 50 6f 70 73 74 | 72 69 6e 67 5c 5f 42 75 |A\_Popst|ring\_Bu|
|00001610| 74 74 6f 6e 2c 20 4d 55 | 49 41 5c 5f 50 6f 70 73 |tton, MU|IA\_Pops|
|00001620| 74 72 69 6e 67 5c 5f 4f | 70 65 6e 48 6f 6f 6b 2c |tring\_O|penHook,|
|00001630| 20 4d 55 49 41 5c 5f 50 | 6f 70 73 74 72 69 6e 67 | MUIA\_P|opstring|
|00001640| 5c 5f 43 6c 6f 73 65 48 | 6f 6f 6b 0a 0a 5c 73 75 |\_CloseH|ook..\su|
|00001650| 62 73 65 63 74 69 6f 6e | 5b 4d 55 49 41 5c 5f 50 |bsection|[MUIA\_P|
|00001660| 6f 70 73 74 72 69 6e 67 | 5c 5f 54 6f 67 67 6c 65 |opstring|\_Toggle|
|00001670| 5d 7b 4d 55 49 41 5c 5f | 50 6f 70 73 74 72 69 6e |]{MUIA\_|Popstrin|
|00001680| 67 5c 5f 54 6f 67 67 6c | 65 20 2d 2d 20 28 56 37 |g\_Toggl|e -- (V7|
|00001690| 29 20 5b 49 53 47 5d 2c | 20 42 4f 4f 4c 7d 0a 0a |) [ISG],| BOOL}..|
|000016a0| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|000016b0| 46 55 4e 43 54 49 4f 4e | 7d 0a 53 65 74 2f 43 6c |FUNCTION|}.Set/Cl|
|000016c0| 65 61 72 20 74 68 65 20 | 74 6f 67 67 6c 65 20 6d |ear the |toggle m|
|000016d0| 6f 64 65 20 66 6f 72 20 | 61 20 70 6f 70 73 74 72 |ode for |a popstr|
|000016e0| 69 6e 67 20 6f 62 6a 65 | 63 74 2e 0a 57 69 74 68 |ing obje|ct..With|
|000016f0| 20 74 6f 67 67 6c 69 6e | 67 20 64 69 73 61 62 6c | togglin|g disabl|
|00001700| 65 64 2c 20 74 68 65 20 | 70 6f 70 75 70 20 62 75 |ed, the |popup bu|
|00001710| 74 74 6f 6e 20 77 69 6c | 6c 20 67 65 74 0a 64 69 |tton wil|l get.di|
|00001720| 73 61 62 6c 65 64 20 77 | 68 65 6e 65 76 65 72 20 |sabled w|henever |
|00001730| 74 68 65 20 75 73 65 72 | 20 68 69 74 73 20 69 74 |the user| hits it|
|00001740| 20 61 6e 64 20 74 68 65 | 20 70 6f 70 75 70 0a 6f | and the| popup.o|
|00001750| 70 65 6e 73 2e 20 57 69 | 74 68 20 74 6f 67 67 6c |pens. Wi|th toggl|
|00001760| 69 6e 67 20 65 6e 61 62 | 6c 65 64 2c 20 74 68 65 |ing enab|led, the|
|00001770| 20 70 6f 70 75 70 20 62 | 75 74 74 6f 6e 0a 61 6c | popup b|utton.al|
|00001780| 77 61 79 73 20 73 74 61 | 79 73 20 65 6e 61 62 6c |ways sta|ys enabl|
|00001790| 65 64 20 61 6e 64 20 63 | 61 6e 20 62 65 20 75 73 |ed and c|an be us|
|000017a0| 65 64 20 74 6f 20 63 61 | 6e 63 65 6c 0a 28 3d 3d |ed to ca|ncel.(==|
|000017b0| 20 63 6c 6f 73 65 20 77 | 69 74 68 20 61 20 46 41 | close w|ith a FA|
|000017c0| 4c 53 45 20 72 65 74 75 | 72 6e 20 76 61 6c 75 65 |LSE retu|rn value|
|000017d0| 29 20 74 68 65 20 70 6f | 70 75 70 2e 0a 0a 5c 73 |) the po|pup...\s|
|000017e0| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 53 45 |ubsubsec|tion*{SE|
|000017f0| 45 20 41 4c 53 4f 7d 0a | 4d 55 49 41 5c 5f 50 6f |E ALSO}.|MUIA\_Po|
|00001800| 70 73 74 72 69 6e 67 5c | 5f 4f 70 65 6e 48 6f 6f |pstring\|_OpenHoo|
|00001810| 6b 0a 0a 0a | |k... | |
+--------+-------------------------+-------------------------+--------+--------+