CStringの内容が全部数字かどうか確認する

// strにチェック前文字列が入っています。
CString res = str.SpanIncluding("0123456789");
if(res == str){
  AfxMessageBox(_T("これは数字なり〜"));
}