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

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

* empty log message *

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