Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Application::AddMessageFilter(someFilter);
- while(someFilter->HasUserSelectedAPoint_Or_HitEscapeKey()){
- Application::DoEvents();
- }
- Application::RemoveMessageFilter(someFilter);
- Application::AddMessageFilter(someFilter);
- while(someFilter->HasUserSelectedAPoint_Or_HitEscapeKey()){
- // Assuming that ManagedGetMessage() below is a blocking
- // call which yields control to the OS
- if(ManagedGetMessage())
- Application::DoEvents();
- }
- Application::RemoveMessageFilter(someFilter);
Add Comment
Please, Sign In to add comment