home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code2 / str2bmp / test.frm (.txt) < prev    next >
Visual Basic Form  |  1995-02-27  |  6KB  |  143 lines

  1. Form1
  2. Bitmap Function Tester.
  3. Form15D
  4. CommandCopyResultToB
  5. Copy RESULT to B
  6. CommandAnd
  7. RESULT = A AND B
  8. PictureResult
  9.     CommandOr
  10. RESULT = A OR B
  11. CommandInvertA
  12. Invert A
  13. CommandCompareAtoB
  14. Compare A to B
  15. PictureA
  16. PictureB
  17. CommandCopyAtoB
  18. Copy A to B
  19. CommandDrawCircle
  20. Draw Circles in A
  21. Write line to A
  22. Label3
  23. MS Sans Serif
  24. Label2
  25. MS Sans Serif
  26. Label1
  27. Result
  28. MS Sans Serif
  29. Command1_Click
  30. BMPToString
  31.     Form_Load
  32. Picture1
  33. Image
  34. Picture1_ClickJ
  35. ScaleHeight
  36. ScaleWidth+
  37. GlobaT
  38. Command2_Click
  39. converting
  40. bitmap
  41. extern
  42. PASCALx
  43. export
  44. HBITMAP]
  45. hImage
  46. LPSTR
  47.     variables
  48. hOldBitmap
  49. information 
  50. about
  51.     GetObject
  52. sizeof
  53. SelectObject
  54. Copy@
  55. GetBitmapBits
  56. bmHeightI
  57. bmWidthBytes_
  58. DeSelect
  59. Picture2
  60. StringToBmpl
  61. StringBMPSize
  62. bytes
  63. Picture
  64. CommandCompare_Clickq
  65. StringBMPCompare
  66. StringBMP_GetSize
  67. large
  68. store
  69. StringBMP_CompareL
  70. CommandInvert_Click
  71. spaces
  72. BMPString_Invert
  73. StringBMP_SetSize
  74. StringBMP_Inverto
  75. BMP_GetSize
  76. StringBMP_Copy
  77. CommandOr_Click
  78. StringBMP_Or
  79. Picture3
  80. Label3_Click
  81. Label2_Click
  82. CommandAnd_ClickB
  83. StringBMP_and
  84. Command3_Click
  85. CommandCopy_Click
  86. CommandInner_Click&
  87. StringBMP_Inner|
  88. CommandOuter_Click9
  89. StringBMP_OuterO
  90. StringBMP_GetOuter
  91. StringBMP_GetInner
  92. StringBMP_MakeBlack
  93. CommandWhite_Click
  94. CommandBlack_Click
  95. StringBMP_MakeWhite
  96.     FillStyle
  97. PictureA
  98. PictureB
  99. PictureResult)
  100. CommandDrawCircle_ClickL
  101. CommandCopyAtoB_Click
  102. RESULTh
  103. CommandCompareAtoB_Click
  104. CommandCopyResultToB_Click
  105. CommandInvertA_Click
  106.     FillColor
  107. TEMPX
  108.  Strings to hold pixel information.t
  109. CommandAnd_Click
  110. Bitmap too large to store!
  111. CommandCompareAtoB_Click
  112. Bitmap too large to store!
  113. Bitmaps must be same size to compare. 
  114. This difference is 
  115.  pixels.
  116. CommandCopyAtoB_Click
  117.  Fill PictureBox with information in B$u
  118.  Display the new information
  119. CommandCopyResultToB_Click
  120.  Copy RESULT to B (STRINGS!)
  121.  Convert the new B$ to a picture and display it!
  122. CommandDrawCircle_Click
  123.  Draw a black circle
  124.  Determine the size of a string required to hold PictureAk
  125. Bitmap too large to store as a string!
  126.  Create a string of the proper size to hold picture box.
  127.  Convert PictureA into A$r
  128. CommandInvertA_Click
  129.  Determine the size of a string required to hold PictureAd
  130. Bitmap too large to store!
  131.  Make sure space is allocated to hold all pixels in strings.
  132.  Copy PictureA into A$
  133.  Invert A$ and store the result in RESULT$
  134.  Convert A$ into a picture box and display.
  135. CommandOr_Click
  136.  Make sure strings are correct size to hold bitmap info.
  137.   The following code works only if all three bitmaps are the
  138.   same size.
  139. Bitmap too large to store!
  140.  Fill A$ and B$ with the bitmaps in PictureA and PicutreB, respectively.
  141.  Or the pixels in A$ with those in B$ to create RESULT$ 
  142.  Convert the RESULT$ into a picture box and display it.e
  143.