Click here to Skip to main content
15,888,521 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: help needed for PTZ control Pin
hkaratoy24-Nov-09 4:23
hkaratoy24-Nov-09 4:23 
GeneralRe: help needed for PTZ control Pin
sidxavier11-May-10 11:30
sidxavier11-May-10 11:30 
QuestionModel less dialog Pin
MsmVc3-Sep-09 20:46
MsmVc3-Sep-09 20:46 
AnswerRe: Model less dialog Pin
Randor 3-Sep-09 20:50
professional Randor 3-Sep-09 20:50 
GeneralRe: Model less dialog Pin
MsmVc3-Sep-09 21:00
MsmVc3-Sep-09 21:00 
GeneralRe: Model less dialog Pin
Randor 3-Sep-09 21:07
professional Randor 3-Sep-09 21:07 
GeneralRe: Model less dialog Pin
MsmVc3-Sep-09 21:27
MsmVc3-Sep-09 21:27 
GeneralRe: Model less dialog Pin
Cedric Moonen3-Sep-09 21:32
Cedric Moonen3-Sep-09 21:32 
MsmVc wrote:
But how to destroy in thread.It's not working in thread.


Don't do it that way. Never touch anything from the UI from within a thread, this is a recipe for disaster. Instead, post a custom message to your UI informing it that it needs to close the dialog.
Check this article[^] for more information about thread (a must read for everybody starting to work with threads).

Cédric Moonen
Software developer

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

GeneralRe: Model less dialog Pin
Randor 3-Sep-09 22:04
professional Randor 3-Sep-09 22:04 
QuestionString table Pin
choramale_vs3-Sep-09 20:43
choramale_vs3-Sep-09 20:43 
AnswerRe: String table Pin
«_Superman_»3-Sep-09 20:55
professional«_Superman_»3-Sep-09 20:55 
GeneralRe: String table Pin
choramale_vs3-Sep-09 21:52
choramale_vs3-Sep-09 21:52 
GeneralRe: String table Pin
Michael Schubert3-Sep-09 22:19
Michael Schubert3-Sep-09 22:19 
AnswerRe: String table Pin
Randor 3-Sep-09 20:57
professional Randor 3-Sep-09 20:57 
GeneralRe: String table Pin
choramale_vs3-Sep-09 22:04
choramale_vs3-Sep-09 22:04 
AnswerRe: String table Pin
iraclyKv3-Sep-09 22:29
iraclyKv3-Sep-09 22:29 
GeneralRe: String table Pin
choramale_vs4-Sep-09 0:14
choramale_vs4-Sep-09 0:14 
GeneralRe: String table Pin
David Crow4-Sep-09 2:22
David Crow4-Sep-09 2:22 
GeneralRe: String table Pin
iraclyKv4-Sep-09 3:54
iraclyKv4-Sep-09 3:54 
GeneralRe: String table Pin
choramale_vs6-Sep-09 23:59
choramale_vs6-Sep-09 23:59 
QuestionCrash in GetMessage method of windows. Pin
Kundan Kumar Bharti3-Sep-09 19:47
Kundan Kumar Bharti3-Sep-09 19:47 
AnswerRe: Crash in GetMessage method of windows. Pin
Cedric Moonen3-Sep-09 20:13
Cedric Moonen3-Sep-09 20:13 
QuestionFind UpDown Control in a dialog box Pin
Bedke3-Sep-09 18:56
Bedke3-Sep-09 18:56 
AnswerRe: Find UpDown Control in a dialog box Pin
«_Superman_»3-Sep-09 19:26
professional«_Superman_»3-Sep-09 19:26 
GeneralRe: Find UpDown Control in a dialog box Pin
Bedke3-Sep-09 19:47
Bedke3-Sep-09 19:47 

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.