Click here to Skip to main content
15,902,112 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How don't let run a program from another Pin
doctorpi12-Jun-07 21:10
doctorpi12-Jun-07 21:10 
Questionspamassassin(execute another process not executing) Pin
_tasleem12-Jun-07 6:49
_tasleem12-Jun-07 6:49 
QuestionRe: spamassassin(execute another process not executing) Pin
David Crow12-Jun-07 7:05
David Crow12-Jun-07 7:05 
AnswerRe: spamassassin(execute another process not executing) Pin
_tasleem12-Jun-07 9:43
_tasleem12-Jun-07 9:43 
QuestionRe: spamassassin(execute another process not executing) Pin
David Crow12-Jun-07 10:26
David Crow12-Jun-07 10:26 
AnswerRe: spamassassin(execute another process not executing) Pin
_tasleem13-Jun-07 3:45
_tasleem13-Jun-07 3:45 
QuestionRe: spamassassin(execute another process not executing) Pin
David Crow13-Jun-07 3:52
David Crow13-Jun-07 3:52 
QuestionList ctrl blinking items problem Pin
eli1502197912-Jun-07 6:28
eli1502197912-Jun-07 6:28 
Hi,

I'm facing an annoying problem while using a list control.
In my project,I have a list control which I need to update every 250msec(the list of items is
a dynamic list).
In order to update the list control, I delete all of the items in the list control and insert the new items to the list.
As a result,the list control is blinking.

I'm using the following peace of code

m_list.SetRedraw(FALSE);
m_list.deleteAllItems();
for(int nIndex = 0 ; nIndex < ItemsList.GetSize() ; nIndex++)
{
    m_list.InsertItem(nIndex , _T(""));
    m_list.SetItem(nIndex , 0 , ItemsList.RemoveHead().GetName());
    m_list.SetItem(nIndex , 0 , ItemsList.RemoveHead().GetIP());
}
m_list.SetRedraw(TRUE);


I tried to pdause LockWindowUpdate() and UnlockWindowUpdate() instead of SetRedraw()
but the items continue to blink.

Is there a better way to update the list without blinking???
HELP!!!!!Cry | :((

With bes regards,
Eli
AnswerRe: List ctrl blinking items problem [modified] Pin
Max Santos12-Jun-07 7:12
Max Santos12-Jun-07 7:12 
AnswerRe: List ctrl blinking items problem Pin
Mark Salsbery12-Jun-07 8:13
Mark Salsbery12-Jun-07 8:13 
GeneralRe: List ctrl blinking items problem Pin
eli1502197912-Jun-07 19:54
eli1502197912-Jun-07 19:54 
GeneralRe: List ctrl blinking items problem Pin
Mark Salsbery12-Jun-07 22:03
Mark Salsbery12-Jun-07 22:03 
QuestionGarbage in String Pin
Programm3r12-Jun-07 6:10
Programm3r12-Jun-07 6:10 
AnswerRe: Garbage in String Pin
David Crow12-Jun-07 6:51
David Crow12-Jun-07 6:51 
QuestionRe: Garbage in String Pin
Programm3r12-Jun-07 7:27
Programm3r12-Jun-07 7:27 
QuestionRe: Garbage in String Pin
David Crow12-Jun-07 7:33
David Crow12-Jun-07 7:33 
GeneralRe: Garbage in String Pin
Programm3r12-Jun-07 7:49
Programm3r12-Jun-07 7:49 
AnswerRe: Garbage in String Pin
toxcct12-Jun-07 16:30
toxcct12-Jun-07 16:30 
QuestionDraggable objects Pin
Perspx12-Jun-07 5:55
Perspx12-Jun-07 5:55 
Questionmicrosoft forms 2.0 textbox Pin
attiass12-Jun-07 5:35
attiass12-Jun-07 5:35 
QuestionSelect a row in List control with code? Pin
ldsdbomber12-Jun-07 4:35
ldsdbomber12-Jun-07 4:35 
AnswerRe: Select a row in List control with code? Pin
David Crow12-Jun-07 4:48
David Crow12-Jun-07 4:48 
GeneralRe: Select a row in List control with code? Pin
ldsdbomber12-Jun-07 4:57
ldsdbomber12-Jun-07 4:57 
GeneralRe: Select a row in List control with code? Pin
David Crow12-Jun-07 5:04
David Crow12-Jun-07 5:04 
GeneralRe: Select a row in List control with code? Pin
Max Santos12-Jun-07 6:07
Max Santos12-Jun-07 6:07 

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.