Ignore:
Timestamp:
Oct 31, 1999, 2:14:44 AM (26 years ago)
Author:
sandervl
Message:

Window size + paint fix + dialog fixes

File:
1 edited

Legend:

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

    r1525 r1526  
    1 /* $Id: win32wbase.h,v 1.36 1999-10-30 18:40:48 cbratschi Exp $ */
     1/* $Id: win32wbase.h,v 1.37 1999-10-31 01:14:43 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    148148         BOOL   ShowWindow(ULONG nCmdShow);
    149149         BOOL   SetWindowPos(HWND hwndInsertAfter, int x, int y, int cx, int cy, UINT fuFlags);
    150         BOOL   SetWindowPlacement(WINDOWPLACEMENT *winpos);
     150        BOOL   SetWindowPlacement(WINDOWPLACEMENT *winpos);
    151151         BOOL   DestroyWindow();
    152152         HWND   SetActiveWindow();
     
    205205           BOOL EnumChildWindows(WNDENUMPROC lpfn, LPARAM lParam);
    206206
     207         HWND   getNextDlgTabItem(HWND hwndCtrl, BOOL fPrevious);
     208         HWND   getNextDlgGroupItem(HWND hwndCtrl, BOOL fPrevious);
     209
    207210    static HWND Win32ToOS2Handle(HWND hwnd);
    208211    static HWND Win32ToOS2FrameHandle(HWND hwnd);
     
    218221       ULONG getBorderHeight() { return borderHeight; };
    219222
    220 static  void  NC_AdjustRectInner(LPRECT rect, DWORD style, DWORD exStyle);
    221 static  void  NC_AdjustRectOuter(LPRECT rect, DWORD style, BOOL menu, DWORD exStyle);
    222 static  BOOL  WindowNeedsWMBorder( DWORD style, DWORD exStyle );
     223static  void  NC_AdjustRectInner(LPRECT rect, DWORD style, DWORD exStyle);
     224static  void  NC_AdjustRectOuter(LPRECT rect, DWORD style, BOOL menu, DWORD exStyle);
     225static  BOOL  WindowNeedsWMBorder( DWORD style, DWORD exStyle );
    223226
    224227       PVOID getOldWndProc() { return pOldWndProc; }
     
    303306#ifndef OS2_INCLUDED
    304307        void  GetMinMaxInfo(POINT *maxSize, POINT *maxPos, POINT *minTrack, POINT *maxTrack );
    305         LONG  HandleWindowPosChanging(WINDOWPOS *winpos);
     308        LONG  HandleWindowPosChanging(WINDOWPOS *winpos);
    306309        LONG  HandleSysCommand(WPARAM wParam, POINT *pt32);
    307310
     
    345348         BOOL   isPSErase()      { return EraseBkgndFlag | PSEraseFlag; }
    346349         BOOL   isSupressErase() { return SupressEraseFlag; }
    347 
    348 protected:
    349         BOOL    DIALOG_Init(void);
    350         BOOL    getCharSizeFromDC( HDC hDC, HFONT hFont, SIZE * pSize );
    351         BOOL    getCharSize( HFONT hFont, SIZE * pSize);
    352 
    353 public:
    354          HWND   getNextDlgTabItem(HWND hwndCtrl, BOOL fPrevious);
    355          HWND   getNextDlgGroupItem(HWND hwndCtrl, BOOL fPrevious);
    356 
    357          BOOL   MapDialogRect(LPRECT rect);
    358 
    359 static   ULONG  GetDialogBaseUnits()  { return MAKELONG(xBaseUnit, yBaseUnit); };
    360 static   int    getXBaseUnit() { return xBaseUnit; }
    361 static   int    getYBaseUnit() { return yBaseUnit; }
    362 
    363 private:
    364  static BOOL    fInitialized;
    365  static int     xBaseUnit;
    366  static int     yBaseUnit;
    367350};
    368351
Note: See TracChangeset for help on using the changeset viewer.