Ignore:
Timestamp:
Oct 8, 1999, 6:13:09 PM (26 years ago)
Author:
cbratschi
Message:

subclassed frame, WM_STYLECHANGING fix

File:
1 edited

Legend:

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

    r1159 r1189  
    1 /* $Id: win32wbase.h,v 1.14 1999-10-07 09:28:02 sandervl Exp $ */
     1/* $Id: win32wbase.h,v 1.15 1999-10-08 16:13:09 cbratschi Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    7676         ULONG  MsgKillFocus(HWND hwnd);
    7777         ULONG  MsgTimer(ULONG TimerID);
    78         ULONG  MsgScroll(ULONG msg, ULONG scrollCode, ULONG scrollPos);
     78        ULONG  MsgScroll(ULONG msg, ULONG scrollCode, ULONG scrollPos);
    7979         ULONG  MsgCommand(ULONG cmd, ULONG Id, HWND hwnd);
    8080         ULONG  MsgSysCommand(ULONG win32sc, ULONG x, ULONG y);
     
    199199static Win32BaseWindow *GetWindowFromHandle(HWND hwnd);
    200200static Win32BaseWindow *GetWindowFromOS2Handle(HWND hwnd);
     201static Win32BaseWindow *GetWindowFromFrameHandle(HWND hwnd);
     202
     203       PVOID getOldFrameProc() { return pOldFrameProc; };
     204       VOID  setOldFrameProc(PVOID aOldFrameProc) { pOldFrameProc = aOldFrameProc; };
     205       ULONG   getBorderWidth() { return borderWidth; };
     206       ULONG   getBorderHeight() { return borderHeight; };
    201207
    202208protected:
     
    235241        BOOL    fFirstShow;
    236242        BOOL    fIsDialog;
    237         BOOL    fInternalMsg;           //Used to distinguish between messages 
     243        BOOL    fInternalMsg;           //Used to distinguish between messages
    238244                                        //sent by PM and those sent by apps
     245
     246        PVOID   pOldFrameProc;
     247        ULONG   borderWidth;
     248        ULONG   borderHeight;
     249
    239250   Win32BaseWindow *owner;
    240251
Note: See TracChangeset for help on using the changeset viewer.