Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWindow's API errors Pin
29-Oct-01 9:11
suss29-Oct-01 9:11 
GeneralRe: Window's API errors Pin
Christian Graus29-Oct-01 9:20
protectorChristian Graus29-Oct-01 9:20 
GeneralRe: Window's API errors Pin
Michael P Butler29-Oct-01 9:20
Michael P Butler29-Oct-01 9:20 
GeneralAccess 2000, DAO version ... Pin
Hadi Rezaee29-Oct-01 7:55
Hadi Rezaee29-Oct-01 7:55 
GeneralRe: Access 2000, DAO version ... Pin
Carlos Antollini29-Oct-01 8:51
Carlos Antollini29-Oct-01 8:51 
GeneralRe: Access 2000, DAO version ... Pin
Steen Krogsgaard29-Oct-01 22:37
Steen Krogsgaard29-Oct-01 22:37 
GeneralRe: Access 2000, DAO version ... Pin
Steen Krogsgaard29-Oct-01 22:37
Steen Krogsgaard29-Oct-01 22:37 
GeneralDebug assertion failed getting itemtext from listview Pin
Kuniva29-Oct-01 7:28
Kuniva29-Oct-01 7:28 
I wanted to get the text from an item in a listview control on my main dialog window but it gives me a debug assertion error:

CMyDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
CString Data = dlg.m_MyListcontrol.GetItemText(0,1);
}

Any ideas why??
The item in the list control exists, no doubt about that but is it maybe because the main window has already closed or something?
How do i do this?

Thanks


Kuniva
GeneralRe: Debug assertion failed getting itemtext from listview Pin
J Patel29-Oct-01 7:56
J Patel29-Oct-01 7:56 
GeneralRe: Debug assertion failed getting itemtext from listview Pin
Alvaro Mendez29-Oct-01 9:45
Alvaro Mendez29-Oct-01 9:45 
GeneralRe: Debug assertion failed getting itemtext from listview Pin
J Patel29-Oct-01 7:57
J Patel29-Oct-01 7:57 
GeneralON_EVENT Pin
29-Oct-01 6:46
suss29-Oct-01 6:46 
GeneralPainting an icon into bitmap Pin
krausest29-Oct-01 5:57
krausest29-Oct-01 5:57 
Generalgetting listview item text Pin
Kuniva29-Oct-01 5:56
Kuniva29-Oct-01 5:56 
GeneralRe: getting listview item text Pin
Carlos Antollini29-Oct-01 6:09
Carlos Antollini29-Oct-01 6:09 
Questionc++ forums/contacts and help? Pin
CrazyJim29-Oct-01 5:37
CrazyJim29-Oct-01 5:37 
AnswerRe: c++ forums/contacts and help? Pin
Carlos Antollini29-Oct-01 5:50
Carlos Antollini29-Oct-01 5:50 
GeneralRe: c++ forums/contacts and help? Pin
CrazyJim29-Oct-01 7:39
CrazyJim29-Oct-01 7:39 
GeneralRe: c++ forums/contacts and help? Pin
Carlos Antollini29-Oct-01 7:51
Carlos Antollini29-Oct-01 7:51 
GeneralRe: c++ forums/contacts and help? Pin
Tomasz Sowinski29-Oct-01 9:32
Tomasz Sowinski29-Oct-01 9:32 
AnswerRe: c++ forums/contacts and help? Pin
Rassman30-Oct-01 3:12
Rassman30-Oct-01 3:12 
Generalcreating a special window Pin
29-Oct-01 5:34
suss29-Oct-01 5:34 
GeneralRe: creating a special window Pin
Carlos Antollini29-Oct-01 5:56
Carlos Antollini29-Oct-01 5:56 
GeneralRe: creating a special window Pin
29-Oct-01 7:07
suss29-Oct-01 7:07 
GeneralRe: creating a special window Pin
Carlos Antollini29-Oct-01 7:15
Carlos Antollini29-Oct-01 7:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.