Ignore:
Timestamp:
Jan 5, 2000, 10:25:08 PM (26 years ago)
Author:
cbratschi
Message:

single frame works now

File:
1 edited

Legend:

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

    r2312 r2335  
    1 /* $Id: win32wbase.h,v 1.16 2000-01-03 21:37:17 sandervl Exp $ */
     1/* $Id: win32wbase.h,v 1.17 2000-01-05 21:25:08 cbratschi Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    4141//PostThreadMessage is done through Open32; which means the message id will be translated
    4242//(0xc00 added)
    43 #define OPEN32_MSGDIFF            0xC00
     43#define OPEN32_MSGDIFF            0xC00
    4444#define WIN32APP_POSTMSG          (0x1000+OPEN32_MSGDIFF)
    4545
     
    8686         ULONG  MsgHitTest(MSG *msg);
    8787         ULONG  MsgNCPaint();
     88         ULONG  MsgFormatFrame();
    8889         ULONG  DispatchMsgA(MSG *msg);
    8990         ULONG  DispatchMsgW(MSG *msg);
     
    138139         {
    139140                *rect = rectClient;
    140                 rectClient.right  -= rectClient.left;
    141                 rectClient.bottom -= rectClient.top;
    142                 rectClient.left = rectClient.top = 0;
     141                rect->right  -= rect->left;
     142                rect->bottom -= rect->top;
     143                rect->left = rect->top = 0;
    143144         }
    144145         void   setClientRect(PRECT rect)       { rectClient = *rect; };
     
    164165         HICON  GetIcon()                           { return (HICON) iconResource; };
    165166
    166         void   SetWindowRegion(HRGN hRegion)       { hWindowRegion = hRegion; };
    167          HRGN   GetWindowRegion()                   { return hWindowRegion; };
     167        void   SetWindowRegion(HRGN hRegion)       { hWindowRegion = hRegion; };
     168         HRGN   GetWindowRegion()                   { return hWindowRegion; };
    168169
    169170         BOOL   ShowWindow(ULONG nCmdShow);
     
    318319        BOOL    fParentDC;
    319320
    320         HRGN    hWindowRegion;
     321        HRGN    hWindowRegion;
    321322
    322323        DWORD   dwThreadId;             //id of thread that created this window
     
    367368        VOID  AdjustRectOuter(LPRECT rect,BOOL menu);
    368369        VOID  AdjustRectInner(LPRECT rect);
    369         LONG  HandleNCCalcSize(RECT *winRect);
     370        LONG  HandleNCCalcSize(BOOL calcValidRects,RECT *winRect);
    370371        LONG  HandleNCHitTest(POINT pt);
    371372        VOID  GetInsideRect(RECT *rect);
Note: See TracChangeset for help on using the changeset viewer.