Hi Graham,
Basically - I do a lot with MFC.Are you wedded to clunky old CString?
Below is probably more helpful...
Then,Code:CString s; CryptoPP::Integer n; s << n; SetEditWindowText( IDC_EDIT_MODULUS, n );JeffCode:VOID SetEditWindowText( UINT nID, const CString& szText ) { CEdit* pEdit = static_cast<CEdit*>( GetDlgItem( nID ) ); if( NULL != pEdit ) { pEdit->SetWindowText( szText ); } }




Reply With Quote