Ignore:
Timestamp:
Jul 19, 1999, 3:58:39 PM (26 years ago)
Author:
sandervl
Message:

Menus now work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/new/win32wnd.cpp

    r336 r338  
    1 /* $Id: win32wnd.cpp,v 1.14 1999-07-19 11:50:04 sandervl Exp $ */
     1/* $Id: win32wnd.cpp,v 1.15 1999-07-19 13:58:38 sandervl Exp $ */
    22/*
    33 * Win32 Window Code for OS/2
     
    669669{
    670670  return SendInternalMessageA(WM_MOVE, 0, MAKELONG((USHORT)xParent, (USHORT)yParent));
     671}
     672//******************************************************************************
     673//******************************************************************************
     674ULONG Win32Window::MsgCommand(ULONG cmd, ULONG Id, HWND hwnd)
     675{
     676  switch(cmd) {
     677    case CMD_MENU:
     678        return SendInternalMessageA(WM_COMMAND, MAKELONG(Id, 0), 0);
     679    case CMD_CONTROL:
     680        return 0; //todo
     681    case CMD_ACCELERATOR:
     682        return 0; //todo
     683  }
    671684}
    672685//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.