Changeset 831 for trunk/src


Ignore:
Timestamp:
Sep 5, 1999, 10:34:01 AM (26 years ago)
Author:
sandervl
Message:

* empty log message *

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 dengert Exp $ */
     1/* $Id: open32wbase.h,v 1.2 1999-09-05 08:34:01 sandervl Exp $ */
    22/*
    33 * Open32 Window fake Base Class for OS/2
     
    3131      HWND              hwndThisObject;
    3232      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;         
    3636      #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;             
    4040      PVOID             pWinExtra;
    4141      PVOID             beginPaintHPS_HDC;
     
    4545      PVOID             pfnwpPMOriginal;
    4646
    47       ULONG             bZeroId:1,                /* See Note 1 */
     47      ULONG             bZeroId:1,               
    4848                        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,             
    5454                        bRedraw:1,
    5555                        bDestroyed:1,
     
    6161#pragma pack()
    6262
    63 /* NOTES:
    64  *  1) The window ID for many DAX windows will default to zero.  This is
    65  *     because the window ID is taken from the hmenu parameter in the
    66  *     CreateWindow call and this parameter will very often be 0 for child
    67  *     windows.  Since PM sends many control messages with only an id as a
    68  *     means of identification, we are forced to substitute another window ID
    69  *     internally when a window is created with an ID of 0.  The private
    70  *     bZeroId flag indicates when this happens.  One disadvantage is that
    71  *     the window ID as queried from PM for a DAX window will not be the real
    72  *     DAX window ID when it should be zero.  Because of this the windowId
    73  *     member function should be used any time the ID is going to be passed
    74  *     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.  The
    77  *     bPSEraseFlag tells BeginPaint what to set the PAINTSTRUCT fErased flag
    78  *     to when bEraseBkgnd is FALSE.  The bPSEraseFlag is necessary because
    79  *     RedrawWindow must set bEraseBkgnd to FALSE if RDW_ERASENOW is used,
    80  *     but BeginPaint must still set fErase to TRUE if the WM_ERASEBKGND
    81  *     message returned FALSE.
    82  */
    83 
    8463#endif
    8564
Note: See TracChangeset for help on using the changeset viewer.