• Advertisement
Sign in to follow this  

Win32 Dialog Q

This topic is 4799 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey, I"m building a win32 API based chat. I have designed my dialog to have all the buttons and text field requiered for the chat. The function taking car of the dialog is ClientProc and i call it : DialogBox(hInst, (LPCTSTR)IDD_CLIENT, hWnd, (DLGPROC)ClientProc); My problem is that when from i call the DialogBox func, it oppens my dialog and wont proceed to the windows message loop where i wanted my chat to listen for a socket. How can I make the DialogBox be asynchronic, like a thread ? Thanks in advance :)

Share this post


Link to post
Share on other sites
Advertisement
I'm new to this as well, but you could check out CreateDialog, which creates a non-modal dialog box, as compared to DialogBox which makes it modal.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement