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

C / C++ / MFC

 
GeneralRe: modifying / patching / reverse engineering Pin
Alexander M.,29-Aug-03 5:39
Alexander M.,29-Aug-03 5:39 
GeneralRe: modifying / patching / reverse engineering Pin
Kuniva29-Aug-03 7:46
Kuniva29-Aug-03 7:46 
GeneralRe: modifying / patching / reverse engineering Pin
Kuniva29-Aug-03 8:41
Kuniva29-Aug-03 8:41 
GeneralPortability between WinCE and PC Pin
IceBerG7129-Aug-03 0:43
IceBerG7129-Aug-03 0:43 
QuestionHow to to change invalidate rect for WindowLess ActiveX ? Pin
vgrigor29-Aug-03 0:13
vgrigor29-Aug-03 0:13 
GeneralListView Pin
Atlence28-Aug-03 22:37
Atlence28-Aug-03 22:37 
GeneralRe: ListView Pin
Steve S29-Aug-03 2:14
Steve S29-Aug-03 2:14 
GeneralRe: ListView Pin
vcplusplus29-Aug-03 3:16
vcplusplus29-Aug-03 3:16 
Use SetRedraw();

MyListView.SetRedraw(FALSE);
...
...
Fill listview
...
...
MyListView.SetRedraw(TRUE);
MyListView.Invalidate();



Here is some documentation from MSDN Library
CWnd::SetRedraw
void SetRedraw( BOOL bRedraw = TRUE );

Parameters

bRedraw

Specifies the state of the redraw flag. If this parameter is TRUE, the redraw flag is set; if FALSE, the flag is cleared.

Remarks

An application calls SetRedraw to allow changes to be redrawn or to prevent changes from being redrawn.

This member function sets or clears the redraw flag. While the redraw flag is cleared, the contents will not be updated after each change and will not be repainted until the redraw flag is set. For example, an application that needs to add several items to a list box can clear the redraw flag, add the items, and then set the redraw flag. Finally, the application can call the Invalidate or InvalidateRect member function to cause the list box to be repainted.

GeneralBuffer Size Pin
IceBerG7128-Aug-03 22:10
IceBerG7128-Aug-03 22:10 
GeneralRe: Buffer Size Pin
Iain Clarke, Warrior Programmer28-Aug-03 22:34
Iain Clarke, Warrior Programmer28-Aug-03 22:34 
GeneralRe: Buffer Size Pin
Steve S28-Aug-03 22:37
Steve S28-Aug-03 22:37 
GeneralRe: Buffer Size Pin
IceBerG7128-Aug-03 22:47
IceBerG7128-Aug-03 22:47 
GeneralMFC File naming/version modifying Pin
Antti Keskinen28-Aug-03 21:56
Antti Keskinen28-Aug-03 21:56 
GeneralRe: MFC File naming/version modifying Pin
Steve S28-Aug-03 22:31
Steve S28-Aug-03 22:31 
GeneralRe: MFC File naming/version modifying Pin
Antti Keskinen29-Aug-03 8:15
Antti Keskinen29-Aug-03 8:15 
GeneralRe: MFC File naming/version modifying Pin
Steve S31-Aug-03 23:52
Steve S31-Aug-03 23:52 
GeneralRe: MFC File naming/version modifying Pin
Antti Keskinen1-Sep-03 7:04
Antti Keskinen1-Sep-03 7:04 
Questionhow to get the pointer to CMainFrame in a derived class? Pin
clack23428-Aug-03 20:50
clack23428-Aug-03 20:50 
AnswerRe: how to get the pointer to CMainFrame in a derived class? Pin
afj66628-Aug-03 21:14
afj66628-Aug-03 21:14 
GeneralRe: how to get the pointer to CMainFrame in a derived class? Pin
clack23428-Aug-03 21:42
clack23428-Aug-03 21:42 
GeneralRe: how to get the pointer to CMainFrame in a derived class? Pin
afj66628-Aug-03 21:53
afj66628-Aug-03 21:53 
GeneralRe: how to get the pointer to CMainFrame in a derived class? Pin
Iain Clarke, Warrior Programmer28-Aug-03 22:44
Iain Clarke, Warrior Programmer28-Aug-03 22:44 
AnswerRe: how to get the pointer to CMainFrame in a derived class? Pin
Bob Stanneveld29-Aug-03 4:25
Bob Stanneveld29-Aug-03 4:25 
GeneralBrowse Dlg Box Help!!!! Pin
Member 42425928-Aug-03 20:05
Member 42425928-Aug-03 20:05 
GeneralRe: Browse Dlg Box Help!!!! Pin
Kamesh28-Aug-03 23:23
Kamesh28-Aug-03 23:23 

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.