Ignore:
Timestamp:
Mar 27, 2003, 2:54:18 PM (22 years ago)
Author:
sandervl
Message:

PF: changes for handling Ctrl-Break

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/oslibmsgtranslate.cpp

    r9935 r9944  
    1 /* $Id: oslibmsgtranslate.cpp,v 1.105 2003-03-25 12:17:09 sandervl Exp $ */
     1/* $Id: oslibmsgtranslate.cpp,v 1.106 2003-03-27 13:54:18 sandervl Exp $ */
    22/*
    33 * Window message translation functions for OS/2
     
    633633    case WM_CHAR_SPECIAL_CONSOLE_BREAK:
    634634    {
     635      dprintf(("PM: WM_CHAR_SPECIAL_CONSOLE_BREAK for %x", winMsg->hwnd));
     636      if(fMsgRemoved)
     637      {
    635638         GenerateConsoleCtrlEvent(CTRL_BREAK_EVENT_W,0);
    636          break;
     639         // It is our internal message, do not work with it more, its function
     640         // is over, otherwise it will return FALSE and will be dispatched,
     641         // and retranslated once again.
     642    if(win32wnd) RELEASE_WNDOBJ(win32wnd);
     643    return TRUE;
     644
     645         winMsg->message = 0;
     646         winMsg->wParam  = 0;
     647         winMsg->lParam  = 0;
     648         goto msgdone;
     649      }
     650      goto dummymessage;
    637651    }
    638652
     
    10321046        return FALSE;
    10331047    }
     1048msgdone:
    10341049    if(win32wnd) RELEASE_WNDOBJ(win32wnd);
    10351050    return TRUE;
Note: See TracChangeset for help on using the changeset viewer.