Now i am facing a strange question is that:
when my client dialog-based application start, a thread will be created to check the connection with the server. When the connection close is detected, i will alert user for connection closed using AfxMessageBox.
This approach doesn't work when my application is inactivated: The messagebox won't show up and my application hanged.
Are there any suggestions??
Thanks in advance.