Dispatch next even in the queue
| 580 | |
| 581 | // Dispatch next even in the queue |
| 582 | bool DispatchNext() |
| 583 | { |
| 584 | WinMessageQueue::Message msg; |
| 585 | if (!_MessageQueue.next(&msg)) |
| 586 | return false; |
| 587 | _dispatch(msg.hWnd,msg.message,msg.wparam,msg.lparam); |
| 588 | return true; |
| 589 | } |
| 590 | |
| 591 | // Remove events from the queue |
| 592 | void DispatchRemove(HWND hWnd) |