Changeset 1114 for trunk/src


Ignore:
Timestamp:
Oct 3, 1999, 10:38:02 PM (26 years ago)
Author:
sandervl
Message:

mouse dragging fix + updated isMdiClient code/headers

Location:
trunk/src/user32
Files:
4 edited

Legend:

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

    r1094 r1114  
    1 /* $Id: pmwindow.cpp,v 1.13 1999-09-29 09:31:18 dengert Exp $ */
     1/* $Id: pmwindow.cpp,v 1.14 1999-10-03 20:38:01 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    534534    case WM_MOUSEMOVE:
    535535    {
    536     //Only send this message when the mouse isn't captured
    537         if(WinQueryCapture(HWND_DESKTOP) != NULLHANDLE) {
    538                 goto RunDefWndProc;
    539         }
    540536        ULONG keystate = 0;
    541537        if(WinGetKeyState(HWND_DESKTOP, VK_BUTTON1))
     
    551547
    552548        //OS/2 Window coordinates -> Win32 Window coordinates
    553     //NOTE: Do not call the default OS/2 window handler as that one changes
     549        //NOTE: Do not call the default OS/2 window handler as that one changes
    554550        //      the mousepointer!
    555551        win32wnd->MsgMouseMove(keystate, SHORT1FROMMP(mp1), MapOS2ToWin32Y(win32wnd, SHORT2FROMMP(mp1)));
  • trunk/src/user32/win32wbase.h

    r1112 r1114  
    1 /* $Id: win32wbase.h,v 1.11 1999-10-03 20:13:04 achimha Exp $ */
     1/* $Id: win32wbase.h,v 1.12 1999-10-03 20:38:02 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    107107
    108108         BOOL   isFrameWindow()                 { return OS2Hwnd != OS2HwndFrame; };
     109virtual  BOOL   isMDIClient();
     110
    109111Win32BaseWindow *getParent()                    { return (Win32BaseWindow *)ChildWindow::GetParent(); };
    110112         void   setParent(Win32BaseWindow *pwindow) { ChildWindow::SetParent((ChildWindow *)pwindow); };
     
    175177
    176178Win32BaseWindow *getTopParent();
    177 BOOL isMDIClient();
    178179 SCROLLBAR_INFO *getScrollInfo(int nBar);
    179180       LONG      setScrollInfo(int nBar, SCROLLINFO *info, int fRedraw);
  • trunk/src/user32/win32wmdiclient.cpp

    r1019 r1114  
    1 /* $Id: win32wmdiclient.cpp,v 1.2 1999-09-23 14:39:53 phaller Exp $ */
     1/* $Id: win32wmdiclient.cpp,v 1.3 1999-10-03 20:38:02 sandervl Exp $ */
    22/*
    33 * Win32 MDI Client Window Class for OS/2
     
    6262//******************************************************************************
    6363//******************************************************************************
     64BOOL Win32MDIClientWindow::isMDIClient()
     65{
     66    return TRUE;
     67}
     68//******************************************************************************
     69//******************************************************************************
    6470LRESULT Win32MDIClientWindow::MDIClientWndProc(UINT message, WPARAM wParam, LPARAM lParam)
    6571{
  • trunk/src/user32/win32wmdiclient.h

    r949 r1114  
    1 /* $Id: win32wmdiclient.h,v 1.1 1999-09-15 23:19:01 sandervl Exp $ */
     1/* $Id: win32wmdiclient.h,v 1.2 1999-10-03 20:38:02 sandervl Exp $ */
    22/*
    33 * Win32 MDI Client Window Class for OS/2
     
    2727                Win32MDIClientWindow(CREATESTRUCTA *lpCreateStructA, ATOM classAtom, BOOL isUnicode);
    2828virtual        ~Win32MDIClientWindow();
     29
     30virtual  BOOL   isMDIClient();
    2931
    3032           int  incTotalCreated()                { return ++nTotalCreated; };
Note: See TracChangeset for help on using the changeset viewer.