Click here to Skip to main content
16,004,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalhelp Pin
DanYELL4-Jan-02 13:51
DanYELL4-Jan-02 13:51 
GeneralRe: help Pin
Eugene Pustovoyt4-Jan-02 18:26
Eugene Pustovoyt4-Jan-02 18:26 
Generalgrrr ComboBox design-time item adding problem Pin
Kuniva4-Jan-02 12:13
Kuniva4-Jan-02 12:13 
GeneralRe: grrr ComboBox design-time item adding problem Pin
Philip Patrick5-Jan-02 0:25
professionalPhilip Patrick5-Jan-02 0:25 
GeneralAccessing Interface of OCX... Pin
Tim Rymer4-Jan-02 9:58
Tim Rymer4-Jan-02 9:58 
GeneralRe: Accessing Interface of OCX... Pin
Philip Patrick5-Jan-02 0:31
professionalPhilip Patrick5-Jan-02 0:31 
GeneralBlocking calls in worker thread Pin
Jacob L. Anawalt4-Jan-02 9:02
Jacob L. Anawalt4-Jan-02 9:02 
GeneralRe: Blocking calls in worker thread Pin
Anders Molin4-Jan-02 9:42
professionalAnders Molin4-Jan-02 9:42 
Take a look at _beginthreadex() in MSDN, I always use it for creating threads. I really hate those thread-classes...

If you want to update a progressbar, from the thread, you can pass a pointer to the progressbar, to the thread, using the "void *arglist" parameter.

Then you can access the progressbar from your thread.

If you need to access the progressbar, at the same time, from the main thread, you can make some easy syncronizing using a Critical Section...

- Anders

Money talks, but all mine ever says is "Goodbye!"
GeneralRe: Blocking calls in worker thread Pin
Jacob L. Anawalt4-Jan-02 12:07
Jacob L. Anawalt4-Jan-02 12:07 
GeneralRe: Blocking calls in worker thread Pin
Anders Molin5-Jan-02 4:11
professionalAnders Molin5-Jan-02 4:11 
GeneralMedia Player Pin
Jon Newman4-Jan-02 8:16
Jon Newman4-Jan-02 8:16 
GeneralRe: Media Player Pin
Christian Graus4-Jan-02 11:19
protectorChristian Graus4-Jan-02 11:19 
GeneralRe: Media Player Pin
Stephen Caldwell4-Jan-02 11:39
Stephen Caldwell4-Jan-02 11:39 
QuestionWhy "Failed to create the empty document"? Pin
4-Jan-02 7:06
suss4-Jan-02 7:06 
AnswerRe: Why "Failed to create the empty document"? Pin
Philip Patrick5-Jan-02 0:34
professionalPhilip Patrick5-Jan-02 0:34 
QuestionHow to enumerate all thread handles? Pin
Stephen Kellett4-Jan-02 6:58
Stephen Kellett4-Jan-02 6:58 
AnswerRe: How to enumerate all thread handles? Pin
Jon Newman4-Jan-02 8:19
Jon Newman4-Jan-02 8:19 
AnswerRe: How to enumerate all thread handles? Pin
Carlos Antollini4-Jan-02 8:44
Carlos Antollini4-Jan-02 8:44 
QuestionHow to get a thread handle from a thread id? Pin
Stephen Kellett4-Jan-02 6:55
Stephen Kellett4-Jan-02 6:55 
AnswerRe: How to get a thread handle from a thread id? Pin
4-Jan-02 7:17
suss4-Jan-02 7:17 
GeneralSnap controls onto Dialog Borders Pin
4-Jan-02 5:14
suss4-Jan-02 5:14 
GeneralRe: Snap controls onto Dialog Borders Pin
Michael Dunn4-Jan-02 7:54
sitebuilderMichael Dunn4-Jan-02 7:54 
General#import database and c2059 error : 'constant' Pin
AdamF4-Jan-02 5:13
AdamF4-Jan-02 5:13 
GeneralVisual SourceSafe Passwords Pin
Chris Meech4-Jan-02 3:54
Chris Meech4-Jan-02 3:54 
GeneralRe: Visual SourceSafe Passwords Pin
Chris Meech4-Jan-02 9:11
Chris Meech4-Jan-02 9: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.