Click here to Skip to main content
16,012,153 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: threadcreation Pin
Jijo.Raj11-Jun-08 2:56
Jijo.Raj11-Jun-08 2:56 
AnswerRe: threadcreation Pin
CPallini11-Jun-08 1:39
mveCPallini11-Jun-08 1:39 
AnswerRe: threadcreation Pin
achainard11-Jun-08 2:02
achainard11-Jun-08 2:02 
GeneralRe: threadcreation Pin
Mohanraj D11-Jun-08 2:30
Mohanraj D11-Jun-08 2:30 
GeneralRe: threadcreation Pin
achainard11-Jun-08 3:58
achainard11-Jun-08 3:58 
GeneralRe: threadcreation Pin
Mohanraj D11-Jun-08 20:36
Mohanraj D11-Jun-08 20:36 
GeneralRe: threadcreation Pin
achainard12-Jun-08 3:52
achainard12-Jun-08 3:52 
QuestionOnTImer in CListCtrl [modified] Pin
Anu_Bala11-Jun-08 1:02
Anu_Bala11-Jun-08 1:02 
Hi,

I have display the system timings in ListCtrl using OnTimer().
But when the scrollbar appearing in ListCtrl then the ListCtrl is getting shaked or vibrating liek that.
Whats the reason? My Ontimer coding is

CListCtrl *pCtrl = (CListCtrl*)GetDlgItem(IDC_REPLAYLIST);
char ListBoxStr[50];
CString now;
CTime time;
static int j=1;
int index = 0;

pCtrl->DeleteAllItems();
for(int i=0;i<=nosize;i++)>
{
sprintf(ListBoxStr,"%d",i+1);
pCtrl->InsertItem(i,(CString)ListBoxStr);
sprintf(ListBoxStr,"%s",rptime[i]);
pCtrl->SetItemText(i,1,(CString)ListBoxStr);
}

Initially nosize is zero.And then it incesed in thread function up to 100.

Anu

modified on Wednesday, June 11, 2008 7:15 AM

AnswerRe: OnTImer in CListCtrl Pin
Jijo.Raj11-Jun-08 1:22
Jijo.Raj11-Jun-08 1:22 
GeneralRe: OnTImer in CListCtrl Pin
Anu_Bala11-Jun-08 1:48
Anu_Bala11-Jun-08 1:48 
GeneralRe: OnTImer in CListCtrl Pin
Jijo.Raj11-Jun-08 2:04
Jijo.Raj11-Jun-08 2:04 
Questionsnapshot code Pin
projectip11-Jun-08 0:08
projectip11-Jun-08 0:08 
AnswerRe: snapshot code Pin
Hamid_RT11-Jun-08 1:16
Hamid_RT11-Jun-08 1:16 
QuestionCapture control Pin
capint11-Jun-08 0:05
capint11-Jun-08 0:05 
AnswerRe: Capture control Pin
achainard11-Jun-08 2:12
achainard11-Jun-08 2:12 
AnswerRe: Capture control Pin
Nibu babu thomas11-Jun-08 2:14
Nibu babu thomas11-Jun-08 2:14 
GeneralRe: Capture control Pin
capint11-Jun-08 3:02
capint11-Jun-08 3:02 
GeneralRe: Capture control Pin
Nibu babu thomas11-Jun-08 3:05
Nibu babu thomas11-Jun-08 3:05 
QuestionHow to use "IOlkAccount" and other outklook related interfaces through VC++ Pin
Vikash Singh10-Jun-08 23:09
Vikash Singh10-Jun-08 23:09 
QuestionConvert int to wstring Pin
CodingLover10-Jun-08 22:34
CodingLover10-Jun-08 22:34 
AnswerRe: Convert int to wstring Pin
Naveen10-Jun-08 22:36
Naveen10-Jun-08 22:36 
NewsRe: Convert int to wstring Pin
CodingLover10-Jun-08 22:44
CodingLover10-Jun-08 22:44 
GeneralRe: Convert int to wstring Pin
Cedric Moonen10-Jun-08 22:56
Cedric Moonen10-Jun-08 22:56 
GeneralRe: Convert int to wstring Pin
CodingLover10-Jun-08 23:02
CodingLover10-Jun-08 23:02 
AnswerRe: Convert int to wstring Pin
Cedric Moonen10-Jun-08 22:39
Cedric Moonen10-Jun-08 22:39 

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.