Changeset 1025 for trunk/src


Ignore:
Timestamp:
Sep 23, 1999, 6:44:33 PM (26 years ago)
Author:
sandervl
Message:

Control Z-order + changes for comctl32

Location:
trunk/src/user32
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/USER32.DEF

    r949 r1025  
    1 ; $Id: USER32.DEF,v 1.12 1999-09-15 23:18:47 sandervl Exp $
     1; $Id: USER32.DEF,v 1.13 1999-09-23 16:44:32 sandervl Exp $
    22
    33;Created by BLAST for IBM's compiler
     
    627627    NativeCreateDlgIP          = _NativeCreateDlgIP@24       @2004
    628628    NativeLoadBitmap           = _NativeLoadBitmap@8         @2005
     629
     630    Win32ToOS2Handle__FUl      = Win32ToOS2Handle__15Win32BaseWindowFUl @2006
  • trunk/src/user32/heapshared.cpp

    r1018 r1025  
    1 /* $Id: heapshared.cpp,v 1.2 1999-09-23 14:24:57 phaller Exp $ */
     1/* $Id: heapshared.cpp,v 1.3 1999-09-23 16:44:32 sandervl Exp $ */
    22/*
    33 * Shared heap functions for OS/2
     
    115115                        return NULL;
    116116                }
    117                 for(int j=0;
    118         j < *size/PAGE_SIZE;
    119         j++)
    120   {
     117                for(int j=0;j < *size/PAGE_SIZE; j++)
     118                {
    121119                        pageBitmap[i+j] = 1; //mark as committed
    122120                }
  • trunk/src/user32/user32exp.def

    r949 r1025  
    577577    _NativeCreateDlgIP@24                     @2004
    578578    _NativeLoadBitmap@8                       @2005
     579    Win32ToOS2Handle__FUl                     @2006
  • trunk/src/user32/win32wbase.cpp

    r1005 r1025  
    1 /* $Id: win32wbase.cpp,v 1.7 1999-09-22 08:58:35 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.8 1999-09-23 16:44:33 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    192192        GlobalGetAtomNameA( classAtom, buffer, sizeof(buffer) );
    193193        dprintf(("Bad class '%s'\n", buffer ));
     194        SetLastError(ERROR_INVALID_PARAMETER);
    194195        return 0;
    195196  }
     
    304305  dwExStyle = cs->dwExStyle;
    305306
     307#if 1
     308  //SvL: Messes up Z-order of dialog controls
     309  hwndLinkAfter = HWND_TOP;
     310#else
    306311  hwndLinkAfter = ((cs->style & (WS_CHILD|WS_MAXIMIZE)) == WS_CHILD)
    307312                  ? HWND_BOTTOM : HWND_TOP;
     313#endif
    308314
    309315#if 0
     
    21732179//******************************************************************************
    21742180//******************************************************************************
     2181HWND Win32BaseWindow::Win32ToOS2Handle(HWND hwnd)
     2182{
     2183        Win32BaseWindow *window = GetWindowFromHandle(hwnd);
     2184
     2185        if(window) {
     2186                return window->getOS2WindowHandle();
     2187        }
     2188        else  return hwnd;    //OS/2 window handle
     2189}
     2190//******************************************************************************
     2191//******************************************************************************
     2192HWND Win32BaseWindow::OS2ToWin32Handle(HWND hwnd)
     2193{
     2194        Win32BaseWindow *window = GetWindowFromOS2Handle(hwnd);
     2195
     2196        if(window) {
     2197                return window->getWindowHandle();
     2198        }
     2199        else  return hwnd;    //OS/2 window handle
     2200}
     2201//******************************************************************************
     2202//******************************************************************************
    21752203GenericObject *Win32BaseWindow::windows  = NULL;
  • trunk/src/user32/win32wbase.h

    r1005 r1025  
    1 /* $Id: win32wbase.h,v 1.4 1999-09-22 08:58:36 sandervl Exp $ */
     1/* $Id: win32wbase.h,v 1.5 1999-09-23 16:44:33 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    186186                             BOOL fUnicode = 0);
    187187
    188     static HWND Win32ToOS2Handle(HWND hwnd)
    189     {
    190         Win32BaseWindow *window = GetWindowFromHandle(hwnd);
    191 
    192         if(window) {
    193                 return window->getOS2WindowHandle();
    194         }
    195         else  return hwnd;    //OS/2 window handle
    196     }
    197 
    198     static HWND OS2ToWin32Handle(HWND hwnd)
    199     {
    200         Win32BaseWindow *window = GetWindowFromOS2Handle(hwnd);
    201 
    202         if(window) {
    203                 return window->getWindowHandle();
    204         }
    205         else  return hwnd;    //OS/2 window handle
    206     }
     188    static HWND Win32ToOS2Handle(HWND hwnd);
     189    static HWND OS2ToWin32Handle(HWND hwnd);
    207190
    208191static Win32BaseWindow *GetWindowFromHandle(HWND hwnd);
Note: See TracChangeset for help on using the changeset viewer.