At least I have started my first non-console MFC application
The first problem I have stroked against - how to initialize dynamically controls of the dialog window.
Under MSVC 6.0 I have created a message box resource IDD_MSGBOX with static text control IDC_STATIC on it. Following found examples the initialization of that control could be like following:
BOOL C_my_msg_box::OnInitDialog()
{
CDialog::OnInitDialog();
m_strTitle="Hello, world";
return TRUE;
}
But I don't see a way to connect an element of dialog class C_my_msg_box::m_strTitle to real data displayed on the control.
Thank you.
Under MSVC 6.0 I have created a message box resource IDD_MSGBOX with static text control IDC_STATIC on it. Following found examples the initialization of that control could be like following:
BOOL C_my_msg_box::OnInitDialog()
{
CDialog::OnInitDialog();
m_strTitle="Hello, world";
return TRUE;
}
But I don't see a way to connect an element of dialog class C_my_msg_box::m_strTitle to real data displayed on the control.
Thank you.