Changeset 18445
- Timestamp:
- Feb 12, 2002, 7:36:41 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tags/trunk/src/user32/oslibmsgtranslate.cpp ¶
r18420 r18445 1 /* $Id: oslibmsgtranslate.cpp,v 1.8 1 2002-02-11 13:48:40sandervl Exp $ */1 /* $Id: oslibmsgtranslate.cpp,v 1.82 2002-02-12 18:36:41 sandervl Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 40 40 #define DBG_LOCALLOG DBG_oslibmsgtranslate 41 41 #include "dbglocal.h" 42 43 42 44 43 static BOOL fGenerateDoubleClick = FALSE; … … 717 716 if (flags & KC_KEYUP) 718 717 { 719 // as in NT4 we will send currently fake WM_SYSKEYDOWN with 720 // ALT key held 721 // ?? fMsgRemoved care - it seems we can only push one message? 722 if(fMsgRemoved && !(teb->o.odin.fTranslated)) 723 { 724 725 MSG extramsg; 726 memcpy(&extramsg, winMsg, sizeof(MSG)); 727 728 extramsg.message = WINWM_SYSKEYUP; 729 extramsg.lParam |= WIN_KEY_PREVSTATE; 730 extramsg.lParam |= WIN_KEY_ALTHELD; 731 extramsg.lParam |= 1 << 31; // bit 31, transition state, always 1 for WM_KEYUP 732 733 // insert message into the queue 734 setThreadQueueExtraCharMessage(teb, &extramsg); 735 winMsg->message = WINWM_SYSKEYDOWN; 736 winMsg->lParam |= WIN_KEY_ALTHELD;; 737 } 718 //@@PF Note that without pmkbdhook there will not be correct message for Alt-Enter 719 winMsg->message = WINWM_SYSKEYUP; 720 winMsg->lParam |= WIN_KEY_PREVSTATE; 721 winMsg->lParam |= WIN_KEY_ALTHELD; 722 winMsg->lParam |= 1 << 31; // bit 31, transition state, always 1 for WM_KEYUP 738 723 } 739 724 else
Note:
See TracChangeset
for help on using the changeset viewer.