Changeset 10017 for trunk/src


Ignore:
Timestamp:
Apr 11, 2003, 7:26:11 PM (22 years ago)
Author:
sandervl
Message:

MENU_TrackKbdMenuBar: check for WS_EX_TOOLWINDOW before using the system menu

Location:
trunk/src/user32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/menu.c

    r9988 r10017  
    31743174    {
    31753175        if (!(GetWindowLongA( hwnd, GWL_STYLE ) & WS_SYSMENU)) return;
     3176#ifdef __WIN32OS2__
     3177        if ((GetWindowLongA( hwnd, GWL_EXSTYLE ) & WS_EX_TOOLWINDOW)) return;
     3178#endif
    31763179        hTrackMenu = get_win_sys_menu( hwnd );
    31773180        uItem = 0;
  • trunk/src/user32/oslibmsgtranslate.cpp

    r10012 r10017  
    1 /* $Id: oslibmsgtranslate.cpp,v 1.108 2003-04-11 14:22:06 sandervl Exp $ */
     1/* $Id: oslibmsgtranslate.cpp,v 1.109 2003-04-11 17:26:11 sandervl Exp $ */
    22/*
    33 * Window message translation functions for OS/2
     
    658658            win32sc = SC_TASKLIST_W;
    659659            break;
     660        case SC_SYSMENU:
     661            win32sc = SC_KEYMENU_W; //??
     662            break;
    660663        default:
    661664            dprintf(("Unknown/unsupported SC command %d", SHORT1FROMMP(os2Msg->mp1)));
Note: See TracChangeset for help on using the changeset viewer.