Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Allocation/Deallocation from Memory Pool [Solved] Pin
Gwenio16-Apr-10 9:21
Gwenio16-Apr-10 9:21 
QuestionCan we Insert table into SDI Application ? Pin
Khathar16-Apr-10 1:54
Khathar16-Apr-10 1:54 
AnswerRe: Can we Insert table into SDI Application ? Pin
Maximilien16-Apr-10 2:50
Maximilien16-Apr-10 2:50 
AnswerRe: Can we Insert table into SDI Application ? Pin
«_Superman_»16-Apr-10 6:47
professional«_Superman_»16-Apr-10 6:47 
QuestionCComboBox the max text length ?? Pin
Arrin16-Apr-10 0:28
Arrin16-Apr-10 0:28 
AnswerRe: CComboBox the max text length ?? SOLVED Pin
Arrin16-Apr-10 0:43
Arrin16-Apr-10 0:43 
QuestionWorker Thread GUI Pin
MsmVc15-Apr-10 22:21
MsmVc15-Apr-10 22:21 
AnswerRe: Worker Thread GUI Pin
Cedric Moonen15-Apr-10 22:33
Cedric Moonen15-Apr-10 22:33 
MsmVc wrote:
How can i solve GUI Problem?


Never never access GUI elements in another thread than the GUI thread. This is a recipe for disaster. One way to solve your problem is instead to access the static control directly in your thread, you simply send a user defined message to your dialog. In the handler of this message, you update your control. This way, this is the UI thread that still accesses the control. More info and examples here[^]
Cédric Moonen
Software developer

Charting control [v3.0]
OpenGL game tutorial in C++

AnswerRe: Worker Thread GUI Pin
Eugen Podsypalnikov15-Apr-10 22:44
Eugen Podsypalnikov15-Apr-10 22:44 
GeneralRe: Worker Thread GUI Pin
MsmVc15-Apr-10 23:07
MsmVc15-Apr-10 23:07 
GeneralRe: Worker Thread GUI Pin
Cedric Moonen15-Apr-10 23:17
Cedric Moonen15-Apr-10 23:17 
GeneralRe: Worker Thread GUI [modified] Pin
Eugen Podsypalnikov15-Apr-10 23:38
Eugen Podsypalnikov15-Apr-10 23:38 
GeneralRe: Worker Thread GUI Pin
Eugen Podsypalnikov16-Apr-10 0:21
Eugen Podsypalnikov16-Apr-10 0:21 
GeneralRe: Worker Thread GUI Pin
Cedric Moonen15-Apr-10 23:13
Cedric Moonen15-Apr-10 23:13 
GeneralRe: Worker Thread GUI Pin
Eugen Podsypalnikov16-Apr-10 0:20
Eugen Podsypalnikov16-Apr-10 0:20 
GeneralRe: Worker Thread GUI Pin
Cedric Moonen16-Apr-10 1:01
Cedric Moonen16-Apr-10 1:01 
GeneralRe: Worker Thread GUI Pin
Eugen Podsypalnikov16-Apr-10 1:27
Eugen Podsypalnikov16-Apr-10 1:27 
GeneralRe: Worker Thread GUI [modified] Pin
CPallini16-Apr-10 1:33
mveCPallini16-Apr-10 1:33 
GeneralRe: Worker Thread GUI Pin
MsmVc16-Apr-10 1:11
MsmVc16-Apr-10 1:11 
GeneralRe: Worker Thread GUI Pin
Eugen Podsypalnikov16-Apr-10 1:30
Eugen Podsypalnikov16-Apr-10 1:30 
GeneralRe: Worker Thread GUI Pin
MsmVc16-Apr-10 1:36
MsmVc16-Apr-10 1:36 
GeneralRe: Worker Thread GUI Pin
Eugen Podsypalnikov16-Apr-10 1:40
Eugen Podsypalnikov16-Apr-10 1:40 
GeneralRe: Worker Thread GUI Pin
MsmVc16-Apr-10 1:50
MsmVc16-Apr-10 1:50 
GeneralRe: Worker Thread GUI Pin
Eugen Podsypalnikov16-Apr-10 1:56
Eugen Podsypalnikov16-Apr-10 1:56 
GeneralRe: Worker Thread GUI Pin
MsmVc16-Apr-10 2:07
MsmVc16-Apr-10 2: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.