ReadyState Example for C++ Builder

This example shows how to use the ReadyState property to test whether an asynchronous load is in progress.

if (pRasterIO->ReadyState == RASTER_READYSTATE_LOADING)
   ShowMessage ("Still loading the image");