DblClick example for C++ Builder

This example demonstrates the DblClick event.

void __fastcall TForm1::LEADRasterView1DblClick (TObject *Sender)
{
   LEADRasterProcess* pRasterProc= NULL;
     CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&pRasterProc);

   pRasterProc->Flip (LEADRasterView1->Raster); //Just test the event
   LEADRasterView1->ForceRepaint ();

   pRasterProc-> Release( );
}