Ignore:
Timestamp:
Oct 17, 1999, 2:17:46 PM (26 years ago)
Author:
cbratschi
Message:

added WINE scrollbars to frame, fixed pmframe, WM_ENTERIDLE

File:
1 edited

Legend:

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

    r1322 r1333  
    1 /* $Id: win32wbase.h,v 1.25 1999-10-16 14:51:43 sandervl Exp $ */
     1/* $Id: win32wbase.h,v 1.26 1999-10-17 12:17:45 cbratschi Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    5858
    5959                Win32BaseWindow(DWORD objType);
     60                Win32BaseWindow(HWND os2Handle,VOID* win32WndProc);
    6061                Win32BaseWindow(CREATESTRUCTA *lpCreateStructA, ATOM classAtom, BOOL isUnicode);
    6162virtual        ~Win32BaseWindow();
     
    163164         BOOL   IsWindow()                    { return TRUE; };
    164165         BOOL   IsDialog()                    { return fIsDialog; };
    165 
    166          BOOL   CanReceiveSizeMsgs()          { return !fNoSizeMsg; };
    167          BOOL   IsWindowDestroyed()           { return fIsDestroyed; };
     166         BOOL   CanReceiveSizeMsgs()          { return !fNoSizeMsg; };
     167         BOOL   IsWindowDestroyed()           { return fIsDestroyed; };
    168168         BOOL   IsWindowEnabled();
    169169         BOOL   IsWindowVisible();
     
    185185       HWND      getVertScrollHandle()        { return hwndVertScroll; };
    186186       HWND      getHorzScrollHandle()        { return hwndHorzScroll; };
     187       VOID      subclassScrollBars(BOOL subHorz,BOOL subVert);
    187188
    188189       LRESULT  SendMessageA(ULONG msg, WPARAM wParam, LPARAM lParam);
     
    212213       ULONG getBorderWidth() { return borderWidth; };
    213214       ULONG getBorderHeight() { return borderHeight; };
     215
     216       PVOID getOldWndProc() { return pOldWndProc; }
     217       VOID  setOldWndProc(PVOID aOldWndProc) { pOldWndProc = aOldWndProc; }
     218       BOOL  isSubclassedOS2Wnd() { return fIsSubclassedOS2Wnd; };
    214219
    215220protected:
     
    249254        BOOL    fInternalMsg;           //Used to distinguish between messages
    250255                                        //sent by PM and those sent by apps
    251         BOOL    fNoSizeMsg;
    252         BOOL    fIsDestroyed;
     256        BOOL    fNoSizeMsg;
     257        BOOL    fIsDestroyed;
    253258
    254259        PVOID   pOldFrameProc;
    255260        ULONG   borderWidth;
    256261        ULONG   borderHeight;
     262
     263        PVOID   pOldWndProc;
     264        BOOL    fIsSubclassedOS2Wnd;  //subclassed OS/2 window: Netscape plug-in/scrollbar
    257265
    258266   Win32BaseWindow *owner;
     
    286294#ifndef OS2_INCLUDED
    287295        void  GetMinMaxInfo(POINT *maxSize, POINT *maxPos, POINT *minTrack, POINT *maxTrack );
    288         LONG  HandleSysCommand(WPARAM wParam, POINT *pt32);
     296        LONG  HandleSysCommand(WPARAM wParam, POINT *pt32);
    289297
    290298        LONG  SendNCCalcSize(BOOL calcValidRect,
     
    293301                             RECT *newClientRect );
    294302
    295         LONG  NCHandleCalcSize(WPARAM wParam, NCCALCSIZE_PARAMS *ncsize);
     303        LONG  NCHandleCalcSize(WPARAM wParam, NCCALCSIZE_PARAMS *ncsize);
    296304
    297305     LRESULT  SendInternalMessage(ULONG msg, WPARAM wParam, LPARAM lParam)
     
    309317         fakeOpen32WinBaseClass fakeWinBase;
    310318
    311          BOOL   isOwnDC() { return (windowClass->getStyle() & CS_OWNDC_W); }
     319         BOOL   isOwnDC() { return (windowClass && windowClass->getStyle() & CS_OWNDC_W); }
    312320         HDC    getOwnDC() { return ownDC; }
    313321         void   setOwnDC(HDC hdc) { ownDC = hdc; }
Note: See TracChangeset for help on using the changeset viewer.