Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

cannot acces a new DialogBox

$
0
0

Hi there,

I'm a beginner and am woking on an MFC application, starting from one Dialog I want to create another dialog in whitch I want to display a data in an edit box. But  I can never do it because as soos as I call the new cerated Dialog I hav an assert fail.

this is the code:

CAddItem dlgAddItem(

this);

dlgAddItem.m_Label.SetWindowText(_T(

"Disconnected"));// here I have the assert

intnRetCode = dlgAddItem.DoModal();

Thank you for your help


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>