CButton *btnsample= (CButton *)GetDlgItem(IDC_BUTTON1); //suppose IDC_BUTTON1 is the ID of CButton btnsample->SetWindowText(_T(\"Lahore\"));
btnsample->SetWindowText(_T("Lahore"));