- Timestamp:
- Sep 5, 1999, 10:34:01 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/open32wbase.h
r823 r831 1 /* $Id: open32wbase.h,v 1. 1 1999-09-04 20:03:10 dengertExp $ */1 /* $Id: open32wbase.h,v 1.2 1999-09-05 08:34:01 sandervl Exp $ */ 2 2 /* 3 3 * Open32 Window fake Base Class for OS/2 … … 31 31 HWND hwndThisObject; 32 32 HWND hwndFocusPartner; 33 ULONG origStyle; /* Original windows style */34 ULONG origStyleEx; /* Original extended windows style */35 ULONG hevObjWinCreated; /* Posted by ObjWin thread upon creation of WinobjWin object */33 ULONG origStyle; 34 ULONG origStyleEx; 35 ULONG hevObjWinCreated; 36 36 #define PMS_SIZE 10 37 INT PMSIdx_beginPaint; /* Poor Man's Stack index for begin paint HPS handles */38 ULONG PMS_beginPaint[PMS_SIZE]; /* Poor Man's Stack for begin paint HPS handles */39 Win32WndClass *pWindowClass; /* ptr to window class */37 INT PMSIdx_beginPaint; 38 ULONG PMS_beginPaint[PMS_SIZE]; 39 Win32WndClass *pWindowClass; 40 40 PVOID pWinExtra; 41 41 PVOID beginPaintHPS_HDC; … … 45 45 PVOID pfnwpPMOriginal; 46 46 47 ULONG bZeroId:1, /* See Note 1 */47 ULONG bZeroId:1, 48 48 bInCreate:1, 49 bDragDrop:1, /* Set by DragAcceptFiles() */50 bEraseBkgnd:1, /* See Note 2 */51 bPSEraseFlag:1, /* See Note 2 */52 bSupressErase:1, /* See Note 2 */53 bPaintNow:1, /* See Note 2 */49 bDragDrop:1, 50 bEraseBkgnd:1, 51 bPSEraseFlag:1, 52 bSupressErase:1, 53 bPaintNow:1, 54 54 bRedraw:1, 55 55 bDestroyed:1, … … 61 61 #pragma pack() 62 62 63 /* NOTES:64 * 1) The window ID for many DAX windows will default to zero. This is65 * because the window ID is taken from the hmenu parameter in the66 * CreateWindow call and this parameter will very often be 0 for child67 * windows. Since PM sends many control messages with only an id as a68 * means of identification, we are forced to substitute another window ID69 * internally when a window is created with an ID of 0. The private70 * bZeroId flag indicates when this happens. One disadvantage is that71 * the window ID as queried from PM for a DAX window will not be the real72 * DAX window ID when it should be zero. Because of this the windowId73 * member function should be used any time the ID is going to be passed74 * back to a DAX app (in a message or structure, for instance).75 * Fortunately this does not happen often.76 * 2) bEraseBkgnd is set to TRUE if the background needs to be erased. The77 * bPSEraseFlag tells BeginPaint what to set the PAINTSTRUCT fErased flag78 * to when bEraseBkgnd is FALSE. The bPSEraseFlag is necessary because79 * RedrawWindow must set bEraseBkgnd to FALSE if RDW_ERASENOW is used,80 * but BeginPaint must still set fErase to TRUE if the WM_ERASEBKGND81 * message returned FALSE.82 */83 84 63 #endif 85 64
Note:
See TracChangeset
for help on using the changeset viewer.