Ignore:
Timestamp:
Oct 25, 1999, 10:17:41 PM (26 years ago)
Author:
sandervl
Message:

menu changes + misc bugfixes

File:
1 edited

Legend:

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

    r1031 r1446  
    1 /* $Id: oslibmenu.cpp,v 1.2 1999-09-24 12:47:50 sandervl Exp $ */
     1/* $Id: oslibmenu.cpp,v 1.3 1999-10-25 20:17:18 sandervl Exp $ */
    22/*
    33 * Window Menu wrapper functions for OS/2
     
    4141         WinSetParent(hMenu, hwndParent, FALSE );
    4242         WinSetWindowUShort(hMenu, QWS_ID, FID_MENU);
    43         WinSendMsg(hwndParent, WM_UPDATEFRAME, (MPARAM)FCF_MENU, 0);
    44         return hMenu;
     43    WinSendMsg(hwndParent, WM_UPDATEFRAME, (MPARAM)FCF_MENU, 0);
     44    return hMenu;
    4545      }
    4646   }
     
    5555//******************************************************************************
    5656//******************************************************************************
     57HMENU OSLibWinCreateMenu(PVOID menutemplate)
     58{
     59    return (HMENU)WinCreateMenu(HWND_OBJECT, menutemplate);
     60}
     61//******************************************************************************
     62//******************************************************************************
     63HMENU OSLibWinCreateEmptyMenu()
     64{
     65   return WinCreateWindow(HWND_OBJECT, WC_MENU, NULL, MS_ACTIONBAR | 0x0008 | WS_SAVEBITS,
     66                          0, 0, 0, 0, HWND_OBJECT, HWND_TOP, 0, NULL, NULL);
     67}
     68//******************************************************************************
     69//******************************************************************************
     70HMENU OSLibWinCreateEmptyPopupMenu()
     71{
     72   return WinCreateWindow(HWND_OBJECT, WC_MENU, NULL, WS_CLIPSIBLINGS | WS_SAVEBITS,
     73                          0, 0, 0, 0, HWND_OBJECT, HWND_TOP, 0, NULL, NULL);
     74}
     75//******************************************************************************
     76//******************************************************************************
     77
Note: See TracChangeset for help on using the changeset viewer.