home *** CD-ROM | disk | FTP | other *** search
/ MPC Wizard 3.0 / WIZARD3_0.ISO / catalog2.tbk (.txt) < prev    next >
Asymetrix ToolBook File  |  1994-09-19  |  104KB  |  1,745 lines

  1. order
  2. 45,30
  3. normalPos
  4.  statusBarTextline
  5. This feature is not currently available.
  6. J5pCaptionText
  7. catalogStatusBar
  8. mouseEnter
  9. print
  10. statusBarTextline
  11. mainText
  12. buttonClick
  13. statusBarTextline
  14. return
  15. mainText
  16. order
  17. mainPage
  18. buttonClick
  19. statusBarTextline
  20. vReply1
  21. svBookInfo
  22. vReply2
  23. vReply1
  24. J5pCaptionText
  25. vReply2
  26. buttonClick
  27. statusBarTextline
  28. vReply1
  29. svBookInfo
  30. vReply2
  31. vReply1
  32. J5pCaptionText
  33. vReply2
  34. buttonClick
  35. buttonClick
  36. 4svBookInfo
  37. vReply1 
  38. pCaptionText 
  39. vReply2 
  40. "Are you sure 
  41. want 
  42. " && 
  43. "?""" 
  44. f"Yes" 
  45. "Cancel"    --34
  46.     -- "
  47. flushMessageQueue()
  48. statusBarTextline
  49. pCaptionText
  50. mainText
  51. bottomLine
  52. topLine
  53. catalogStatusBar
  54. To learn about a button, just move your mouse over it. Information about that button will appear here.
  55. :#: :
  56. :$:%:':
  57. (:):.:
  58. /:0:1:2:3:4:5:6:>:8:9:::;:<:=:
  59. =?:@:A:B:
  60. D:E:F:G:H:I:J:K:
  61. M:N:O:P:Q:R:S:T:
  62. Y:Z:[:\:]:^:_:`:f:b:c:
  63. j:k:l:m:
  64. o:p:q:r:s:t:u:
  65. x:y:z:{:|:}:~:
  66. mainPage
  67. 40,30
  68. normalPos
  69. pageGroup
  70. BMPline
  71.  statusBarTextline
  72. This feature is not currently available.
  73. J5pCaptionText
  74. catalogStatusBar
  75. mouseEnter
  76. statusBarTextline
  77. window bmpFile state hide
  78. maintext
  79. .buttonChosen
  80. mainText
  81. window bmpFile state show
  82. buttonClick
  83. statusBarTextline
  84. sound
  85. toggleWaveSound
  86. buttonClick
  87. statusBarTextline
  88. .&+    +E
  89. .&+    +E
  90. showNewProduct
  91. svCatCount
  92. first
  93. svCatNumber
  94. previous
  95. .buttonChosen
  96. vOldCatNumber
  97. buttonClick
  98. first
  99. statusBarTextline
  100. previous
  101. statusBarTextline
  102. statusBarTextline
  103. statusBarTextline
  104. order
  105. .&+    +E
  106. .&+    +E
  107. mainText
  108. .buttonChosen
  109. order
  110. return
  111. buttonClick
  112. statusBarTextline
  113. .&+    +E
  114. .&+    +E
  115. showNewProduct
  116. false
  117. svSlideShow
  118. .buttonChosen
  119. stuff
  120. false
  121. svSlideShow
  122. stuff
  123. svBitDepth
  124. J5pCaptionText
  125. "setCatNumber
  126. buttonClick
  127. svCatCount
  128. svCatNumber
  129. setCatNumber
  130. statusBarTextline
  131. vReply1
  132. svBookInfo
  133. vReply2
  134. vReply1
  135. .buttonChosen
  136. J5pCaptionText
  137. vReply2
  138. buttonClick
  139. statusBarTextline
  140. buttonClick
  141. 4svSlideShow,svBitDepth
  142. buttonChosen 
  143. y    --Start the 
  144. pCaptionText 
  145. ("Enter 
  146. 9amount 
  147. display each product screen:" 
  148. f"10"
  149.         stuff = sysErrorNumber
  150. isType("
  151. "You didn't enter a whole 
  152. z. Try 
  153. setCatNumber
  154. * 1000) 
  155. showNewProduct
  156. timerStop(0)
  157. 4svCatNumber,svCatCount
  158. statusBarTextline
  159. vReply1
  160. svBookInfo
  161. vReply2
  162. vReply1
  163. .buttonChosen
  164. J5pCaptionText
  165. vReply2
  166. buttonClick
  167. buttonClick
  168. 4svBookInfo
  169. buttonChosen 
  170. vReply1 
  171. pCaptionText 
  172. vReply2 
  173. "Are you sure 
  174. want 
  175. " && 
  176. "?""" 
  177. f"Yes" 
  178. "Cancel"    --34
  179.     -- "
  180. flushMessageQueue()
  181. statusBarTextline
  182. vV^V^V
  183. buttonClick
  184. "What 
  185. zyou want 
  186. f"Print" 
  187. "Set Up Printer..." 
  188. "Cancel"
  189. printIt
  190. printSetup
  191. 4svDataPath
  192.     -- This 
  193. a workaround, because 
  194. some reason unbeknownst 
  195. Asymetrix, the 
  196. poops out 
  197. trying 
  198. wchannel (see xprintIt below). 
  199. will have 
  200. x, though 
  201. doesn't 
  202. over our network:
  203. copyFile(
  204.  & "order.frm",PRN)
  205. 1080,1080,1080,1080
  206. "mainText"
  207. mainTextWidth()
  208. J" &&\
  209.      """
  210. flushMessageQueue()
  211. i    --Currently 
  212. xused.
  213. ZvReturn
  214. vBounds 
  215. 4svBookEntered,svSplashTime
  216. startUp
  217. -- Putting startup 
  218. 8stuff here allows the 
  219. o -- image 
  220. appear on 
  221. #screen quickly.
  222.         -- Make sure splash 
  223. #'s been showing 
  224. )least 10 
  225.  + 7) > 
  226. showNewProduct
  227. 4950,330
  228. flushMessageQueue()
  229. imageCommand("
  230. ebmpFile state 
  231. 4svSlideShow
  232. toggleWaveSound
  233. G, sDontPlayWave
  234. callMCI("status waveFile ready") 
  235. closeWave
  236. playWave
  237. 4svCatNumber,svCatFiles,fileName,svDataPath,
  238. 4sStatusTimer
  239. setButtons
  240. wait")
  241. closeMovie
  242. showBMP
  243. c = timerStart("periodic",
  244. ,1000,
  245. timeGetTime() 
  246. readFileToField 
  247.  & filename & ".inf",\
  248. "mainText" 
  249. "mainPage", "Arial"
  250. ,svBMPpos
  251. " && 
  252.  & ".bmp" &&\
  253. "alias 
  254. yle child") 
  255. vError
  256. timerStop(0)
  257. imageCommandchk("
  258. " && 
  259. ",1)    
  260. ,svMovieType,
  261. Count
  262. vFile 
  263.     -- If 
  264. MPEG machine & 
  265.  exists, turn on, OR
  266. ( fileExists(
  267. z& ".MPG" ) 
  268. "mpg" ) 
  269. changeButtonState "
  270. "sound",0
  271.     -- Check 
  272. .WAV 
  273. & ".wav" ) 
  274. More Info 
  275. "info",1
  276.  <> svCatCount
  277.  <> 1
  278. fButtonName,fState
  279.  = 1     -- Active.
  280.         enabled 
  281.             -- Inactive.
  282. ,svCanPlayWave, 
  283.  & ".
  284. tbkMCIwaveChk("
  285. " && 
  286. ","")
  287. timerNotify pTimerID
  288. MCINotify
  289.   pMessage
  290. mode","") 
  291. x"playing"
  292.  = "successful"
  293. buttonClick
  294. 4svDataPath, svMovieType,svCatNumber
  295. buttonChosen 
  296. callMCI("status aniFile ready") 
  297. MCINotify
  298. movieErrorMsg "
  299.             enabled 
  300. B"sound" = 
  301. vFile 
  302.  & "cat" & pad(
  303. ) & "."
  304. fileExists(
  305. -- May be either MPEG 
  306. , but we know 
  307. " default.
  308. "fullScreen"
  309. -- Play 
  310. -screen.
  311. playLargeMovie (
  312.  small 
  313. playSmallMovie    (
  314.     -- You don't 
  315. whether their 
  316. device can 
  317.  large,
  318. -- so 
  319. & "avi")        
  320. getCurrentMovie
  321. ) & "."
  322. fFilename
  323. closeMovie
  324. sysErrorNumber 
  325.     -- Open 
  326. %WS_POPUP 
  327. " && 
  328. O && "alias 
  329. style 2147483648" && "wait")
  330. eanifile state 
  331. maximized")
  332. vLargePicHandle 
  333.         translatewindowmessage 
  334.             on 514 
  335. notifyMCI 
  336.             on 256 
  337. keyPressed 
  338. MCInotify
  339. Titles, 
  340. showNhideGrayBmp
  341. " && 
  342. nostatic 
  343. child 
  344. " && sysClientHandle && "
  345. showBmp
  346. putMovieWindow
  347.             on 514 
  348.             on 256 
  349.     -- When a 
  350. shown, ToolBook insists on maintaining the palette
  351. Jbitmap that was displayed. To 
  352. around 
  353. handler briefly shows 
  354. hides a light 
  355. fa standard
  356. 16-color 
  357. . This "fixes" 
  358. roblem.
  359. 4svBMPpos, 
  360. imageCommand("
  361. ebmpFile 
  362. " && 
  363.  & "catgray.
  364. 7" &&\
  365. vError
  366. " && 
  367.  && "
  368. pad fNumber
  369. ) < 3
  370. vReply1 
  371. pCaptionText 
  372. vReply2 
  373. - 2) 
  374. "mpg"
  375. "Unable 
  376. ."&&\
  377.     -- "The [MCI] Microsoft AVI Video Driver 
  378. SuperMatch Cinepak"&&\
  379.     -- "
  380. (may 
  381. xbe installed, 
  382.  correctly."
  383.  -- formerly tbkMMNotify
  384. L    et 
  385. frames")
  386. ") > 1
  387.             --
  388. flushMessageQueue()
  389. hwnd,winMsg,wp
  390. -- 27 
  391. Esc key.
  392. statusBarText 
  393. "catalogStatusBar" 
  394. pCaptionText 
  395. -- This 
  396. handler may be causing instability, so best 
  397. leave 
  398. objectFromPoint(mousePosition 
  399. --            
  400. needed 
  401. used. It's 
  402. %nice, but
  403. necessary 
  404. 's sake:
  405. 4svSlideShow
  406. keyEnter 
  407. buttonClick 
  408. "mainText"
  409.  -- PgUp 
  410. scrollText (
  411. 6),-25
  412.  -- PgDn 
  413. ]),25
  414. x),-1
  415. keyDownArrow
  416. buttonChosen fTarget
  417. , sDontPlayWave
  418. "mainPage"
  419. x"info" 
  420. "maintext"
  421.             -- If 
  422. iconized, there's no 
  423. (state 
  424. <> minimized) 
  425. (GetActiveWindow() = 
  426. x"play" 
  427.          callMCI("
  428.  aniFile ready") 
  429.  <> "sound"
  430. closeWave
  431. stateChanged pNewState
  432. programStateChanged hwnd, wmsg, wp, lplo, lphi
  433. 4svMovieType
  434.     -- @ You can 
  435. released version!
  436. wp = 0    -- 
  437. 's been deactivated, so turn off 
  438.  & motion.
  439.  = "mpg" 
  440.         -- Program's 
  441. , so force re-paint 
  442. bitmap.
  443. imageCommand("
  444. ebmpFile 
  445. -- @ 
  446. fWhat,fAmt
  447. startUp
  448. 4svCatFiles,svCatNumber,svCatCount,s_mmdevices,svWinSize
  449. 4svScreenCenter,svDataPath,svSplashTime,svBookPath, svExitMsgNum
  450. startDLLs
  451.     -- Register User-defined msg. 
  452. broadcast upon exiting. If 
  453.     -- was launched 
  454. Hthe MPC Wizard, 
  455.  will intercept 
  456. aits 
  457.  = RegisterWindowMessage ("CAT_EXITING")
  458. getScreenCenter() 
  459.     -- First we 
  460. CAT001.BMP 
  461. 8's own dir., 
  462.     -- \CATALOG 
  463. 8's path, 
  464. xyet found,
  465.     -- on 
  466. getBookPath() 
  467. -- Find out 
  468. getHardDiskPath()
  469. getDefaultPaths
  470. putUpSplash "catsplsh.bmp"
  471. readLanguageFile
  472. getProgFileList("
  473.  Error" 
  474. "Unable 
  475. locate product screen files. Exiting 
  476.         -- 
  477. k& "[
  478. a code" && 
  479. & "]"    --11
  480. canPlayWave
  481. canPlayMovies
  482. checkFor8bit
  483. textlineCount(
  484. calcBMPpos
  485. readFileToField 
  486.  & "order.frm",\
  487. ", "Courier"
  488.     translateWindowMessage
  489.         -- WM_ACTIVATEAPP 
  490. indicating 
  491.         on 28 
  492. ZvCaptionText
  493. vFile 
  494. "catdlgs.fil"
  495.             -- Read 
  496.             -- Null value indicates 
  497. fSource, fDestination, fFontFace
  498. ZvText
  499. vScreenState 
  500. lockScreen 
  501. fFile
  502. imageCommandchk("
  503. " && 
  504. O && "style child alias 
  505. ",NULL) 
  506. vError
  507. moveBMP
  508. fileExists(
  509.  & "cat001.
  510. syserrornumber 
  511.     -- Link 
  512. Windows 
  513.     linkDLL "kernel"
  514.         WORD getDriveType(INT) -- Where 0=A, 1=B, etc. Removable returns 2
  515. ASetErrorMode(
  516. C GetPrivateProfileString(STRING,
  517.         --For getting & freeing memory.
  518. lobalAlloc(
  519. ,DWORD)
  520. lobalFree(
  521.         POINTER globalLock(
  522. lobalUnlock(
  523. checkDLL "
  524. user"
  525. E GetClientRect(
  526. [) -- 
  527. finding tbook client 
  528.             -- 
  529. knowing 
  530. we're 
  531. )        -- 
  532. sending 
  533.  PostMessage(
  534. , LONG)
  535.     -- Check 
  536. asure Multimedia Extentions are loaded, & 
  537.  misc. stuff.
  538. X"mmsystem.dll"
  539.         INT sndPlaySound(
  540. waveOutGetDevCaps(
  541.         -- 
  542. " test.
  543.  timeGetTime()
  544. movies.
  545. noMME
  546. X"tb30win.
  547. xUnitsFromPixels(
  548. repositioning 
  549.  pageFromClient(
  550.  clientFromPage(
  551.  INT, 
  552. ) -- 
  553. displayBitsPerPixel() -- 
  554. 256 color checking
  555.  getWinIniVar(
  556. tb30dos.
  557.  getDriveList()
  558.  getCurrentDrive()
  559.  getCurrentDirectory(
  560.  getFileList(
  561. copyFile(
  562. vReply1 
  563. "Can't 
  564.      """ & 
  565. _ & """." & 
  566. "Make 
  567. either on 
  568. hard disk directory where 
  569.  resides, "&\
  570. ." & 
  571. "If you're 
  572. that 
  573. should be, 
  574. %"&&\
  575. "still 
  576. message, try turning on Virtual Memory (see"&&\
  577. "Control Panel Help 
  578. directions). " 
  579. "The 
  580. sions 
  581. xinstalled, 
  582.     -- "
  583.  properly." & 
  584. && "can't 
  585. without them." 
  586. readCDerrorMsgs
  587. "catcd.
  588.             -- 
  589.             -- 
  590. vErrorsText
  591. ZvFirstFixedDisk,vIsCD
  592. vErrorMsgs 
  593. 1)    -- Turn 
  594.  msgs. during 
  595. vDriveList
  596. x"A" 
  597. isCDDrive(
  598. 0            -- It's 
  599. xa CD drive.
  600. i - 1) = 3
  601. -- It's a 
  602. -- It's a CD 
  603.  & ":\
  604. ) & ":\
  605. -- If 
  606. root:
  607.  & ":\
  608. ) & ":\") 
  609.  -- You've gotten 
  610. , so stop 
  611.     0)    -- 
  612. vReply2 
  613. CD containing """ & 
  614.         -- """ 
  615. your CD-ROM 
  616.         -- "Put 
  617. click ""Retry,"" 
  618.         -- ""
  619. """& " 
  620.             sysMediaSuspend = 
  621. isNewTBKfile
  622. tbkfile.
  623. x"OK" 
  624.  fExt
  625.     -- We're assuming 
  626. )least a 
  627. every
  628. , vNewFileList
  629. vFileList 
  630.  & "cat*." & 
  631.                  
  632.                  
  633. isType(
  634. insertionSort(
  635. quickSort(
  636. )    -- Only 
  637. ]quicksort algorithm.
  638. getBookStub
  639. ZvStub
  640. 4svCanPlayWave
  641. ZvMsg
  642. checkCueing()    -- See 
  643. . If so, 
  644. -- definately 
  645. "0"    -- It cued a wavefile successfully.
  646. "-1"    -- No .WAV 
  647.  exists.
  648.     -- It 
  649. j, but 
  650.     hese other tests 
  651. 4giving up.
  652. checkDevCaps()    -- 
  653. waveOutDevCaps.
  654. --MCI reports: "
  655. range."
  656. "Your 
  657. z audio 
  658. xresponding."    --12
  659.  driver present."
  660. "An unknown 
  661.  occurred."    --14
  662. checkInis()
  663. 4."    --15
  664.  correctly on 
  665. 4."    --16
  666. missing 
  667. U""wav=waveaudio"""&&\
  668. ""[mci extensions]"" section 
  669. WIN.INI 
  670. "    --17
  671. "sounds 
  672. wav") )
  673. " && 
  674. && "type 
  675. waveFile wait")
  676. sysErrorNumber 
  677. vReturn 
  678. " && 
  679. getMemPointer(64)
  680. vHandle 
  681. vPtr 
  682. freeMemory(
  683. f128)
  684. "mci","WaveAudio","
  685. ,128,"
  686. 4.ini")
  687. c"mciwave.drv")
  688. -- Aris Entertainment's Product Catalog, ver. 2.0
  689. -- Copyright (c) 1994, 
  690. CMultimedia 
  691. K, Inc.
  692. -- All rights reserved.
  693. k    --This prevents 
  694. 4books on the
  695. --SYSSTARTUPBOOKS 
  696. ToolBook 
  697. WIN.INI
  698. running 
  699. instance 
  700. "catalogStatusBar" 
  701. /"main"
  702.     sysMediaSuspend = 
  703. 4svProgNameStub, svExitMsgNum
  704. closeWave
  705. closeMovie
  706. lockScreen 
  707.     -- If the Wizard 
  708. out there, let 
  709. know we're exiting so 
  710. normalize 
  711. PostMessage(0xFFFF, 
  712. , 0, 0)
  713.     -- Prevents user 
  714. going 
  715. Ctrl-
  716. Sarrow key.
  717. t    -- 
  718. saving
  719. keyEnter 
  720. buttonClick 
  721. canPlayMovies
  722. 4svMovieType
  723. testDeviceType("mpg") 
  724. "0"    -- Check 
  725. MPEG.
  726. xpresent.
  727. Mavi")
  728. "2"         -- 2 means 
  729.  are no VFW movies.
  730. pCaptionText 
  731.             --
  732. "The [MCI] Microsoft AVI Video Driver 
  733. SuperMatch Cinepak 
  734. xbe installed,"&&\
  735.             -- "
  736.  correctly." &\
  737. k& "You will 
  738. xbe able 
  739. play 
  740. " &&\
  741.     -- "
  742. program."
  743.     -- For 
  744.  only maximize 
  745.  Let's see 
  746. 's possible.
  747. testStretchability("
  748. tbkMCIwaveChk cmd,notif
  749. ZretVal
  750. callMCI(
  751. B"sound" = 
  752. "mainPage" = 
  753.  waveFile wait")
  754.  aniFile")
  755.     untranslateWindowMessage 514
  756.     enabled 
  757.  fFileExt
  758. 4svDataPath
  759. getFileList( (
  760.  & "cat*." & 
  761. vFile
  762. " && 
  763.  && "alias 
  764.  style child 
  765. " && sysClientHandle && "
  766.  state 
  767. sysErrorNumber 
  768. vReturn 
  769. sndPlaySound(0,0)
  770. " && 
  771.  && "
  772. " && 
  773. " && 
  774.  && "
  775. "capability" && 
  776.  && "can stretch") 
  777. "fullScreen"
  778. "Your" &&\
  779.         -- "
  780. xcapable 
  781. displaying 
  782. _-screen mode." &&\
  783.         -- "
  784. a small 
  785. "normalScreen"
  786. " && 
  787. checkFor8bit
  788. 4svBitDepth
  789. displaybitsperpixel() 
  790. & < 8
  791. vReply1 
  792. vReply2 
  793.  current Windows video driver cannot" && \
  794.  256 colors simultaneously. 
  795. pictures 
  796. " &&\
  797. "appear off-
  798. getBookPath
  799. getMemPointer fBytes
  800. vHandle 
  801. GlobalAlloc(0,
  802. "Unable 
  803. allocate enough global memory 
  804. perform 
  805. operation."    --3
  806. lpPtr 
  807. GlobalLock(
  808. GlobalFree(
  809. . Can't 
  810. freeMemory fHandle
  811. GlobalUnlock(
  812. tbkmmdevices 
  813. 4s_mmdevices
  814. imageCommandChk 
  815. req,brk
  816. (cmd)
  817. vError
  818. tbkMCIchk 
  819. syserrornumber
  820. tbkmmerrorstring(
  821. calcNewTextBounds
  822. vBounds 
  823. "mainText" 
  824. pageFromClient(
  825. ,sysMagnification,TBclientWin())
  826. )/2) 
  827. vScreenX    -- Horiz. 
  828.     -- Horizontal 
  829. half 
  830. ) - (
  831. )) /2) 
  832. vFieldX
  833. xUnitsFromPixels(1)
  834. -- - 23
  835. -- - 23
  836. getScreenCenter
  837. )/2) 
  838. vScreenCenter
  839. )/2) 
  840. moveBMP
  841. 4svBMPpos
  842. calcBMPpos
  843. ebmpFile 
  844. " && 
  845. calcVFWVertPos fWinYsize
  846. "testingMotion" 
  847. "showMotion"
  848. clientFromPage(
  849. ) - 10) / 2
  850. r / 2) )
  851. U"BMPline" 
  852.  = pageUnitsToFrame(
  853. putMovieWindow
  854. "where 
  855. allocation 
  856. ." & 
  857. "Cannot 
  858. ."    --35
  859. )/2) - ((
  860. )/2)) \
  861. )/2) - ((
  862. )/2)) \
  863. )" && 
  864. "realize 
  865. hRect 
  866. globalAlloc(0,8)
  867. lpRect 
  868. globalLock(
  869. getClientRect(
  870. vSize
  871. globalUnlock(
  872. globalFree(
  873. resetCatalog
  874. = " "
  875. following sorting functions 
  876. Asymetrix's Scrap 
  877.  (C) 
  878. insertion 
  879. limited 
  880. about 150 
  881. (due, perhaps, 
  882. limitations). When 
  883. engine 
  884. 3.0, 
  885. quicksort 
  886. algorithm below 
  887. be a better
  888. certainly faster) one 
  889. insertionSort
  890. fTable, fKeyNum
  891. vLineCount,
  892. lines 
  893. vRecordNumber,
  894. zbeing inserted \
  895. vCurKey,
  896. key value \
  897. vSortedCount,
  898. already sorted \
  899. vTemp
  900. --holder 
  901. jduring its deletion 
  902. "Empty table"
  903. zgreater than 
  904. elements"
  905.  > 0 
  906.  & CRLF 
  907. a recusive 
  908. that currently 
  909.  because 
  910. (due 
  911. stack 
  912. ). In 
  913. 3.0, however, 
  914. , so 
  915. more 
  916. above, which 
  917.  now.
  918. fText
  919. 4svSortList
  920. ZvSortText
  921. quicksrt 1,textlineCount(
  922. 1fFirst,fLast
  923. vSplitPoint 
  924. @split(
  925. vKey 
  926. t + 1 
  927. swap 
  928. fPoint1,fPoint2
  929. vTemp1 
  930. vTemp2 
  931.  End 
  932.  scripts
  933. vs^s^s
  934. Cancel
  935. Set Up Printer...
  936. Print
  937. JRprintIt
  938. What do you want to do?
  939. buttonClick
  940. svDataPath
  941. icopyFile
  942. order.frm
  943. printIt
  944. mainText
  945. "mainText" is not null and name of this page is "order"
  946. text of recordField
  947. xprintIt
  948. vBounds
  949. mainText
  950. mainTextWidth
  951. .&+    +E
  952. .&+    +E
  953. svSplashTime
  954. svBookEntered
  955. ZstartUp
  956. showNewProduct
  957. window bmpFile state show
  958. enterPage
  959. window bmpFile state hide
  960. leavePage
  961. toggleWaveSound
  962. keyDown
  963. sDontPlayWave
  964. svSlideShow
  965. vplayWave
  966. closeWave
  967. status waveFile ready
  968. toggleWaveSound
  969. mainText
  970. svCatNumber
  971. svDataPath
  972. sStatusTimer
  973. closeMovie
  974. svSlideShow
  975. svCatFiles
  976. fileName
  977. Arial
  978. periodic
  979. setButtons
  980. mainPage
  981. close waveFile wait
  982. timeGetTime
  983. vplayWave
  984. readFileToField
  985. HJshowBMP
  986. showNewProduct
  987. .&+    +E
  988. window bmpFile state hide
  989. mainText
  990. vError
  991. svDataPath
  992. {imageCommandchk
  993. svSlideShow
  994. close bmpFile
  995. svBMPpos
  996. alias bmpFile style child
  997. fileName
  998. window bmpFile position
  999. window bmpFile state show
  1000. showBMP
  1001. svCatCount
  1002. changeButtonState
  1003. first
  1004. svCatNumber
  1005. svDataPath
  1006. previous
  1007. filename
  1008. fileExists
  1009. svMovieType
  1010. sound
  1011. vFile
  1012. setButtons
  1013. changeButtonState
  1014. close waveFile
  1015. svDataPath
  1016. fileName
  1017. fileExists
  1018. svCanPlayWave
  1019. sDontPlayWave
  1020. play waveFile
  1021. sound
  1022. ">tbkMCIwaveChk
  1023. vFile
  1024. alias waveFile
  1025. playWave
  1026. MCINotify
  1027. sStatusTimer
  1028. timerNotify
  1029. .&+    +E
  1030. .&+    +E
  1031. showNewProduct
  1032. svCatCount
  1033. svSlideShow
  1034. svCatNumber
  1035. status waveFile mode
  1036. successful
  1037. timeGetTime
  1038. sound
  1039. playing
  1040. MCINotify
  1041. w,    #>
  1042. 1,    #>
  1043. 1,    #>
  1044. 1,    #>
  1045. svCatNumber
  1046. MCINotify
  1047. .buttonChosen
  1048. status aniFile ready
  1049. svMovieType
  1050. svDataPath
  1051. sound
  1052. fullScreen
  1053. zplayLargeMovie
  1054. playSmallMovie
  1055. vFile
  1056. fileExists
  1057. cmovieErrorMsg
  1058. buttonClick
  1059. w,    #>
  1060. 1,    #>
  1061. 1,    #>
  1062. svDataPath
  1063. svCatNumber
  1064. fileExists
  1065. svMovieType
  1066. vFile
  1067. getCurrentMovie
  1068. .&+    +E
  1069. notifyMCI
  1070. play aniFile
  1071. status aniFile window handle
  1072. vLargePicHandle
  1073. closeMovie
  1074. alias aniFile style 2147483648
  1075. keyPressed
  1076. window anifile state show maximized
  1077. cmovieErrorMsg
  1078. playLargeMovie
  1079. notifyMCI
  1080. MCInotify
  1081. notifyMCI
  1082. -#,    #?
  1083. .&+    +E
  1084. notifyMCI
  1085. MCINotify
  1086. play aniFile
  1087. status aniFile window handle
  1088. vLargePicHandle
  1089. closeMovie
  1090. showNhideGrayBmp
  1091. putMovieWindow
  1092. keyPressed
  1093. alias aniFile nostatic style child parent
  1094. HJshowBmp
  1095. cmovieErrorMsg
  1096. playSmallMovie
  1097. vError
  1098. svDataPath
  1099. close bmpFile wait
  1100. alias bmpFile style child wait
  1101. catgray.bmp
  1102. window bmpFile position
  1103. svBMPpos
  1104. window bmpFile state show wait
  1105. window bmpFile state hide wait
  1106. showNhideGrayBmp
  1107. .&+    +E
  1108. vReply1
  1109. sound
  1110. vReply1
  1111. fFilename
  1112. vReply2
  1113. J5pCaptionText
  1114. vReply2
  1115. movieErrorMsg
  1116. closeMovie
  1117. set aniFile time format frames
  1118. HJshowBmp
  1119. status aniFile position
  1120. MCINotify
  1121. MCINotify
  1122. keyDown
  1123. .&,    "
  1124. MCINotify
  1125. keyPressed
  1126. keyPressed
  1127. pstatusBarText
  1128. J5pCaptionText
  1129. catalogStatusBar
  1130. mouseEnter
  1131. J5pCaptionText
  1132. catalogStatusBar
  1133. mouseLeave
  1134. mainText
  1135. scrollText
  1136. button
  1137. keyDown
  1138. maintext
  1139. GetActiveWindow
  1140. sDontPlayWave
  1141. svSlideShow
  1142. status aniFile ready
  1143. sound
  1144. mainPage
  1145. minimized
  1146. closeWave
  1147. buttonChosen
  1148. .buttonChosen
  1149. minimized
  1150. stateChanged
  1151. mainText
  1152. reader
  1153. false
  1154. .buttonChosen
  1155. svMovieType
  1156. mainPage
  1157. IprogramStateChanged
  1158. status aniFile ready
  1159. window bmpFile state show
  1160. programStateChanged
  1161. scrollText
  1162. .&+    +E
  1163. svBookPath
  1164. svSplashTime
  1165. svCatCount
  1166. maintext
  1167. svCatNumber
  1168. svDataPath
  1169. putUpSplash
  1170. getProgFileList
  1171. getScreenCenter
  1172. Courier
  1173. svCatFiles
  1174. QRcanPlayMovies
  1175. catsplsh.bmp
  1176. calcBMPpos
  1177. RegisterWindowMessage
  1178. No Files Error
  1179. order.frm
  1180. s_mmdevices
  1181. svCatCount
  1182. svExitMsgNum
  1183. svWinSize
  1184. svDataPath
  1185. svCatNumber
  1186. svBookPath
  1187. svCatFiles
  1188. svSplashTime
  1189. svScreenCenter
  1190. order
  1191. svExitMsgNum
  1192. readLanguageFile
  1193. getDefaultPaths
  1194. seconds
  1195. startDLLs
  1196. svScreenCenter
  1197. readFileToField
  1198. checkFor8bit
  1199. CAT_EXITING
  1200. canPlayWave
  1201. J5pCaptionText
  1202. getHardDiskPath
  1203. programStateChanged
  1204. getBookPath
  1205. startUp
  1206. catdlgs.fil
  1207. K5pCaptionText
  1208. vFile
  1209. readLanguageFile
  1210. readFileToField
  1211. window bmpFile state hide
  1212. vError
  1213. svDataPath
  1214. close bmpFile
  1215. style child alias bmpFile
  1216. AmoveBMP
  1217. {imageCommandchk
  1218. window bmpFile state show
  1219. putUpSplash
  1220. .&,    "
  1221. .&,    "
  1222. svBookPath
  1223. svDataPath
  1224. fileExists
  1225. catalog\cat001.bmp
  1226. catalog\
  1227. cat001.bmp
  1228. getHardDiskPath
  1229. xUnitsFromPixels
  1230. pageFromClient
  1231. clientFromPage
  1232. displayBitsPerPixel
  1233. getWinIniVar
  1234. tb30dos.dll
  1235. getDriveType
  1236. SetErrorMode
  1237. GetPrivateProfileString
  1238. globalAlloc
  1239. globalFree
  1240. globalLock
  1241. globalUnlock
  1242. tb30win.dll
  1243. mmsystem.dll
  1244. GetClientRect
  1245. GetActiveWindow
  1246. RegisterWindowMessage
  1247. PostMessage
  1248. noMME
  1249. sndPlaySound
  1250. waveOutGetDevCaps
  1251. timeGetTime
  1252. kernel
  1253. getDriveList
  1254. getCurrentDrive
  1255. fileExists
  1256. getCurrentDirectory
  1257. ,    UT_EXg    
  1258. getFileList
  1259. copyFile
  1260. ,    TITIN-"
  1261. McheckDLL
  1262. startDLLs
  1263. vReply1
  1264. vReply1
  1265. J5pCaptionText
  1266. checkDLL
  1267. vReply1
  1268. vReply1
  1269. J5pCaptionText
  1270. noMME
  1271. vErrorsText
  1272. catcd.fil
  1273. vFile
  1274. readCDerrorMsgs
  1275. .&,    "
  1276. .&,    "
  1277. .&,    "
  1278. ,%H.%
  1279. .&+    +E
  1280. getDefaultPaths
  1281. )getDriveList
  1282. -SetErrorMode
  1283. fileExists
  1284. vReply1
  1285. /getDriveType
  1286. vDrive
  1287. :\cat001.bmp
  1288. vFirstFixedDisk
  1289. vReply1
  1290. vIsCD
  1291. vReply2
  1292. svDataPath
  1293. svBookPath
  1294. vErrorMsgs
  1295. vDriveList
  1296. vDrive
  1297. svDataPath
  1298. vErrorMsgs
  1299. J5pCaptionText
  1300. :\catalog\cat001.bmp
  1301. :\catalog\
  1302. readCDerrorMsgs
  1303. isCDDrive
  1304. vDriveList
  1305. vReply2
  1306. getDefaultPaths
  1307. isCDDrive
  1308. false
  1309. tbkfile.dll
  1310. isNewTBKfile
  1311. ,%H.%
  1312. rinsertionSort
  1313. svDataPath
  1314. vFileList
  1315. getFileList
  1316. No Files Error
  1317. cat*.
  1318. getProgFileList
  1319. getBookStub
  1320. .&+    +E
  1321. checkDevCaps
  1322. false
  1323. checkCueing
  1324. checkInis
  1325. svCanPlayWave
  1326. false
  1327. svCanPlayWave
  1328. J5pCaptionText
  1329. canPlayWave
  1330. .&+    +E
  1331. .&+    +E
  1332. vReturn
  1333. cat*.wav
  1334. svDataPath
  1335. getFileList
  1336. type waveaudio alias waveFile wait
  1337. 6sndPlaySound
  1338. close waveFile wait
  1339. cue waveFile wait
  1340. vFile
  1341. checkCueing
  1342. freeMemory
  1343. waveOutGetDevCaps
  1344. vHandle
  1345. )UgetMemPointer
  1346. checkDevCaps
  1347. system.ini
  1348. vReturn
  1349. WaveAudio
  1350. (GetPrivateProfileString
  1351. mciwave.drv
  1352. freeMemory
  1353. waveaudio
  1354. vHandle
  1355. mci extensions
  1356. *getWinIniVar
  1357. )UgetMemPointer
  1358. checkInis
  1359. enterSystem
  1360. catalogStatusBar
  1361. enterbook
  1362. closeMovie
  1363. PostMessage
  1364. svExitMsgNum
  1365. closeWave
  1366. leaveBook
  1367. .&+    +E
  1368. previous
  1369. author
  1370. reader
  1371. first
  1372. history
  1373. button
  1374. keyDown
  1375. testDeviceType
  1376. JHtestStretchability
  1377. svMovieType
  1378. svMovieType
  1379. J5pCaptionText
  1380. canPlayMovies
  1381. .&+    +E
  1382. sound
  1383. tbkMCIwaveChk
  1384. mainPage
  1385. close waveFile wait
  1386. sound
  1387. closeWave
  1388. close aniFile
  1389. sound
  1390. closeMovie
  1391. -#,    #?
  1392. -#,    #?
  1393. vReturn
  1394. svDataPath
  1395. getFileList
  1396. alias aniFile style child parent
  1397. window aniFile state hide
  1398. 6sndPlaySound
  1399. cat*.
  1400. close aniFile wait
  1401. close aniFile
  1402. vFile
  1403. play aniFile test
  1404. testDeviceType
  1405. vReturn
  1406. normalScreen
  1407. svDataPath
  1408. vReturn
  1409. svDataPath
  1410. fFileExt
  1411. vFile
  1412. capability
  1413. close
  1414. getFileList
  1415. cat*.
  1416. fullScreen
  1417. can stretch
  1418. vFile
  1419. J5pCaptionText
  1420. testStretchability
  1421. .&+    +E
  1422. svBitDepth
  1423. vReply1
  1424. vReply1
  1425. svBitDepth
  1426. vReply2
  1427. rpdisplaybitsperpixel
  1428. J5pCaptionText
  1429. vReply2
  1430. checkFor8bit
  1431. getBookPath
  1432. GlobalAlloc
  1433. lpPtr
  1434. GlobalFree
  1435. GlobalLock
  1436. vHandle
  1437. J5pCaptionText
  1438. getMemPointer
  1439. GlobalUnlock
  1440. GlobalFree
  1441. freeMemory
  1442. s_mmdevices
  1443. tbkmmdevices
  1444. .&+    +E
  1445. vError
  1446. imageCommandChk
  1447. .&+    +E
  1448. tbkmmerrorstring
  1449. tbkMCIchk
  1450. vBounds
  1451. mainText
  1452. kpageFromClient
  1453. TBclientWin
  1454. xUnitsFromPixels
  1455. calcNewTextBounds
  1456. TBclientWin
  1457. vScreenCenter
  1458. getScreenCenter
  1459. svBMPpos
  1460. calcBMPpos
  1461. window bmpFile position
  1462. moveBMP
  1463. kclientFromPage
  1464. testingMotion
  1465. showMotion
  1466. calcVFWVertPos
  1467. BMPline
  1468. svBMPpos
  1469. mainPage
  1470. calcBMPpos
  1471. .&+    +E
  1472. where aniFile window
  1473. realize aniFile
  1474. put aniFile window client at
  1475. TBclientWin
  1476. J5pCaptionText
  1477. putMovieWindow
  1478. globalUnlock
  1479. globalAlloc
  1480. globalLock
  1481. vSize
  1482. EgetClientRect
  1483. lpRect
  1484. hRect
  1485. globalFree
  1486. TBclientWin
  1487. mainText
  1488. resetCatalog
  1489. 1,    "V
  1490. Key number greater than number of elements
  1491. Empty table
  1492. insertionSort
  1493. quicksrt
  1494. svSortList
  1495. quicksort
  1496. vSplitPoint
  1497. quicksrt
  1498. split
  1499. quicksrt
  1500. vSplitPoint
  1501. svSortList
  1502. split
  1503. vTemp2
  1504. vTemp1
  1505. svSortList
  1506. CDBSE&File
  1507. &Open...    Ctrl+O
  1508. &Save    Ctrl+S
  1509. Save &As...
  1510. saveas
  1511. &Import...
  1512. import
  1513. &Export...
  1514. export
  1515. Print Set&up...
  1516. printsetup
  1517. &Print Pages...    Ctrl+P
  1518. printpages
  1519. Prin&t Report...
  1520. printreport
  1521. Send &Mail...
  1522. sendmail
  1523. &Run...
  1524. E&xit    Alt+F4
  1525. &Edit
  1526. &Undo    Ctrl+Z
  1527. Cu&t    Ctrl+X
  1528. &Copy    Ctrl+C
  1529. &Paste    Ctrl+V
  1530. paste
  1531. C&lear    Del
  1532. clear
  1533. Select &All    Shift+F9
  1534. selectall
  1535. Select Pa&ge    Shift+F12
  1536. selectpage
  1537. &Size to Page    F11
  1538. sizetopage
  1539. F&ind...    F5
  1540. Re&place...
  1541. replace
  1542. Aut&hor    F3
  1543. author
  1544. &Text
  1545. &Character...    F6
  1546. character
  1547. &Paragraph...    F7
  1548. paragraph
  1549. &Regular    Ctrl+Space
  1550. regular
  1551. &Bold    Ctrl+B
  1552. &Italic    Ctrl+I
  1553. italic
  1554. &Underline    Ctrl+U
  1555. underline
  1556. Stri&keout    Ctrl+K
  1557. strikeout
  1558. Superscrip&t/Subscript
  1559. superscriptSubscript
  1560. &Normal Script
  1561. normalscript
  1562. Su&bscript    Ctrl+L
  1563. subscript
  1564. Su&perscript    Ctrl+Shift+L
  1565. superscript
  1566. &Show Hotwords    F9
  1567. showhotwords
  1568. &Page
  1569. &Next    Alt+Right
  1570. &Previous    Alt+Left
  1571. previous
  1572. &First    Alt+Up
  1573. first
  1574. &Last    Alt+Down
  1575. &Back    Shift+F2
  1576. &History...    Ctrl+F2
  1577. history
  1578. N&ew Page    Ctrl+N
  1579. newpage
  1580. &Help
  1581. &Contents    F1
  1582. contents
  1583. Status &Bar    F12
  1584. statusbar
  1585. wwwpw
  1586. wwwwpp
  1587. wwwwp
  1588. wwwwww
  1589. wwwwwwp
  1590. wwwwwwwwwwp
  1591. wwwwwwwwwwp
  1592. wwwwwwp
  1593. wwwwp
  1594. wwwwp
  1595. wwwwwwp
  1596. wwwwwwww
  1597. pwwwwwp
  1598. wwwwp
  1599. wwwwwwww
  1600. wwwwww
  1601. wwwwpp
  1602. wwwwpp
  1603. wwwwww
  1604. wwwwww
  1605. wwwwww
  1606. wwwww
  1607. wwwwwww
  1608. wwwwww
  1609. wwwwww
  1610. wwwwwwwwp
  1611. wwwwwwwwpp
  1612. wwwwwwwwpp
  1613. wwwwwwp
  1614. wwwww
  1615. wwwww
  1616. wwwwwwwww
  1617. wwwwwww
  1618. wwwwwww
  1619. wwwwwww
  1620. wwwwwww
  1621. movie off
  1622. info off
  1623. first
  1624. first off
  1625. sound
  1626. next off
  1627. order
  1628. order off
  1629. all off
  1630. exit off
  1631. last off
  1632. Previous
  1633. previous off
  1634. print
  1635. print off
  1636. copy off
  1637. return
  1638. return off
  1639. sound off
  1640. order
  1641. mainPage
  1642. Key Product Catalog
  1643. .&+    +E
  1644. .&+    +E
  1645. minimimized
  1646. AmoveBMP
  1647. putMovieWindow
  1648. status aniFile ready
  1649. sized
  1650. 4svCatNumber
  1651. state 
  1652. <> minimimized
  1653. moveBMP
  1654. callMCI("status aniFile ready") 
  1655. putMovieWindow
  1656. <BookPath>
  1657. :HDMEDIAPATH
  1658. Courier
  1659. Arial
  1660. sALwuKstJmEHlCxx
  1661. ame of this page is "order"
  1662. mainText
  1663. mainText
  1664. text of recordField "mainText" is not null and name of this page is "order"
  1665. genericViewer1
  1666. uRetValue
  1667. buttonClick
  1668. onClick
  1669. targetWindow = 
  1670. "genericViewer1"
  1671.         uRetValue 
  1672. continue
  1673. C&opy
  1674. &Skip
  1675. cancel
  1676. &Cancel
  1677. soundInfo
  1678. request "There are no compatible motion video drivers installed on your system. You will not be able to play any movies from this program."
  1679. request "Your current Windows video driver cannot display 256 colors simultaneously. The pictures in this program will appear off-color."
  1680. Unable to allocate enough global memory to perform this operation.
  1681. Unable to lock global memory. Can't perform this operation.
  1682. request "Can't run Help." & crlf & crlf & "Make sure that the file WINHELP.EXE is in your Windows directory."
  1683. request "Can't link to file """ & fDLL & ".""" & crlf & crlf & "Make sure it is either on the hard disk directory where this program resides, or in any directory on the DOS path." & crlf & crlf & "If you're sure that the file is where it should be, and you still get this message, you may be running low on memory. To remedy this situation, try turning on Virtual Memory (see the Windows Control Panel Help or your Windows manual for directions)." with vReply1
  1684. request "The Multimedia Extensions to Windows are not installed, or not installed properly." & crlf & crlf & quote & caption of this book & quote && "can't run without them." with vReply1
  1685. request "An older version of the file" && vFilename && "is in directory " & uppercase(svBookPath) & ", or elsewhere in your path." & crlf & crlf & "Replace your old" && vFilename && "file with the newer one on the CD containing """ & caption of this book & ","" and run """ & caption of this book & """ again." with vReply1
  1686. request "The correct CD is not in your CD-ROM drive." & crlf & crlf & "Put the CD into your drive and click ""Retry,"" or click ""Exit"""& " to leave this program." with vReply1 or vReply2
  1687. request "An older version of the file" && vFilename && "is in directory " & uppercase(svBookPath) & ", or elsewhere in your path." & crlf & crlf & "When you are finished using """ & caption of this book & ","" replace your old" && vFilename && "file with the newer one on the CD containing """ & caption of this book & "."""
  1688. request "Unable to locate Product Screen files. Exiting program." & crlf&crlf& "[Error code:" && it & "]"
  1689. Your wave audio device is not responding.
  1690. Your wave audio device driver is not responding.
  1691. An unknown error occurred.
  1692. The MCI Sound driver is not installed on your system.
  1693. The MCI Sound driver is not installed correctly on your system.
  1694. set vMsg to "You are missing the line ""wav=waveaudio"""&& "in the ""[mci extensions]"" section of your WIN.INI file."
  1695. request vMsg & crlf & crlf & "You will not be able to hear any wave audio sounds from this program."
  1696. request quote & fTargetFile & """ already exists." & crlf & "Do you want to replace it?" & crlf & crlf & "Existing file's size is " & it && "bytes." & crlf & "Replacement file's size is " & vSourceFileSize && "bytes." with vReply1 or vReply2
  1697. Your destination drive doesn't have enough free space.
  1698. There's a problem accessing your destination drive.
  1699. An out of memory condition occurred.
  1700. can't be found.
  1701. can't be copied to
  1702. request "Unable to play this movie." & crlf & crlf & "The [MCI] Microsoft AVI Video Driver and/or the SuperMatch Cinepak Driver may not be installed, or not installed correctly."
  1703. request "Unable to play this movie." & crlf & crlf & "Your MPEG driver or hardware may not be installed, or not installed correctly."
  1704. request "Are you sure you want to exit this program?" with vReply1 or vReply2
  1705. request "Memory allocation error." & crlf & crlf & "Cannot play this movie."
  1706. request "Unable to play this movie. There are no compatible motion video drivers installed on your system."
  1707. The SoftKey Product Catalog
  1708. Exit Program
  1709. Copying your file.
  1710. Please wait...
  1711. Save a File
  1712. Cancel
  1713. request "Error opening dialog box." &crlf&crlf& "Error number: " && CommDlgExtendedError()
  1714. Return
  1715. request "Your system is not capable of displaying the movies on this CD in full-screen mode. All movies will play in a small window."
  1716. Continue
  1717. Retry
  1718. Cancel
  1719. Replace
  1720. File,Edit,Page,Object,Draw,Window,Help
  1721. File,Edit,Page,Help
  1722. "Loading file lists from the CD." &crlf& "Please wait..."
  1723. "Testing your sound device." &crlf& "Please wait..."
  1724. "Testing motion video capability." &crlf& "Please wait..."
  1725. "Checking graphics capability." &crlf& "Please wait..."
  1726. "Loading text from the CD." &crlf& "Please wait..."
  1727. Unable to read text file from the CD. Information about the pictures will not be available.
  1728. ask "Enter the minimum amount of seconds to display each product screen:" with "10"
  1729. request "You didn't enter a whole number. Try again."
  1730. request "You must enter a number larger than 9. Try again."
  1731. Click this button to play a movie.
  1732. Click this button to get more information about this product.
  1733. Click this button to turn the sound on or off.
  1734. Click this button to go back to the last product.
  1735. Click this button to go back to the previous product.
  1736. Click this button to go to the next product.
  1737. Click this button to go to the last product.
  1738. Click this button to view, print, or copy the SoftKey product order form.
  1739. Click this button to automatically display one product screen after another.
  1740. Click this button to exit the SoftKey Product Catalog.
  1741. To learn about a button, just move your mouse over it. Information about that button will appear here.
  1742. Click this button to print the SoftKey Product Catalog order form.
  1743. Click this button to copy the SoftKey Product Catalog order form to the Windows clipboard.
  1744. Click this button to return to the main screen.
  1745.