Hi,
I ve searched these forums and found other people with simillar problems but havent found a clear solution. Your help would be appreciated...Here is my issues I have a multithreaded application with a dedicated UI thread (my main form) and another thread where i would like to display images completely independent of the UI thread. So i made form class called picForm and use the following code in my other thread:
picForm* newForm = new picForm();
picForm->Show();
The form freezes and doesnt respond. If i put this same code in my UI thread(main form) it does work. So i am thinking it has to do with the fact that I dont have a message pump in the other thread. But how do I create a message pump in the other thread becuase if I use application::run it is a blocking call (leaving that thread useless) and all i wanna do is display an image and forget about it and keep that pic form open until the user wants to close it.
What is the best way to do this ?? Sorry for the long post
thanks