source: trunk/src/kernel32/winresmenu.cpp@ 752

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

Added class for menu resources + fixed makefile

File size: 2.2 KB
Line 
1/* $Id: winresmenu.cpp,v 1.1 1999-08-31 14:36:46 sandervl Exp $ */
2
3/*
4 * Win32 Menu resource class
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_BASE
13#define INCL_WIN
14#define INCL_GPIBITMAPS
15#define INCL_BITMAPFILEFORMAT
16#define INCL_DOSMODULEMGR
17#include <os2wrap.h> //Odin32 OS/2 api wrappers
18#include <stdarg.h>
19#include <string.h>
20#define INCL_WINRES
21#include <win32type.h>
22#include <winres.h>
23#include <winresmenu.h>
24#include <misc.h>
25#include <nameid.h>
26#include <winexe.h>
27#include "cvtresource.h"
28
29//******************************************************************************
30//******************************************************************************
31Win32MenuRes::Win32MenuRes(Win32Image *module, HRSRC hRes, ULONG id, ULONG type)
32 : Win32Resource(module, hRes, id, type)
33{
34}
35//******************************************************************************
36//******************************************************************************
37Win32MenuRes::Win32MenuRes(Win32Image *module, ULONG id, ULONG type,
38 ULONG size, char *resdata)
39 : Win32Resource(module, id, type, size, resdata)
40{
41}
42//******************************************************************************
43//******************************************************************************
44Win32MenuRes::Win32MenuRes(HWND hwndObjectMenu)
45 : Win32Resource()
46{
47 OS2ResHandle = hwndObjectMenu;
48 resType = RSRC_CUSTOMNODATA;
49}
50//******************************************************************************
51//******************************************************************************
52Win32MenuRes::Win32MenuRes(LPVOID menutemplate, BOOL isUnicode)
53 : Win32Resource()
54{
55 resType = RSRC_CUSTOMINDIRECT;
56}
57//******************************************************************************
58//******************************************************************************
59Win32MenuRes::~Win32MenuRes()
60{
61
62}
63//******************************************************************************
64//******************************************************************************
Note: See TracBrowser for help on using the repository browser.