BOOL Cto_sting_intDlg::OnInitDialog()
{
CDialogEx::OnInitDialog();
ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX);
ASSERT(IDM_ABOUTBOX < 0xF000);
CMenu* pSysMenu = GetSystemMenu(FALSE);
if (pSysMenu != NULL)
{
BOOL bNameValid;
CString strAboutMenu;
bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX);
ASSERT(bNameValid);
if (!strAboutMenu.IsEmpty())
{
pSysMenu->AppendMenu(MF_SEPARATOR);
pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu);
}
}
SetIcon(m_hIcon, TRUE);
SetIcon(m_hIcon, FALSE);
std::string mystring = "";
int nCount = 99;
mystring = std::to_string(static_cast<long long>(nCount));
LPCTSTR mystr = (LPCTSTR)mystring.c_str();
LPTSTR mystr3 = (LPTSTR)mystring.c_str();
const char* mystr2 = NULL;
mystr2 = mystring.c_str();
LPCTSTR mystr4 = (LPCTSTR) mystr2;
MYSTATIC.SetWindowText(mystr);
return TRUE;
}