source: trunk/src/user32/oslibmenu.cpp@ 949

Last change on this file since 949 was 949, checked in by sandervl, 26 years ago

Moved new user32 here

File size: 1.2 KB
Line 
1/* $Id: oslibmenu.cpp,v 1.1 1999-09-15 23:18:53 sandervl Exp $ */
2/*
3 * Window Menu wrapper functions for OS/2
4 *
5 *
6 * Copyright 1999 Sander van Leeuwen (sandervl@xs4all.nl)
7 *
8 *
9 * Project Odin Software License can be found in LICENSE.TXT
10 *
11 */
12#define INCL_WIN
13#define INCL_PM
14#include <os2.h>
15#include <os2wrap.h>
16#include <stdlib.h>
17#include <string.h>
18
19#include <misc.h>
20#include <winconst.h>
21#include "oslibwin.h"
22#include "oslibutil.h"
23#include "oslibmenu.h"
24
25//******************************************************************************
26//******************************************************************************
27HWND OSLibWinCreateMenu(HWND hwndParent, PVOID menutemplate)
28{
29 return WinCreateMenu(hwndParent, menutemplate);
30}
31//******************************************************************************
32//******************************************************************************
33int OSLibGetMenuItemCount(HWND hMenu)
34{
35 return (int)SHORT1FROMMR(WinSendMsg(hMenu, MM_QUERYITEMCOUNT, NULL, NULL));
36}
37//******************************************************************************
38//******************************************************************************
Note: See TracBrowser for help on using the repository browser.