Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

open32wbase.h

Go to the documentation of this file.
00001 /* $Id: open32wbase.h,v 1.4 2000/01/18 20:08:10 sandervl Exp $ */
00002 /*
00003  * Open32 Window fake Base Class for OS/2
00004  *
00005  *
00006  * Copyright 1999      Daniela Engert (dani@ngrt.de)
00007  *
00008  *
00009  * Project Odin Software License can be found in LICENSE.TXT
00010  *
00011  */
00012 #ifndef __OPEN32WINBASE_H__
00013 #define __OPEN32WINBASE_H__
00014 
00015 extern "C" {
00016 ULONG _System PIEPS (ULONG, ULONG);
00017 void _System _WinSetDAXData (HWND, PVOID);
00018 }
00019 
00020 inline void _System WinSetDAXData (HWND a, PVOID b)
00021 {
00022  USHORT sel = RestoreOS2FS();
00023 
00024     _WinSetDAXData(a, b);
00025     SetFS(sel);
00026 } 
00027 
00028 #define PIEPS(x,y)
00029 
00030 #pragma pack(1)
00031 
00032 class fakeOpen32WinBaseClass
00033 {
00034    public:
00035       virtual BOOL      ni08(void) { PIEPS (1000,10); return FALSE; }
00036       virtual BOOL      ni10(void) { PIEPS (1100,10); return FALSE; }
00037       virtual BOOL      ni18(void) { PIEPS (1200,10); return FALSE; }
00038       virtual BOOL      ni20(void) { PIEPS (1300,10); return FALSE; }
00039       virtual BOOL      ni28(void) { PIEPS (1400,10); return FALSE; }
00040       virtual BOOL      ni30(void) { PIEPS (1500,10); return FALSE; }
00041       virtual BOOL      ni38(void) { PIEPS (1600,10); return FALSE; }
00042       virtual BOOL      ni40(void) { PIEPS (1700,10); return FALSE; }
00043       virtual BOOL      ni48(void) { PIEPS (1800,10); return FALSE; }
00044       virtual BOOL      ni50(void) { PIEPS (1900,10); return FALSE; }
00045       virtual BOOL      ni58(void) { PIEPS (2000,10); return FALSE; }
00046       virtual BOOL      ni60(void) { PIEPS (2100,10); return FALSE; }
00047       virtual BOOL      ni68(void) { PIEPS (2200,10); return FALSE; }
00048       virtual BOOL      ni70(void) { PIEPS (2300,10); return FALSE; }
00049       virtual BOOL      ni78(void) { PIEPS (2400,10); return FALSE; }
00050       virtual BOOL      ni80(void) { PIEPS (2500,10); return FALSE; }
00051       virtual BOOL      ni88(void) { PIEPS (2600,10); return FALSE; }
00052       virtual BOOL      clientArea(PRECTL pRectl) { pRectl=pRectl; return FALSE; }
00053       virtual BOOL      redraw() { return bRedraw; }
00054       virtual VOID      setRedraw( BOOL bOn = TRUE ) { bRedraw = bOn; }
00055       virtual BOOL      niA8(void) { PIEPS (2700,10); return FALSE; }
00056       virtual BOOL      niB0(void) { PIEPS (2800,10); return FALSE; }
00057       virtual BOOL      niB8(void) { PIEPS (2900,10); return FALSE; }
00058       virtual BOOL      niC0(void) { PIEPS (3000,10); return FALSE; }
00059       virtual BOOL      niC8(void) { PIEPS (3100,10); return FALSE; }
00060       virtual BOOL      niD0(void) { PIEPS (3200,10); return FALSE; }
00061 
00062       char              type;
00063       ULONG             filler1[1];
00064       HWND              hwndThis;
00065       ULONG             filler2[15];
00066       Win32WndClass    *pWindowClass;             /* ptr to window class        */
00067       ULONG             filler3[2];
00068       PVOID             ownDC;
00069       ULONG             filler4[3];
00070       ULONG             bZeroId:1,
00071                         bInCreate:1,
00072                         bDragDrop:1,
00073                         bEraseBkgnd:1,
00074                         bPSEraseFlag:1,
00075                         bSupressErase:1,
00076                         bPaintNow:1,
00077                         bRedraw:1,
00078                         bDestroyed:1,
00079                         bSendSetFocus:1,
00080                         bGotSetFocus:1,
00081                         ulReserved:21;
00082 };
00083 
00084 #pragma pack()
00085 
00086 #endif
00087 

Generated on Wed Jan 23 23:17:38 2002 for ODIN-user32 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001