CaptureOptionDlg Example for Builder 3.0
void __fastcall TForm1::Button2Click(TObject *Sender)
{
L_INT nRet;
//disable errors to check for cancel
LEADScr1->EnableMethodErrors= false;
LEADScr1->ShowHelpButton= true;
//display capture option dialog
nRet= LEADScr1->CaptureOptionDlg( this, 0 );
if ( nRet != SUCCESS )
{
if ( nRet != ERROR_USER_ABORT )
ShowMessage ( "Error setting options!" );
}
}
void __fastcall TForm1::LEADScr1ScreenDlgHelp(DWORD uDialogID, int nCtlID)
{
// set your code here
}