source: trunk/src/user32/wndsubproc.h@ 4

Last change on this file since 4 was 4, checked in by ktk, 26 years ago

Import

File size: 849 bytes
Line 
1/* $Id: wndsubproc.h,v 1.1 1999-05-24 20:20:00 ktk Exp $ */
2
3/*
4 *
5 * Project Odin Software License can be found in LICENSE.TXT
6 *
7 */
8/*
9 * Win32 window subproc class for OS/2
10 *
11 * Copyright 1998 Sander van Leeuwen
12 *
13 */
14#ifndef __WNDSUBPROC_H__
15#define __WNDSUBPROC_H__
16
17#ifdef _OS2WIN_H
18#include <winos2def.h>
19#endif
20
21#include "wndproc.h"
22
23class Win32WindowSubProc
24{
25public:
26 Win32WindowSubProc(HWND hwnd, WNDPROC_O32 pOpen32Callback);
27 ~Win32WindowSubProc();
28
29 static WNDPROC GetWin32Callback();
30 static Win32WindowSubProc *FindSubProc(WNDPROC_O32 pOrgCallback);
31
32 static void DeleteSubWindow(HWND hwnd);
33
34private:
35
36 WNDPROC_O32 pCallback;
37 HWND hwnd;
38
39 static Win32WindowSubProc *windows;
40 Win32WindowSubProc *next;
41
42 friend static LRESULT WIN32API SubWndCallback(HWND, UINT, WPARAM, LPARAM);
43};
44
45#endif
Note: See TracBrowser for help on using the repository browser.