Ignore:
Timestamp:
Nov 11, 1999, 2:17:33 PM (26 years ago)
Author:
sandervl
Message:

dlg fix, keyboard additions, + misc other things

File:
1 edited

Legend:

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

    r1694 r1704  
    1 /* $Id: win32wbase.cpp,v 1.80 1999-11-10 20:02:48 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.81 1999-11-11 13:17:31 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    173173  windowId         = 0xFFFFFFFF;        //default = -1
    174174  userData         = 0;
     175  contextHelpId    = 0;
    175176
    176177  pOldFrameProc = NULL;
     
    11511152
    11521153    if(ISMOUSE_CAPTURED()) {
    1153         POINT point = {x,y};
     1154        POINT point = {x,y};
    11541155
    11551156        MapWindowPoints(getWindowHandle(), HWND_DESKTOP, &point, 1);
    1156         if(DInputMouseHandler(getWindowHandle(), MOUSEMSG_MOVE, point.x, point.y, keystate))
    1157                 return 0;
     1157        if(DInputMouseHandler(getWindowHandle(), MOUSEMSG_MOVE, point.x, point.y, keystate))
     1158            return 0;
    11581159    }
    11591160
     
    26922693 LONG oldval;
    26932694
    2694    switch(index) {
     2695    dprintf2(("SetWindowLongA %x %d %x", getWindowHandle(), index, value));
     2696    switch(index) {
    26952697        case GWL_EXSTYLE:
    26962698        {
     
    27522754                SetLastError(ERROR_INVALID_PARAMETER);
    27532755                return 0;
    2754    }
     2756    }
    27552757}
    27562758//******************************************************************************
     
    27582760ULONG Win32BaseWindow::GetWindowLongA(int index)
    27592761{
    2760    switch(index) {
     2762    dprintf2(("GetWindowLongA %x %d", getWindowHandle(), index));
     2763    switch(index) {
    27612764        case GWL_EXSTYLE:
    27622765                return dwExStyle;
     
    27832786                SetLastError(ERROR_INVALID_PARAMETER);
    27842787                return 0;
    2785    }
     2788    }
    27862789}
    27872790//******************************************************************************
     
    28382841 Win32BaseWindow *win32wnd;
    28392842 DWORD        magic;
     2843
     2844  if(hwnd == OSLIB_HWND_DESKTOP)
     2845  {
     2846    return windowDesktop;
     2847  }
    28402848
    28412849  win32wnd = (Win32BaseWindow *)OSLibWinGetWindowULong(hwnd, OFFSET_WIN32WNDPTR);
Note: See TracChangeset for help on using the changeset viewer.