Dispatch the window event, or queue up for later
| 569 | |
| 570 | // Dispatch the window event, or queue up for later |
| 571 | void Dispatch(DispatchType type,HWND hWnd,UINT message,WPARAM wparam,WPARAM lparam) |
| 572 | { |
| 573 | // If the message queue is not empty, then we'll need to delay |
| 574 | // this dispatch in order to preserve message order. |
| 575 | if (type == DelayedDispatch || !_MessageQueue.isEmpty()) |
| 576 | _MessageQueue.post(hWnd,message,wparam,lparam); |
| 577 | else |
| 578 | _dispatch(hWnd,message,wparam,lparam); |
| 579 | } |
| 580 | |
| 581 | // Dispatch next even in the queue |
| 582 | bool DispatchNext() |
no test coverage detected