Ignore:
Timestamp:
May 2, 2000, 10:50:53 PM (25 years ago)
Author:
sandervl
Message:

RDW_FRAME support for GetDCEx; added wine dialog change; added extra logging

File:
1 edited

Legend:

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

    r3462 r3482  
    1 /* $Id: window.cpp,v 1.62 2000-04-29 18:28:41 sandervl Exp $ */
     1/* $Id: window.cpp,v 1.63 2000-05-02 20:50:53 sandervl Exp $ */
    22/*
    33 * Win32 window apis for OS/2
     
    465465        return 0;
    466466    }
    467     dprintf(("ShowWindow %x", hwnd));
    468467    return window->ShowWindow(nCmdShow);
    469468}
     
    868867 OSLIBPOINT point;
    869868
     869    SetLastError(0);
    870870    if(lpPoints == NULL || cPoints == 0) {
    871871        SetLastError(ERROR_INVALID_PARAMETER);
     
    902902    if (!mapWin32Point(wndfrom,wndto,&point))
    903903    {
    904       SetLastError(ERROR_INVALID_WINDOW_HANDLE);
    905       return 0;
     904        SetLastError(ERROR_INVALID_WINDOW_HANDLE);
     905        return 0;
    906906    }
    907907
     
    919919//******************************************************************************
    920920//******************************************************************************
    921 BOOL WIN32API ScreenToClient (HWND hwnd, LPPOINT pt)
     921BOOL WIN32API ScreenToClient(HWND hwnd, LPPOINT pt)
    922922{
    923923    Win32BaseWindow *wnd;
     
    929929    if (!wnd) {
    930930        dprintf(("warning: ScreenToClient: window %x not found!", hwnd));
    931         return (TRUE);
    932     }
     931        SetLastError(ERROR_INVALID_WINDOW_HANDLE);
     932        return FALSE;
     933    }
     934    SetLastError(0);
    933935#ifdef DEBUG
    934936    POINT tmp = *pt;
Note: See TracChangeset for help on using the changeset viewer.