Ignore:
Timestamp:
Jun 14, 2001, 1:30:57 PM (24 years ago)
Author:
sandervl
Message:

dispatch untranslated msgs + frame control button changes (manually change restore/min/max)

File:
1 edited

Legend:

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

    r5805 r6008  
    1 /* $Id: oslibmsg.cpp,v 1.38 2001-05-25 19:59:29 sandervl Exp $ */
     1/* $Id: oslibmsg.cpp,v 1.39 2001-06-14 11:30:55 sandervl Exp $ */
    22/*
    33 * Window message translation functions for OS/2
     
    273273        } while (eaten);
    274274  }
    275 
    276   OS2ToWinMsgTranslate((PVOID)teb, &os2msg, pMsg, isUnicode, MSG_REMOVE);
     275  if(OS2ToWinMsgTranslate((PVOID)teb, &os2msg, pMsg, isUnicode, MSG_REMOVE) == FALSE) {
     276      //dispatch untranslated message immediately
     277      WinDispatchMsg(teb->o.odin.hab, &os2msg);
     278      //and get the next one
     279      return OSLibWinGetMsg(pMsg, hwnd, uMsgFilterMin, uMsgFilterMax, isUnicode);
     280  }
     281
    277282  memcpy(&teb->o.odin.os2msg, &os2msg, sizeof(QMSG));
    278283  memcpy(&teb->o.odin.winmsg, pMsg, sizeof(MSG));
Note: See TracChangeset for help on using the changeset viewer.