Click here to Skip to main content
16,008,469 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: sending messages from a worker thread to cdocument Pin
BenDev30-Mar-01 3:03
BenDev30-Mar-01 3:03 
GeneralRe: sending messages from a worker thread to cdocument Pin
Ajit Jadhav30-Mar-01 6:47
Ajit Jadhav30-Mar-01 6:47 
GeneralRe: sending messages from a worker thread to cdocument Pin
derhackler30-Mar-01 6:50
derhackler30-Mar-01 6:50 
GeneralRe: sending messages from a worker thread to cdocument Pin
Ajit Jadhav30-Mar-01 7:19
Ajit Jadhav30-Mar-01 7:19 
GeneralRe: sending messages from a worker thread to cdocument Pin
derhackler30-Mar-01 8:50
derhackler30-Mar-01 8:50 
GeneralRe: sending messages from a worker thread to cdocument Pin
Ajit Jadhav31-Mar-01 12:42
Ajit Jadhav31-Mar-01 12:42 
GeneralRe: sending messages from a worker thread to cdocument Pin
Ajit Jadhav31-Mar-01 15:45
Ajit Jadhav31-Mar-01 15:45 
GeneralRe: sending messages from a worker thread to cdocument Pin
derhackler2-Apr-01 4:08
derhackler2-Apr-01 4:08 
bonjour! thanks for your answer. now it works. i think there was a little problem with my PostMessage function. i used PostMessage(...) instead of ::PostMessage(...). PostMessage didn't work.

I wanted to access my CDocument. Now i've moved the code for my thread in a new class. This class gets a pointer to my CDocument. The thread now launches a dialog which shows a litte progress bar. this dialog is initialized with my CDocument pointer and receives the messages of my thread. I hope the Dialog can now savely access my Cdocument data.

bb benedikt
GeneralRe: sending messages from a worker thread to cdocument Pin
30-Mar-01 3:18
suss30-Mar-01 3:18 
GeneralRe: sending messages from a worker thread to cdocument Pin
derhackler30-Mar-01 6:53
derhackler30-Mar-01 6:53 
GeneralShortcuts on desktop and groups... Pin
29-Mar-01 22:07
suss29-Mar-01 22:07 
GeneralRe: Shortcuts on desktop and groups... Pin
Erik Thompson30-Mar-01 9:01
sitebuilderErik Thompson30-Mar-01 9:01 
GeneralGetting a handle to a resource Pin
Jared Allen29-Mar-01 20:12
Jared Allen29-Mar-01 20:12 
Generalowner-draw combo-box Pin
Bruno Vais29-Mar-01 11:17
Bruno Vais29-Mar-01 11:17 
Questionwhat are threads and processes Pin
29-Mar-01 8:40
suss29-Mar-01 8:40 
AnswerRe: what are threads and processes Pin
Wayne Fuller29-Mar-01 8:59
Wayne Fuller29-Mar-01 8:59 
GeneralRe: what are threads and processes Pin
29-Mar-01 9:24
suss29-Mar-01 9:24 
GeneralRe: what are threads and processes Pin
Scott!29-Mar-01 9:48
Scott!29-Mar-01 9:48 
GeneralRe: what are threads and processes Pin
Peter Sjöström29-Mar-01 21:00
Peter Sjöström29-Mar-01 21:00 
AnswerRe: what are threads and processes Pin
Erik Funkenbusch29-Mar-01 11:29
Erik Funkenbusch29-Mar-01 11:29 
GeneralRe: what are threads and processes Pin
30-Mar-01 8:18
suss30-Mar-01 8:18 
GeneralGraphic Error...help!!! Pin
Richard Cheng29-Mar-01 8:08
Richard Cheng29-Mar-01 8:08 
GeneralRe: Graphic Error...help!!! Pin
Wayne Fuller29-Mar-01 8:16
Wayne Fuller29-Mar-01 8:16 
GeneralRe:(More info) Graphic Error...help!!! Pin
Richard Cheng29-Mar-01 8:43
Richard Cheng29-Mar-01 8:43 
QuestionHow can I get the first file of FindFile? Pin
Michael Menne29-Mar-01 7:11
Michael Menne29-Mar-01 7:11 

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.