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/oslibwin.h

    r1186 r1189  
    1 /* $Id: oslibwin.h,v 1.11 1999-10-08 14:57:17 sandervl Exp $ */
     1/* $Id: oslibwin.h,v 1.12 1999-10-08 16:13:08 cbratschi Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    3939                           char *pszName, HWND Owner, ULONG fHWND_BOTTOM, HWND *hwndFrame);
    4040
    41 BOOL  OSLibWinConvertStyle(ULONG dwStyle, ULONG dwExStyle, ULONG *OSWinStyle, ULONG *OSFrameStyle);
     41BOOL  OSLibWinConvertStyle(ULONG dwStyle, ULONG dwExStyle, ULONG *OSWinStyle, ULONG *OSFrameStyle, ULONG *borderWidth, ULONG *borderHeight);
    4242void  OSLibSetWindowStyle(HWND hwnd, ULONG dwStyle);
    4343
     
    5757ULONG OSLibDosBeep(ULONG freg,ULONG dur);
    5858HWND OSLibWinQueryFocus(HWND hwndDeskTop);
     59
     60#define OSLIB_FID_SYSMENU                0x8002
     61#define OSLIB_FID_TITLEBAR               0x8003
     62#define OSLIB_FID_MINMAX                 0x8004
     63#define OSLIB_FID_MENU                   0x8005
     64#define OSLIB_FID_VERTSCROLL             0x8006
     65#define OSLIB_FID_HORZSCROLL             0x8007
     66#define OSLIB_FID_CLIENT                 0x8008
     67
    5968HWND OSLibWinWindowFromID(HWND hwndParent,ULONG id);
    6069BOOL OSLibWinSetFocus(HWND hwndDeskTop,HWND hwndNewFocus, BOOL activate);
     
    248257HWND  OSLibWinObjectWindowFromID(HWND hwndOwner, ULONG ID);
    249258
    250 #define OSLIB_HSCROLL   0
    251 #define OSLIB_VSCROLL   1
     259#define OSLIB_HSCROLL   0
     260#define OSLIB_VSCROLL   1
    252261BOOL  OSLibWinEnableScrollBar(HWND hwndParent, int scrollBar, BOOL fEnable);
    253262BOOL  OSLibWinShowScrollBar(HWND hwndParent, HWND hwndScroll, int scrollBar, BOOL fShow);
     
    255264ULONG OSLibWinGetScrollPos(HWND hwndParent, HWND hwndScroll);
    256265ULONG OSLibWinSetScrollPos(HWND hwndParent, HWND hwndScroll, int pos, int fRedraw);
    257 BOOL  OSLibWinSetScrollRange(HWND hwndParent, HWND hwndScroll, int minpos, 
     266BOOL  OSLibWinSetScrollRange(HWND hwndParent, HWND hwndScroll, int minpos,
    258267                             int maxpos, int fRedraw);
    259 BOOL  OSLibWinSetScrollPageSize(HWND hwndParent, HWND hwndScroll, int pagesize, 
     268BOOL  OSLibWinSetScrollPageSize(HWND hwndParent, HWND hwndScroll, int pagesize,
    260269                                int totalsize, int fRedraw);
    261270
Note: See TracChangeset for help on using the changeset viewer.