Click here to Skip to main content
15,913,685 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to create shiny silver color for the background of the MFC dialog?? Pin
Hamid_RT12-Apr-08 5:32
Hamid_RT12-Apr-08 5:32 
QuestionStick with Crystal Reports of look for alternatives? Pin
Anders Gustafsson10-Apr-08 5:30
Anders Gustafsson10-Apr-08 5:30 
GeneralCList destructor Pin
piul10-Apr-08 4:59
piul10-Apr-08 4:59 
GeneralRe: CList destructor Pin
Cedric Moonen10-Apr-08 5:03
Cedric Moonen10-Apr-08 5:03 
GeneralRe: CList destructor Pin
piul10-Apr-08 5:06
piul10-Apr-08 5:06 
GeneralRe: CList destructor Pin
David Crow10-Apr-08 5:32
David Crow10-Apr-08 5:32 
GeneralRe: CList destructor Pin
piul10-Apr-08 5:26
piul10-Apr-08 5:26 
GeneralRe: CList destructor Pin
CPallini10-Apr-08 5:58
mveCPallini10-Apr-08 5:58 
GeneralRe: CList destructor Pin
bob1697210-Apr-08 8:23
bob1697210-Apr-08 8:23 
QuestionRe: CList destructor Pin
CPallini10-Apr-08 21:23
mveCPallini10-Apr-08 21:23 
GeneralRe: CList destructor Pin
bob1697211-Apr-08 18:31
bob1697211-Apr-08 18:31 
GeneralRe: CList destructor Pin
CPallini11-Apr-08 20:39
mveCPallini11-Apr-08 20:39 
GeneralRe: CList destructor Pin
Moak17-Apr-08 0:31
Moak17-Apr-08 0:31 
QuestionCan we have our application as _UNICODE supported as well _MBCS supported? Pin
ganesa moorthy10-Apr-08 4:56
ganesa moorthy10-Apr-08 4:56 
GeneralRe: Can we have our application as _UNICODE supported as well _MBCS supported? Pin
Mark Salsbery10-Apr-08 5:53
Mark Salsbery10-Apr-08 5:53 
GeneralRe: Can we have our application as _UNICODE supported as well _MBCS supported? Pin
led mike10-Apr-08 8:11
led mike10-Apr-08 8:11 
QuestionRe: Can we have our application as _UNICODE supported as well _MBCS supported? Pin
ganesa moorthy10-Apr-08 21:04
ganesa moorthy10-Apr-08 21:04 
GeneralRe: Can we have our application as _UNICODE supported as well _MBCS supported? Pin
Mark Salsbery11-Apr-08 5:48
Mark Salsbery11-Apr-08 5:48 
GeneralRe: Can we have our application as _UNICODE supported as well _MBCS supported? Pin
ganesa moorthy14-Apr-08 21:01
ganesa moorthy14-Apr-08 21:01 
QuestionListBox Pin
C++NewBe10-Apr-08 3:26
C++NewBe10-Apr-08 3:26 
QuestionRe: ListBox Pin
CPallini10-Apr-08 3:33
mveCPallini10-Apr-08 3:33 
GeneralRe: ListBox Pin
C++NewBe10-Apr-08 3:41
C++NewBe10-Apr-08 3:41 
GeneralRe: ListBox Pin
CPallini10-Apr-08 4:37
mveCPallini10-Apr-08 4:37 
GeneralRe: ListBox Pin
Cedric Moonen10-Apr-08 3:36
Cedric Moonen10-Apr-08 3:36 
If you do that in one single thread, the UI won't be able to process messages anymore (because the main thread is busy in your loop). This way, it will freeze and process the messages only when you exit the loop.

The way to solve this problem is either to create a worker thread that will send a message to the GUI each time a new item should be added in the list, or you can extract messages yourself from the queue and process them (GetMessage and DispatchMessage, see here[^] for some info).

Cédric Moonen
Software developer

Charting control [v1.3]

GeneralRe: ListBox Pin
krmed10-Apr-08 3:43
krmed10-Apr-08 3:43 

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.