ShowWindDlg example for C++ Builder
void __fastcall TForm1::ShowWindDlg1Click(TObject *Sender)
{
L_INT nRet;
LEADDlgImgEffect1->Angle = 4500;
LEADDlgImgEffect1->Dimension = 40;
LEADDlgImgEffect1->DlgFlags = DLG_WIND_SHOW_PREVIEW |
DLG_WIND_SHOW_TOOL_ZOOMLEVEL;
LEADDlgImgEffect1->LEADImage = LEADImage1;
nRet= LEADDlgImgEffect1->ShowWindDlg ( this );
if ( nRet == SUCCESS_DLG_OK )
{
LEADImage1->Wind (LEADDlgImgEffect1->Dimension,
LEADDlgImgEffect1->Angle,
LEADDlgImgEffect1->Opacity );
}
}