Quote:
if you are writing a dialog, then you want to create the dialog in the program's main thread (where main() or winmain() exists), then in the second thread to the time stuff and display the time in a text control of the dialog. In my example, ThreadProd() is the entry point of the new thread, similar to main() is the entry point into the program itself.
Ok, thanks I kinda get that, but I dont get something here tho too. So your example is a new thread right? Hmm it could be how I think the new thread should work maybe thats stoping me from understand. This is how I think the new thread works also.