Click here to Skip to main content
15,915,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCompiling error Pin
Azzedine11-Nov-03 9:07
Azzedine11-Nov-03 9:07 
GeneralRe: Compiling error Pin
David Crow11-Nov-03 9:46
David Crow11-Nov-03 9:46 
QuestionReduce flicker in ListView ? Pin
_skidrow_vn_11-Nov-03 7:59
_skidrow_vn_11-Nov-03 7:59 
AnswerRe: Reduce flicker in ListView ? Pin
David Crow11-Nov-03 8:18
David Crow11-Nov-03 8:18 
GeneralRe: Reduce flicker in ListView ? Pin
Signal-911-Nov-03 8:39
Signal-911-Nov-03 8:39 
GeneralRe: Reduce flicker in ListView ? Pin
David Crow11-Nov-03 8:44
David Crow11-Nov-03 8:44 
GeneralRe: Reduce flicker in ListView ? Pin
Signal-911-Nov-03 11:40
Signal-911-Nov-03 11:40 
GeneralRe: Reduce flicker in ListView ? Pin
David Crow12-Nov-03 2:58
David Crow12-Nov-03 2:58 
CListView is already derived from CView. More control over the drawing is not required, and I did not mention anything about "overriding the CWnd class", however you would do that.

I'm assuming the OP had something akin to the following for populating the listview:

for (int x = 0; ...)
{
    listview.InsertItem(...);
}
Simply changing it to the following will keep the control from flickering:

listview.SetRedraw(FALSE);
for (int x = 0; ...)
{
    listview.InsertItem(...);
}
listview.SetRedraw(TRUE);




Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?

GeneralRe: Reduce flicker in ListView ? Pin
Signal-912-Nov-03 9:37
Signal-912-Nov-03 9:37 
Generalopening a web file Pin
doctorpi11-Nov-03 7:57
doctorpi11-Nov-03 7:57 
GeneralRe: opening a web file Pin
David Crow11-Nov-03 8:12
David Crow11-Nov-03 8:12 
GeneralRe: opening a web file Pin
doctorpi11-Nov-03 8:16
doctorpi11-Nov-03 8:16 
GeneralRe: opening a web file Pin
RaajaOfSelf11-Nov-03 22:40
RaajaOfSelf11-Nov-03 22:40 
GeneralRe: opening a web file Pin
Chris Hills12-Nov-03 23:07
Chris Hills12-Nov-03 23:07 
Generalopen a workbrook automation excel Pin
jerome_data11-Nov-03 7:55
jerome_data11-Nov-03 7:55 
GeneralRe: open a workbrook automation excel Pin
David Crow11-Nov-03 8:05
David Crow11-Nov-03 8:05 
GeneralRe: open a workbrook automation excel Pin
jerome_data11-Nov-03 8:13
jerome_data11-Nov-03 8:13 
Generalupdating system on environment variable changes Pin
Jim Crafton11-Nov-03 7:32
Jim Crafton11-Nov-03 7:32 
GeneralRe: updating system on environment variable changes Pin
David Crow11-Nov-03 8:01
David Crow11-Nov-03 8:01 
GeneralRe: updating system on environment variable changes Pin
Jim Crafton11-Nov-03 15:36
Jim Crafton11-Nov-03 15:36 
GeneralRe: updating system on environment variable changes Pin
David Crow12-Nov-03 3:00
David Crow12-Nov-03 3:00 
GeneralRe: updating system on environment variable changes Pin
Jim Crafton12-Nov-03 4:33
Jim Crafton12-Nov-03 4:33 
GeneralRe: updating system on environment variable changes Pin
David Crow12-Nov-03 5:01
David Crow12-Nov-03 5:01 
GeneralCDataGrid with GetValue Pin
vancouver77711-Nov-03 7:29
vancouver77711-Nov-03 7:29 
GeneralThreas Pin
VietDelphi11-Nov-03 6:19
VietDelphi11-Nov-03 6:19 

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.