Ahhh...
Sounds like you need a dedicated UI thread to run your dialog (with its own message pump) AND a thread to receive msgs (ticks etc) from the trading platform.
Your thread monitoring the...
Type: Posts; User: novacain
Ahhh...
Sounds like you need a dedicated UI thread to run your dialog (with its own message pump) AND a thread to receive msgs (ticks etc) from the trading platform.
Your thread monitoring the...
All Win32 programs have a msg pump, usually one per thread running the UI. You need to modify the main msg pump to handle the IsDialogMessage() for each modeless dialog.
Yes. You cannot use...
You did not post your message pump.
So I will guess...
You do not have a call to IsDialogMessage() in your message pump.
When your modeless dlg is created it gets a WM_INITDIALOG message,...
My suggestions are;
Fix the tabbing of your code. People will ignore it because you did not take the time to make it readable.
Follow the correct syntax (ie SWITCH, CASE, then BREAK!) I does...