00001 /* $Id: oslibmenu.h,v 1.8 2000/01/18 20:08:11 sandervl Exp $ */ 00002 /* 00003 * Window Menu wrapper functions for OS/2 00004 * 00005 * 00006 * Copyright 1999 Sander van Leeuwen (sandervl@xs4all.nl) 00007 * 00008 * 00009 * Project Odin Software License can be found in LICENSE.TXT 00010 * 00011 */ 00012 #ifndef __OSLIBMENU_H__ 00013 #define __OSLIBMENU_H__ 00014 00015 #ifdef OS2_INCLUDED 00016 #include "win32type.h" 00017 #endif 00018 00019 HWND OSLibWinSetMenu(HWND hwndParent, HMENU hMenu); 00020 HMENU OSLibWinCreateMenu(PVOID menutemplate); 00021 HMENU OSLibWinCreateEmptyMenu(); 00022 HMENU OSLibWinCreateEmptyPopupMenu(); 00023 int OSLibGetMenuItemCount(HWND hMenu); 00024 BOOL OSLibGetMenuItemRect(HWND hMenu, int index, LPRECT pRect); 00025 00026 #endif //__OSLIBGDI_H__