Ignore:
Timestamp:
Aug 16, 1999, 5:54:11 PM (26 years ago)
Author:
dengert
Message:

Client area mouse button messages improved.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/new/win32wnd.cpp

    r398 r508  
    1 /* $Id: win32wnd.cpp,v 1.24 1999-07-26 20:03:49 sandervl Exp $ */
     1/* $Id: win32wnd.cpp,v 1.25 1999-08-16 15:54:11 dengert Exp $ */
    22/*
    33 * Win32 Window Code for OS/2
     
    55 *
    66 * Copyright 1998-1999 Sander van Leeuwen (sandervl@xs4all.nl)
     7 * Copyright 1999      Daniela Engert (dani@ngrt.de)
    78 *
    89 * Parts based on Wine Windows code (windows\win.c)
     
    842843//******************************************************************************
    843844//******************************************************************************
    844 ULONG Win32Window::MsgButton(ULONG msg, ULONG x, ULONG y)
     845ULONG Win32Window::MsgButton(ULONG msg, ULONG ncx, ULONG ncy, ULONG clx, ULONG cly)
    845846{
    846847 ULONG win32msg;
    847848 ULONG win32ncmsg;
    848849
    849     dprintf(("MsgButton to (%d,%d)", x, y));
     850    dprintf(("MsgButton to (%d,%d)", ncx, ncy));
    850851    switch(msg) {
    851852        case BUTTON_LEFTDOWN:
     
    894895        }
    895896    }
    896     SendInternalMessageA(win32ncmsg, lastHitTestVal, MAKELONG(x, y)); //TODO:
    897     return SendInternalMessageA(win32msg, 0, MAKELONG(x, y));
     897    SendInternalMessageA(win32ncmsg, lastHitTestVal, MAKELONG(ncx, ncy)); //TODO:
     898    return SendInternalMessageA(win32msg, 0, MAKELONG(clx, cly));
    898899}
    899900//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.