October 24th, 1999, 04:14 AM
hi all..
in my dialog based project I am using a modeless dialog and there is a label box in that dialog..From my main dialog, I am trying to pass a string to that label box after pushing the button ..But I can see nothing in the label box...Simply, my source code is:
CMainDlg::OnButton1()
{
CModeless *p;
p->m_display="sample"; //m_display=member variable for label box
UpdateData(FALSE);
but I see nothing in the label box which is located in the modeless box..
I am looking forward to your suggestions...
Thanks in advance---
in my dialog based project I am using a modeless dialog and there is a label box in that dialog..From my main dialog, I am trying to pass a string to that label box after pushing the button ..But I can see nothing in the label box...Simply, my source code is:
CMainDlg::OnButton1()
{
CModeless *p;
p->m_display="sample"; //m_display=member variable for label box
UpdateData(FALSE);
but I see nothing in the label box which is located in the modeless box..
I am looking forward to your suggestions...
Thanks in advance---