|
-
October 24th, 1999, 04:14 AM
#1
component control for modeless dialog
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---
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|