Click here to Skip to main content
16,008,075 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using structure in Timer Pin
Anu_Bala16-Jun-08 22:11
Anu_Bala16-Jun-08 22:11 
GeneralRe: Using structure in Timer Pin
Jijo.Raj16-Jun-08 23:15
Jijo.Raj16-Jun-08 23:15 
GeneralRe: Using structure in Timer Pin
Anu_Bala16-Jun-08 23:22
Anu_Bala16-Jun-08 23:22 
GeneralRe: Using structure in Timer Pin
Jijo.Raj16-Jun-08 23:31
Jijo.Raj16-Jun-08 23:31 
GeneralRe: Using structure in Timer Pin
Anu_Bala16-Jun-08 23:28
Anu_Bala16-Jun-08 23:28 
GeneralRe: Using structure in Timer Pin
Jijo.Raj16-Jun-08 23:32
Jijo.Raj16-Jun-08 23:32 
GeneralRe: Using structure in Timer Pin
Anu_Bala16-Jun-08 23:42
Anu_Bala16-Jun-08 23:42 
GeneralRe: Using structure in Timer Pin
David Crow17-Jun-08 4:29
David Crow17-Jun-08 4:29 
While it likely has nothing to do with your problem, your code needs a few changes:

CString ListBoxStr;
for(int i = 0; i < nosize; i++)
{
    ListBoxStr.Format("%d", i+1);
    int n = pCtrl->InsertItem(i, ListBoxStr); // even if ListBoxStr is a char, you don't need the CString cast
    ListBoxStr.Format("%s", rptime[i]);
    pCtrl->SetItemText(n, 1, ListBoxStr);
}


"Love people and use things, not love things and use people." - Unknown

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


QuestionVLC player Pin
projectip16-Jun-08 18:08
projectip16-Jun-08 18:08 
AnswerRe: VLC player Pin
Hamid_RT16-Jun-08 20:10
Hamid_RT16-Jun-08 20:10 
Questionoptional/overloaded member function template parameter Pin
zildjohn0116-Jun-08 16:00
zildjohn0116-Jun-08 16:00 
AnswerRe: optional/overloaded member function template parameter Pin
zildjohn0117-Jun-08 2:09
zildjohn0117-Jun-08 2:09 
QuestionDetermining the "default" name server, like nslookup.exe does Pin
Dale Fugier16-Jun-08 14:00
Dale Fugier16-Jun-08 14:00 
QuestionSame code takes different times!! Pin
Kiran Satish16-Jun-08 12:16
Kiran Satish16-Jun-08 12:16 
AnswerRe: Same code takes different times!! Pin
zildjohn0116-Jun-08 16:01
zildjohn0116-Jun-08 16:01 
GeneralRe: Same code takes different times!! Pin
Kiran Satish16-Jun-08 16:19
Kiran Satish16-Jun-08 16:19 
AnswerRe: Same code takes different times!! Pin
Alan Balkany17-Jun-08 5:02
Alan Balkany17-Jun-08 5:02 
GeneralRe: Same code takes different times!! Pin
Kiran Satish18-Jun-08 8:51
Kiran Satish18-Jun-08 8:51 
GeneralRe: Same code takes different times!! Pin
Alan Balkany19-Jun-08 3:22
Alan Balkany19-Jun-08 3:22 
QuestionWinSock Remote Connection Pin
Knight Rider16-Jun-08 11:29
Knight Rider16-Jun-08 11:29 
Questionwin32 user-drawn menus Pin
greghint16-Jun-08 6:33
greghint16-Jun-08 6:33 
AnswerRe: win32 user-drawn menus Pin
James R. Twine16-Jun-08 8:01
James R. Twine16-Jun-08 8:01 
GeneralRe: win32 user-drawn menus Pin
greghint16-Jun-08 9:25
greghint16-Jun-08 9:25 
GeneralRe: win32 user-drawn menus Pin
zildjohn0117-Jun-08 2:09
zildjohn0117-Jun-08 2:09 
GeneralRe: win32 user-drawn menus Pin
greghint17-Jun-08 9:35
greghint17-Jun-08 9:35 

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.