Click here to Skip to main content
15,881,938 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAfxBeginThread and ON_THREAD_MESSAGE does not work using PostThreadMessage Pin
Vaclav_6-Apr-10 14:25
Vaclav_6-Apr-10 14:25 
AnswerRe: AfxBeginThread and ON_THREAD_MESSAGE does not work using PostThreadMessage Pin
No Name No Name No Name6-Apr-10 17:56
No Name No Name No Name6-Apr-10 17:56 
AnswerRe: AfxBeginThread and ON_THREAD_MESSAGE does not work using PostThreadMessage Pin
ramana.g6-Apr-10 18:26
ramana.g6-Apr-10 18:26 
GeneralRe: AfxBeginThread and ON_THREAD_MESSAGE does not work using PostThreadMessage Pin
sthalasayanam6-Apr-10 18:43
sthalasayanam6-Apr-10 18:43 
AnswerRe: AfxBeginThread and ON_THREAD_MESSAGE does not work using PostThreadMessage Pin
Rajesh R Subramanian7-Apr-10 0:16
professionalRajesh R Subramanian7-Apr-10 0:16 
AnswerRe: AfxBeginThread and ON_THREAD_MESSAGE does not work using PostThreadMessage Pin
David Crow7-Apr-10 3:05
David Crow7-Apr-10 3:05 
AnswerRe: AfxBeginThread and ON_THREAD_MESSAGE does not work using PostThreadMessage Pin
Vaclav_7-Apr-10 6:26
Vaclav_7-Apr-10 6:26 
GeneralRe: AfxBeginThread and ON_THREAD_MESSAGE does not work using PostThreadMessage Pin
Vaclav_7-Apr-10 6:36
Vaclav_7-Apr-10 6:36 
Addendum
I decided to try the UI thread to stop the process. Seems like a challenge and I like to torture myself with goofy programming techniques.
Now I cannot figure out how to execute the process I was after. This process ( used to be worker thread "function") and its 300+ lines of code is in the view main thread!
It is OK to make the view variable in the new UI thread? On first thought it seems like "circular reference". Any other way to do this “ function transfer” from the view?
Thanks for all you help.
Vaclav
AnswerRe: AfxBeginThread and ON_THREAD_MESSAGE does not work using PostThreadMessage Pin
Vaclav_7-Apr-10 8:01
Vaclav_7-Apr-10 8:01 
QuestionReset to computer Pin
RomTibi6-Apr-10 9:57
RomTibi6-Apr-10 9:57 
QuestionRe: Reset to computer Pin
David Crow6-Apr-10 10:04
David Crow6-Apr-10 10:04 
AnswerRe: Reset to computer Pin
RomTibi6-Apr-10 10:24
RomTibi6-Apr-10 10:24 
AnswerRe: Reset to computer Pin
David Crow6-Apr-10 10:26
David Crow6-Apr-10 10:26 
GeneralRe: Reset to computer Pin
RomTibi7-Apr-10 5:29
RomTibi7-Apr-10 5:29 
AnswerRe: Reset to computer Pin
Eugen Podsypalnikov6-Apr-10 10:07
Eugen Podsypalnikov6-Apr-10 10:07 
GeneralRe: Reset to computer Pin
RomTibi7-Apr-10 5:29
RomTibi7-Apr-10 5:29 
AnswerShutdown -r Pin
gamefreak22916-Apr-10 11:07
gamefreak22916-Apr-10 11:07 
GeneralRe: Shutdown -r Pin
RomTibi7-Apr-10 5:30
RomTibi7-Apr-10 5:30 
QuestionVisual C++ Solution in GCC Pin
darc koder6-Apr-10 7:12
darc koder6-Apr-10 7:12 
AnswerRe: Visual C++ Solution in GCC Pin
Maximilien6-Apr-10 8:57
Maximilien6-Apr-10 8:57 
AnswerRe: Visual C++ Solution in GCC Pin
CPallini6-Apr-10 9:44
mveCPallini6-Apr-10 9:44 
AnswerRe: Visual C++ Solution in GCC Pin
David Crow6-Apr-10 10:07
David Crow6-Apr-10 10:07 
QuestionVertical/Horizontal scroll bar not coming in CListCtrl Pin
_T("No name")6-Apr-10 3:45
_T("No name")6-Apr-10 3:45 
AnswerRe: Vertical/Horizontal scroll bar not coming in CListCtrl Pin
_T("No name")6-Apr-10 3:50
_T("No name")6-Apr-10 3:50 
Questionbm_setstate redraw not working Pin
Jach Mullan5-Apr-10 23:57
Jach Mullan5-Apr-10 23:57 

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.