Ignore:
Timestamp:
Mar 20, 2003, 2:20:46 PM (23 years ago)
Author:
sandervl
Message:

Changes for fake windows. Moved them into a seperate C++ class and overload some methods to correct the behaviour

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/win32wbase.h

    r9598 r9930  
    1 /* $Id: win32wbase.h,v 1.148 2003-01-03 16:35:56 sandervl Exp $ */
     1/* $Id: win32wbase.h,v 1.149 2003-03-20 13:20:46 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    113113                Win32BaseWindow();
    114114                Win32BaseWindow(CREATESTRUCTA *lpCreateStructA, ATOM classAtom, BOOL isUnicode);
    115                 Win32BaseWindow(HWND hwndOS2, ATOM classAtom);
    116115
    117116virtual        ~Win32BaseWindow();
     
    201200         }
    202201         void   setClientRect(PRECT rect)       { rectClient = *rect; };
    203          PRECT  getWindowRect()                 { return &rectWindow; };
     202virtual  PRECT  getWindowRect();
    204203         void   setClientRect(LONG left, LONG top, LONG right, LONG bottom)
    205204         {
     
    232231
    233232         BOOL   ShowWindow(ULONG nCmdShow);
    234          BOOL   SetWindowPos(HWND hwndInsertAfter, int x, int y, int cx, int cy, UINT fuFlags, BOOL fShowWindow = FALSE);
     233virtual  BOOL   SetWindowPos(HWND hwndInsertAfter, int x, int y, int cx, int cy, UINT fuFlags, BOOL fShowWindow = FALSE);
    235234         BOOL   SetWindowPlacement(WINDOWPLACEMENT *winpos);
    236235         BOOL   GetWindowPlacement(LPWINDOWPLACEMENT winpos);
     
    246245         HWND   GetTopWindow();
    247246         HWND   GetTopParent();
     247
     248         PVOID  getOldPMWindowProc()                   { return pfnOldPMWndProc; };
     249         void   setOldPMWindowProc(PVOID pfnPMWndProc) { pfnOldPMWndProc = pfnPMWndProc; };
    248250
    249251         HWND   GetWindow(UINT uCmd);
     
    414416                 fVisibleRegionChanged:1, //set when visible region has changed -> erase background must be sent during next BeginPaint
    415417                 fEraseBkgndFlag:1,
    416                  fIsDragDropActive:1,
    417                  fFakeWindow:1;
     418                 fIsDragDropActive:1;
    418419
    419420        ULONG   state;
     
    437438        RECT    rectClient;  //relative to frame
    438439WINDOWPLACEMENT windowpos;
     440
     441        PVOID   pfnOldPMWndProc;
    439442
    440443    PROPERTY   *propertyList;
Note: See TracChangeset for help on using the changeset viewer.