Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Data parameter is the raw image data, and the Size parameter is the size of the Data in bytes. Make sure the size is accurate, or the image will not be loaded.

Example

Code Block
 // Read the raw image data and load it into the button 
Open "IMAGES" to ImagesTable then 
   Read ImageData from ImagesTable, "BUTTON1" then 
       rv = Send_Message(@Window:".OLE_BUTTON", "OLE.LoadRawImage", ImageData, Len(ImageData)) 
   end 
end

See Also

Icon