Ignore:
Timestamp:
Jun 7, 2000, 4:51:33 PM (25 years ago)
Author:
sandervl
Message:

Major rewrite: frame/client -> frame

File:
1 edited

Legend:

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

    r3610 r3662  
    1 /* $Id: win32wbase.h,v 1.96 2000-05-26 18:43:35 sandervl Exp $ */
     1/* $Id: win32wbase.h,v 1.97 2000-06-07 14:51:31 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    104104virtual        ~Win32BaseWindow();
    105105
    106 virtual  ULONG  MsgCreate(HWND hwndFrame, HWND hwndClient);
     106virtual  ULONG  MsgCreate(HWND hwndOS2);
    107107         ULONG  MsgQuit();
    108108         ULONG  MsgClose();
     
    145145         HWND   getWindowHandle()               { return Win32Hwnd; };
    146146         HWND   getOS2WindowHandle()            { return OS2Hwnd; };
    147          HWND   getOS2FrameWindowHandle()       { return OS2HwndFrame; };
    148147 Win32WndClass *getWindowClass()                { return windowClass; };
    149148
     
    212211         BOOL   SetWindowPos(HWND hwndInsertAfter, int x, int y, int cx, int cy, UINT fuFlags);
    213212         BOOL   SetWindowPlacement(WINDOWPLACEMENT *winpos);
     213         BOOL   GetWindowPlacement(LPWINDOWPLACEMENT winpos);
    214214         BOOL   DestroyWindow();
    215215         HWND   SetActiveWindow();
     
    297297
    298298    static HWND Win32ToOS2Handle(HWND hwnd);
    299     static HWND Win32ToOS2FrameHandle(HWND hwnd);
    300299    static HWND OS2ToWin32Handle(HWND hwnd);
    301     static BOOL IsOS2FrameWindowHandle(HWND hwndWin32, HWND hwndOS2);
    302300
    303301static Win32BaseWindow *GetWindowFromHandle(HWND hwnd);
    304302static Win32BaseWindow *GetWindowFromOS2Handle(HWND hwnd);
    305 static Win32BaseWindow *GetWindowFromOS2FrameHandle(HWND hwnd);
    306303
    307304    static void DestroyAll();
    308 
    309        PVOID getOldFrameProc() { return pOldFrameProc; };
    310        VOID  setOldFrameProc(PVOID aOldFrameProc) { pOldFrameProc = aOldFrameProc; };
    311 
    312        PVOID getOldWndProc() { return pOldWndProc; }
    313        VOID  setOldWndProc(PVOID aOldWndProc) { pOldWndProc = aOldWndProc; }
    314305
    315306protected:
     
    326317
    327318        HWND    OS2Hwnd;
    328         HWND    OS2HwndFrame;
    329319        HMENU   hSysMenu;
    330320        HWND    Win32Hwnd;
     
    371361        DWORD   dwThreadId;             //id of thread that created this window
    372362        DWORD   dwProcessId;            //id of process that created this window
    373         PVOID   pOldFrameProc;
    374 
    375         PVOID   pOldWndProc;
    376363
    377364   Win32BaseWindow *owner;
     
    385372        ULONG   nrUserWindowLong;
    386373
    387         RECT    rectWindow; //relative to screen
    388         RECT    rectClient;  //relative to parent
     374        RECT    rectWindow; //relative to parent
     375        RECT    rectClient;  //relative to frame
     376WINDOWPLACEMENT windowpos;
    389377
    390378    PROPERTY   *propertyList;
     
    405393#ifndef OS2_INCLUDED
    406394        void  GetMinMaxInfo(POINT *maxSize, POINT *maxPos, POINT *minTrack, POINT *maxTrack );
     395        UINT  MinMaximize(UINT cmd, LPRECT lpRect);
    407396        LONG  HandleWindowPosChanging(WINDOWPOS *winpos);
    408397        LONG  HandleNCActivate(WPARAM wParam);
Note: See TracChangeset for help on using the changeset viewer.