Click here to Skip to main content
15,892,517 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Help~!! how to set a dialog to be modal dialog??? Pin
Hamid_RT14-Aug-06 21:34
Hamid_RT14-Aug-06 21:34 
GeneralRe: Help~!! how to set a dialog to be modal dialog??? Pin
mimimimilaw14-Aug-06 21:50
mimimimilaw14-Aug-06 21:50 
GeneralRe: Help~!! how to set a dialog to be modal dialog??? Pin
Hamid_RT14-Aug-06 22:15
Hamid_RT14-Aug-06 22:15 
QuestionWIN CE 4.2 Emulator [modified] Pin
SFTP14-Aug-06 20:52
SFTP14-Aug-06 20:52 
AnswerRe: WIN CE 4.2 Emulator Pin
Mike Dimmick15-Aug-06 1:39
Mike Dimmick15-Aug-06 1:39 
GeneralRe: WIN CE 4.2 Emulator Pin
SFTP15-Aug-06 17:43
SFTP15-Aug-06 17:43 
GeneralRe: WIN CE 4.2 Emulator Pin
SFTP15-Aug-06 17:44
SFTP15-Aug-06 17:44 
Questionif is someone who can help me? PLEASE!!!!!! Pin
Bravoone_200614-Aug-06 20:33
Bravoone_200614-Aug-06 20:33 
I want to load data from my database in my CListCtrl fast ! How ?

I remind you i want all the data to be loaded like my code if you now how please help me ! I will wait your answer because i don t have any ideea how ( now i wait 3 - > 10 min. to load my data in my CListCtrl )!

this is my code :

void CMyList::FillList()
{

CDataBase22 *pDataBase22 = new CDataBase22();
pDataBase22->Open();
CString sName;
if (pDataBase22->GetRecordCount())
pDataBase22->MoveFirst();
while(!pDataBase22->IsEOF())
{
int nItem = m_list.GetItemCount();
sName.Format("%d",pDataBase22->m_name);
m_list.InsertItem(nItem,sName);

m_list.SetItemText(nItem,0,pDataBase22->m_name);
m_list.SetItemText(nItem,1,pDataBase22->m_city);

pDataBase22->MoveNext();
}
pDataBase22->Close();
}


PLEASE HELP ME !!!!!!!!
Please give me an example !

Bravoone

QuestionRe: if is someone who can help me? PLEASE!!!!!! Pin
Bravoone_200614-Aug-06 20:57
Bravoone_200614-Aug-06 20:57 
AnswerRe: if is someone who can help me? PLEASE!!!!!! Pin
Naveen14-Aug-06 21:09
Naveen14-Aug-06 21:09 
QuestionRe: if is someone who can help me? PLEASE!!!!!! Pin
Bravoone_200614-Aug-06 21:27
Bravoone_200614-Aug-06 21:27 
AnswerRe: if is someone who can help me? PLEASE!!!!!! Pin
Naveen14-Aug-06 21:58
Naveen14-Aug-06 21:58 
AnswerRe: if is someone who can help me? PLEASE!!!!!! Pin
Hamid_RT14-Aug-06 21:35
Hamid_RT14-Aug-06 21:35 
GeneralRe: if is someone who can help me? PLEASE!!!!!! Pin
Bravoone_200614-Aug-06 21:39
Bravoone_200614-Aug-06 21:39 
GeneralRe: if is someone who can help me? PLEASE!!!!!! Pin
Hamid_RT14-Aug-06 21:45
Hamid_RT14-Aug-06 21:45 
AnswerRe: if is someone who can help me? PLEASE!!!!!! Pin
Bravoone_200614-Aug-06 21:58
Bravoone_200614-Aug-06 21:58 
GeneralRe: if is someone who can help me? PLEASE!!!!!! Pin
Hamid_RT14-Aug-06 22:08
Hamid_RT14-Aug-06 22:08 
QuestionRe: if is someone who can help me? PLEASE!!!!!! Pin
Bravoone_200614-Aug-06 22:17
Bravoone_200614-Aug-06 22:17 
AnswerRe: if is someone who can help me? PLEASE!!!!!! Pin
Hamid_RT14-Aug-06 22:32
Hamid_RT14-Aug-06 22:32 
GeneralRe: if is someone who can help me? PLEASE!!!!!! Pin
Bravoone_200614-Aug-06 22:41
Bravoone_200614-Aug-06 22:41 
QuestionRe: if is someone who can help me? PLEASE!!!!!! Pin
Bravoone_200614-Aug-06 23:07
Bravoone_200614-Aug-06 23:07 
AnswerRe: if is someone who can help me? PLEASE!!!!!! Pin
Hamid_RT14-Aug-06 23:32
Hamid_RT14-Aug-06 23:32 
GeneralRe: if is someone who can help me? PLEASE!!!!!! Pin
Bravoone_200614-Aug-06 23:44
Bravoone_200614-Aug-06 23:44 
QuestionRe: if is someone who can help me? PLEASE!!!!!! Pin
Bravoone_200615-Aug-06 1:00
Bravoone_200615-Aug-06 1:00 
AnswerRe: if is someone who can help me? PLEASE!!!!!! Pin
Hamid_RT15-Aug-06 8:13
Hamid_RT15-Aug-06 8:13 

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.