Ignore:
Timestamp:
Oct 30, 1999, 8:40:49 PM (26 years ago)
Author:
cbratschi
Message:

button, static, scroll and dialog fixes

File:
1 edited

Legend:

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

    r1490 r1525  
    1 /* $Id: win32wbase.h,v 1.35 1999-10-28 12:00:35 sandervl Exp $ */
     1/* $Id: win32wbase.h,v 1.36 1999-10-30 18:40:48 cbratschi 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();
     
    218218       ULONG getBorderHeight() { return borderHeight; };
    219219
    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 );
     220static  void  NC_AdjustRectInner(LPRECT rect, DWORD style, DWORD exStyle);
     221static  void  NC_AdjustRectOuter(LPRECT rect, DWORD style, BOOL menu, DWORD exStyle);
     222static  BOOL  WindowNeedsWMBorder( DWORD style, DWORD exStyle );
    223223
    224224       PVOID getOldWndProc() { return pOldWndProc; }
     
    303303#ifndef OS2_INCLUDED
    304304        void  GetMinMaxInfo(POINT *maxSize, POINT *maxPos, POINT *minTrack, POINT *maxTrack );
    305         LONG  HandleWindowPosChanging(WINDOWPOS *winpos);
     305        LONG  HandleWindowPosChanging(WINDOWPOS *winpos);
    306306        LONG  HandleSysCommand(WPARAM wParam, POINT *pt32);
    307307
     
    345345         BOOL   isPSErase()      { return EraseBkgndFlag | PSEraseFlag; }
    346346         BOOL   isSupressErase() { return SupressEraseFlag; }
     347
     348protected:
     349        BOOL    DIALOG_Init(void);
     350        BOOL    getCharSizeFromDC( HDC hDC, HFONT hFont, SIZE * pSize );
     351        BOOL    getCharSize( HFONT hFont, SIZE * pSize);
     352
     353public:
     354         HWND   getNextDlgTabItem(HWND hwndCtrl, BOOL fPrevious);
     355         HWND   getNextDlgGroupItem(HWND hwndCtrl, BOOL fPrevious);
     356
     357         BOOL   MapDialogRect(LPRECT rect);
     358
     359static   ULONG  GetDialogBaseUnits()  { return MAKELONG(xBaseUnit, yBaseUnit); };
     360static   int    getXBaseUnit() { return xBaseUnit; }
     361static   int    getYBaseUnit() { return yBaseUnit; }
     362
     363private:
     364 static BOOL    fInitialized;
     365 static int     xBaseUnit;
     366 static int     yBaseUnit;
    347367};
    348368
Note: See TracChangeset for help on using the changeset viewer.