home *** CD-ROM | disk | FTP | other *** search
/ Using Asymetrix Multimedi…ool Book Special Edition / SE_UAMT.iso / examples / 24mtb08.tbk (.txt) < prev    next >
Encoding:
Asymetrix ToolBook File  |  1995-07-25  |  135.9 KB  |  412 lines

  1. Using notify
  2. <BookPath>
  3. :HDMEDIAPATH
  4. System
  5. info_LastSavedBy
  6. info_LastSaved
  7. Erik Reitan
  8. Arial
  9. Erik Reitan
  10. Arial
  11. Arial
  12. 7/25/95 9:16:54 PM
  13. 7/25/95 10:04:05 PM
  14. Arial
  15. Erik Reitan
  16. Roman
  17. 7/25/95 10:07:33 PM
  18. reader
  19. veAudio" 
  20. sysSupportedMedia
  21. "Wave 
  22. % driver 
  23. xfound!"
  24. D:\TEMP11\CHAP24\2
  25. bookPath
  26. D:\TEMP11\CHAP24\
  27. My Viewer
  28. Page "Using notify"
  29. Page id 0 of Book "D:\TEMP11\CHAP24\24MTB03.TBK"
  30. Page id 0 of Book "D:\TEMP11\CHAP24\24MTB03.TBK"
  31. Page id 0 of Book "D:\TEMP11\CHAP24\24MTB03.TBK"
  32. Page id 2
  33. Page id 0 of Book "D:\TEMP11\CHAP24\24MTB03.TBK"
  34. Page id 0 of Book "D:\TEMP11\CHAP24\24MTB03.TBK"
  35. Page id 0 of Book "D:\TEMP11\CHAP24\24MTB03.TBK"
  36. Page id 0 of Book "D:\TEMP11\CHAP24\24MTB03.TBK"
  37. Page id 0 of Book "D:\TEMP11\CHAP24\24MTB03.TBK"
  38. Page id 0 of Book "D:\TEMP11\CHAP24\24MTB03.TBK"
  39. Page id 0 of Book "D:\TEMP11\CHAP24\24MTB03.TBK"
  40. Page id 0 of Book "D:\TEMP11\CHAP24\24MTB03.TBK"
  41. 9507251716271924423826373122
  42. ASYM_TpID
  43. Backdrop
  44. _ASYMA_LockMove
  45. Multimedia ToolBook
  46. Frequently Asked Questions
  47. Playing a wave file and allowing other actionss
  48. enterpage
  49. ASYM_Reset
  50. Using notify
  51. In Windows 3.1 you can use the API function called lockInput().  The lockInput() function can be used to prevent the user from switching away from the application that called this function.  In effect this disables two quick and common methods of task switching, Alt+Tab and Ctrl+Esc.E
  52. example
  53. lockInput
  54. lockInput
  55. buttonClick
  56. buttonClick
  57. linkDLL "user"
  58. INT lockInput(WORD,
  59. &Disable task switching
  60. Preventing task switchingg video driverrkkcript
  61. example
  62. lockInput
  63. buttonClick
  64. buttonClick
  65. lockInput(0,0,0)
  66. &Enable task switching
  67. CDBSE&File
  68. &Open...    Ctrl+O
  69. &Save    Ctrl+S
  70. Save &As...
  71. saveas
  72. &Import...
  73. import
  74. &Export...
  75. export
  76. Print Set&up...
  77. printsetup
  78. &Print Pages...    Ctrl+P
  79. printpages
  80. Prin&t Report...
  81. printreport
  82. Send &Mail...
  83. sendmail
  84. &Run...
  85. E&xit    Alt+F4
  86. &Edit
  87. &Undo    Ctrl+Z
  88. Cu&t    Ctrl+X
  89. &Copy    Ctrl+C
  90. &Paste    Ctrl+V
  91. paste
  92. C&lear    Del
  93. clear
  94. Select &All    Shift+F9
  95. selectall
  96. Select Pa&ge    Shift+F12
  97. selectpage
  98. &Size to Page    F11
  99. sizetopage
  100. F&ind...    F5
  101. Re&place...
  102. replace
  103. Aut&hor    F3
  104. author
  105. &Text
  106. &Character...    F6
  107. character
  108. &Paragraph...    F7
  109. paragraph
  110. &Regular    Ctrl+Space
  111. regular
  112. &Bold    Ctrl+B
  113. &Italic    Ctrl+I
  114. italic
  115. &Underline    Ctrl+U
  116. underline
  117. Stri&keout    Ctrl+K
  118. strikeout
  119. Superscrip&t/Subscript
  120. superscriptSubscript
  121. &Normal Script
  122. normalscript
  123. Su&bscript    Ctrl+L
  124. subscript
  125. Su&perscript    Ctrl+Shift+L
  126. superscript
  127. &Show Hotwords    F9
  128. showhotwords
  129. &Page
  130. &Next    Alt+Right
  131. &Previous    Alt+Left
  132. previous
  133. &First    Alt+Up
  134. first
  135. &Last    Alt+Down
  136. &Back    Shift+F2
  137. &History...    Ctrl+F2
  138. history
  139. N&ew Page    Ctrl+N
  140. newpage
  141. &Help
  142. &Contents    F1
  143. contents
  144. Status &Bar    F12
  145. statusbar
  146. notifybefore 
  147. "0,0"
  148. "0,0" 
  149. moved
  150.     ssm = sysSuspendMessages
  151. notifyBefore ASYM_Reset
  152. {loc;
  153. buttonClick 
  154. rightButtonClick 
  155. enterpage
  156. moved
  157. ASYM_Reset
  158. buttonDown
  159. buttonUp
  160. buttonClick
  161. buttonDoubleClick
  162. rightButtonDown
  163. rightButtonUp
  164. rightButtonClick
  165. rightButtonClick
  166. rightButtonDoubleClick
  167. new-4
  168. Music
  169. 24mtb01.wav
  170. e\bonanza
  171.  %+ %,  
  172. %%4+%%%%,%,,4,,,,%,%,,% 
  173. %,+ +
  174.  %%%%%%+%44+%%,,,8,,,%,%+
  175. %4+ +
  176.  %%  ++%
  177. %+%%+%%% +%%%%%%%, %
  178.  %%%%% 
  179. + %%+ %  4%+% 
  180.  4 % 
  181. %% %%
  182.  %%%+%+% %%%%4%% % 
  183. % %   %+% %+ ++
  184.     +%
  185. % %%%
  186. ###!#
  187. *;*&)
  188. &9))(
  189. '&*55
  190. ()5*(
  191. )9*)*
  192. '5&('
  193. &)).('
  194. H2)&)
  195. ))($$
  196. $(*$$(
  197. &*?D$
  198. ($95)&)(
  199. '($;'
  200. '()*K25
  201. '(****)
  202. $.**)
  203. $$*&(
  204. $(5('('
  205. $&9)(
  206. ')*;)
  207. $$$))
  208. $$**$
  209. $)*$)
  210. )*5$.)
  211. )*9;*).(
  212. $***)**$'
  213. $$*$$
  214. .)5*$
  215. ).()*))'
  216. )*))$
  217. (5?.(
  218. #!##!
  219. %    
  220. $)))$'
  221.      +%
  222.  %%,%
  223.  +,, 
  224. #""!"
  225. %%%% !
  226.  %%%%
  227. %%%%%
  228. ++ +% 
  229. ((.$(
  230. $$.).$
  231. '($$$
  232. %% %+8
  233. %%  %
  234. +%%%+4%% 
  235. $.$))$($$.)$)).($)).$$)(($)$(
  236. ).$$(
  237. ).$$$((
  238. %  % 
  239.  %    
  240. %! % 
  241.  %%  %%% 
  242.  ,,,%
  243.  4%4 4
  244.        
  245. % %%%
  246. % +   
  247.   + %
  248.  %+%  %%C +%, 
  249. 4%%+%
  250. %%+%%
  251. ++,%,
  252. ,%%%%
  253.     %%4,
  254.  %%%,,
  255. ,%,+ 
  256. %%%+% 
  257.   +%%%,,%,+%%
  258.  %%%%%
  259.  %,,4,%,4%8,8,%,+%  + %%+4%%
  260.     %,,%%%%%,,%, %%%+%, % 
  261.  %+  
  262. 488,%% ,,,% 4%%, %8%
  263. %,,>C,8+,,, %+%,8,, 
  264. % ,>,C>,%+,%
  265. %, ,%%  %%%%
  266. %,,%,CC>%%,% +8%%%++
  267. +%,%4,88%, 
  268.  +% %,%
  269. %%,,%%8,,%
  270. %%>,+488,,
  271. % +% 
  272. ,>,,% +,4,%%%,4
  273. ,,,,,,44%%, ,, %
  274. ,%4,%4 ++
  275. +%%48%%,%%%
  276. %%%%%%,,,8%
  277. %%4%%C%,4,, 
  278. %%%,% 
  279.  %,%4
  280. 84%, 4%%
  281. %8 %,  
  282.  ,8%,
  283. %%%  
  284. 4 %+%
  285.  % %%%%
  286. (').'
  287. ()$$(
  288. B/7/2
  289. .712/
  290. $.0502
  291. ./1//
  292. $.0502
  293. $0203
  294. $$*=0/
  295. $$$5=/7
  296. $&$$10//
  297. $)&$&07/
  298. $.&&&)12/0
  299. $&&&$)0</
  300. &)&.&&&2/0
  301. &)&)&$&1102J
  302. &--&&$$)1/03
  303. &&&).$&11/2
  304. B&--&&$$)1/03    
  305. &&-&&$$)$/00
  306. &*&*&&&&&$36/=
  307. &&&*$&)&$130/
  308. B**&&&&*&&.1600
  309. **-&-.*&&$&6000
  310. -*&&&&&-&&&&167/
  311. **-&-.&&&$&1000
  312. -*&&&&&-&&&&167/
  313. &&&&&.--&&&1777
  314. &&&&&&&-**&&&607
  315. &&&&&&&&-*&&&2607(
  316. -&-&&&&&&-*&-&106/
  317. -&&&-&-&&-*&&&-066
  318. &---&&*&)&)&--&)1600
  319. E&-&-&&*&)*)*&-))700$
  320. &&&&&**&&*$&&&&&&066
  321. &&&&&-****-&*&&&&176/
  322. *.&$$$*-&-*$.&&&&&2663
  323. '.*$$((
  324. &&&&&-***&-$*&&&&176/
  325. *.&$$$*-&-*$.&&&&&2663
  326. *)&&$$&-*-*&.&&&&&$667
  327. 5&$&$$$&&&**)&&&&.$<0000
  328. .$)((
  329. 5$$&)$.&-.*))&&&).&1030
  330. *&$&)-&&-)---&&..$$*2366
  331. *&@&&&&&-&.-&&&..$
  332. &&3/67
  333. &-&)&$*-)&)&)&&)$$$$*526A6
  334. $&&-&&&.-&-&..$$&&2/67
  335. &-&)&$*-)&)&)&&)$$$$*526A6
  336. -&$&&&-&&.&)&&&$$$$**2/77F
  337. *&&&&$$$.&$)$$$&)$
  338. *<I0AF
  339. 5&&&&$$$$.$.)$$$&)
  340. &*<10AF*
  341. B<*-&.$$$:$
  342. -*<36A
  343. **-&..$$@$
  344. $&<2666
  345. .<-&&.&&$$
  346. &<2367
  347. *<-&-&&$$
  348. :$$$:$-<=36(
  349. --**.-&&&$&$
  350. &2/07
  351. &-&*-&&&&&$$@
  352. $-/=70
  353. $-&&&&&&&&.&$$
  354. )22/3
  355. &-&*-&-&&&$&
  356. $-2=00
  357. $-&&&&&&&&.&$$
  358. )22/3
  359. --&-&&&&&$&.$
  360. $1223
  361. &-&&--&&&&&$:$$$
  362. *-*&-&&-&&&$
  363. $//2/
  364. ---*-&)---$$$$$
  365. $3//$
  366. .-*--&)&--&$$
  367. $$$10//
  368. &***&&.*&&$$)$$$100/
  369. .-*-*&&&--&$$:$$
  370. &***&&.*&&$$)$$$100/
  371. ***&-..-&$$$$$.133/
  372. .*--&&-).&
  373. $$$133/
  374. M*---&&-)$&$$$$10//
  375. *&*--&&.$:$$
  376.     M***---&.&
  377. $$J1//2
  378. .&&<*&$$$$$$133/
  379.     &&&<-&$$$$$$/33
  380. &&-*&$$
  381. $1//3N
  382. $&)*-)$$
  383. &//33!
  384. $$&)&.$$
  385. $0/=/
  386. $&)--)$$
  387. :&1//3
  388. $$&)&.$$
  389. $0/=/
  390. $$)&&$.@
  391. &&&&&$.&100/
  392. E-&&-&$.$300/    
  393. &&*.$)&000'    
  394. &&&-$$&2303
  395. &&&)$&2000
  396. &&&-.$)2303$    
  397. &&&)$&2000
  398. &&&$.2030
  399. .$&)2/03
  400. $$&&2/03
  401. :.&//0
  402. &1//0
  403. $-/2/
  404. $$///
  405. ;55K*
  406. $E2//
  407. )9*?5
  408. ')$($
  409. ($($$'
  410. (*.$$
  411. ($$$($
  412.