Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: ListBox Pin
C++NewBe10-Apr-08 4:50
C++NewBe10-Apr-08 4:50 
GeneralRe: ListBox Pin
krmed10-Apr-08 4:55
krmed10-Apr-08 4:55 
GeneralRe: ListBox Pin
CPallini10-Apr-08 4:57
mveCPallini10-Apr-08 4:57 
GeneralRe: ListBox Pin
Hamid_RT11-Apr-08 7:17
Hamid_RT11-Apr-08 7:17 
QuestionRe: ListBox Pin
David Crow11-Apr-08 10:45
David Crow11-Apr-08 10:45 
GeneralRe: ListBox Pin
Hamid_RT11-Apr-08 19:34
Hamid_RT11-Apr-08 19:34 
GeneralInternet Connection Sharing (ICS) Questions Pin
Member 427710410-Apr-08 3:19
Member 427710410-Apr-08 3:19 
GeneralProcess output Pin
Jim Crafton10-Apr-08 3:18
Jim Crafton10-Apr-08 3:18 
GeneralRe: Process output Pin
CPallini10-Apr-08 3:31
mveCPallini10-Apr-08 3:31 
GeneralRe: Process output Pin
James R. Twine10-Apr-08 6:59
James R. Twine10-Apr-08 6:59 
GeneralRe: Process output Pin
Jim Crafton10-Apr-08 9:40
Jim Crafton10-Apr-08 9:40 
GeneralRe: Process output [modified] Pin
James R. Twine10-Apr-08 13:56
James R. Twine10-Apr-08 13:56 
QuestionRe: Process output Pin
David Crow10-Apr-08 3:45
David Crow10-Apr-08 3:45 
GeneralRe: Process output Pin
Jim Crafton10-Apr-08 9:37
Jim Crafton10-Apr-08 9:37 
GeneralRe: Process output Pin
David Crow10-Apr-08 9:45
David Crow10-Apr-08 9:45 
Generalunresolved external symbol Pin
Le@rner10-Apr-08 2:25
Le@rner10-Apr-08 2:25 

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.