I have an application where I need to keep processing 2 messages (WM_USER and WM_USER+1) from WSAASyncSelect() while displaying modal dialogs.
Basically, I can't stop processing socket messages while modal dialogs are shown. Right now, it seems that the best way is to not make the dialog modal and check when it loses focus if the app is still active. If so, bring the dialog back into focus.
The messages are sent to the main window. Is there a way to make the messages sent to the app (globally) instead?
A programmer is a device for converting Coke into software.
Basically, I can't stop processing socket messages while modal dialogs are shown. Right now, it seems that the best way is to not make the dialog modal and check when it loses focus if the app is still active. If so, bring the dialog back into focus.
The messages are sent to the main window. Is there a way to make the messages sent to the app (globally) instead?
A programmer is a device for converting Coke into software.