|
case IDM_REF:
// Dlg2.Open( this, IDD_DIALOG2 );
{
LboxString LWork;
DWORD ret;
ret = MyRef.Syain->Open( this, IDD_DIALOG2 );
if ( ret != IDCANCEL ) {
this->EditSetText( IDC_KEY, &MyRef.Syain->Key );
this->Type->SelectedGetData( &LWork );
if ( LWork.operator == ("1") ) {
this->Type->Select( 1 );
}
this->PostCommand( IDC_CHECK );
}
}
break;
| |