Click here to Skip to main content
15,884,388 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: sending structure data on tcp socket Pin
Rajesh R Subramanian21-Mar-09 4:33
professionalRajesh R Subramanian21-Mar-09 4:33 
GeneralRe: sending structure data on tcp socket Pin
CPallini21-Mar-09 5:11
mveCPallini21-Mar-09 5:11 
QuestionHow to add Message Handler(MESSAGE_MAP) for generic class? Pin
Abhijit D. Babar21-Mar-09 2:31
Abhijit D. Babar21-Mar-09 2:31 
QuestionWant to give an image on a button Pin
m_mun21-Mar-09 1:47
m_mun21-Mar-09 1:47 
AnswerRe: Want to give an image on a button Pin
CPallini21-Mar-09 3:26
mveCPallini21-Mar-09 3:26 
Question2500 item in list control Pin
VCProgrammer21-Mar-09 1:37
VCProgrammer21-Mar-09 1:37 
AnswerRe: 2500 item in list control Pin
Luc Pattyn21-Mar-09 2:05
sitebuilderLuc Pattyn21-Mar-09 2:05 
AnswerRe: 2500 item in list control Pin
Michael Schubert21-Mar-09 2:09
Michael Schubert21-Mar-09 2:09 
You could process messages from time to time in order to keep the UI alive, something like this:

MSG msg;
while (::PeekMessage(&msg, 0, 0, 0, PM_NOREMOVE))
{
    if (!(AfxGetApp()->PumpMessage()))
    {
        ::PostQuitMessage(0);
            break;
    }
}


Don't know why your app is using so much memory, 2500 items isn't that much...
GeneralRe: 2500 item in list control Pin
Cedric Moonen21-Mar-09 2:12
Cedric Moonen21-Mar-09 2:12 
GeneralRe: 2500 item in list control Pin
VCProgrammer21-Mar-09 2:20
VCProgrammer21-Mar-09 2:20 
GeneralRe: 2500 item in list control Pin
Michael Schubert21-Mar-09 2:51
Michael Schubert21-Mar-09 2:51 
GeneralRe: 2500 item in list control Pin
Michael Schubert21-Mar-09 2:23
Michael Schubert21-Mar-09 2:23 
AnswerRe: 2500 item in list control Pin
followait21-Mar-09 2:35
followait21-Mar-09 2:35 
AnswerRe: 2500 item in list control Pin
Rajesh R Subramanian21-Mar-09 4:23
professionalRajesh R Subramanian21-Mar-09 4:23 
QuestionFailed to add precompiled header manually Pin
followait21-Mar-09 1:31
followait21-Mar-09 1:31 
AnswerRe: Failed to add precompiled header manually Pin
norish21-Mar-09 2:03
norish21-Mar-09 2:03 
GeneralRe: Failed to add precompiled header manually Pin
followait21-Mar-09 2:27
followait21-Mar-09 2:27 
QuestionDrawing dots and checking coordinates Pin
mass8521-Mar-09 0:45
mass8521-Mar-09 0:45 
AnswerRe: Drawing dots and checking coordinates Pin
Cedric Moonen21-Mar-09 1:04
Cedric Moonen21-Mar-09 1:04 
GeneralRe: Drawing dots and checking coordinates Pin
mass8521-Mar-09 1:27
mass8521-Mar-09 1:27 
GeneralRe: Drawing dots and checking coordinates Pin
Cedric Moonen21-Mar-09 2:11
Cedric Moonen21-Mar-09 2:11 
GeneralRe: Drawing dots and checking coordinates Pin
mass8521-Mar-09 2:23
mass8521-Mar-09 2:23 
QuestionRe: Drawing dots and checking coordinates Pin
mass8523-Mar-09 2:02
mass8523-Mar-09 2:02 
QuestionRemoveDirectoryW() Pin
p_196021-Mar-09 0:39
p_196021-Mar-09 0:39 
AnswerRe: RemoveDirectoryW() Pin
Michael Schubert21-Mar-09 1:17
Michael Schubert21-Mar-09 1:17 

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.