directly add a message to the Torque 3D event queue, bypassing the Windows event queue this is useful in the case of the IE plugin, where we are hooking into an application level message, and posting to the windows queue would cause a hang
| 420 | // this is useful in the case of the IE plugin, where we are hooking into an application |
| 421 | // level message, and posting to the windows queue would cause a hang |
| 422 | void torque_directmessage(U32 message, U32 wparam, U32 lparam) |
| 423 | { |
| 424 | if (PlatformWindowManager::get() && PlatformWindowManager::get()->getFirstWindow()) |
| 425 | { |
| 426 | Win32Window* w = (Win32Window*) PlatformWindowManager::get()->getFirstWindow(); |
| 427 | Dispatch(DelayedDispatch,w->getHWND(),message,wparam,lparam); |
| 428 | } |
| 429 | } |
| 430 | |
| 431 | #endif |
| 432 | } |
no test coverage detected