Ignore:
Timestamp:
Oct 23, 1999, 6:45:24 PM (26 years ago)
Author:
cbratschi
Message:

GetSystemMetrics, timer and scrollbar fixes

File:
1 edited

Legend:

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

    r1408 r1418  
    1 /* $Id: pmwindow.cpp,v 1.41 1999-10-23 10:21:43 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.42 1999-10-23 16:45:20 cbratschi Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    2929#include "oslibmsg.h"
    3030#include "dc.h"
     31#include "timer.h"
    3132#include <thread.h>
    3233#include <wprocess.h>
     
    767768
    768769    case WM_TIMER:
    769         if (mp2) win32wnd->MsgTimer((ULONG)mp1);
     770        if (mp2)
     771        {
     772          BOOL sys;
     773          ULONG id;
     774
     775          if (TIMER_GetTimerInfo(hwnd,(ULONG)mp1,&sys,&id))
     776          {
     777            if (sys)
     778              win32wnd->MsgSysTimer(id);
     779            else
     780              win32wnd->MsgTimer(id);
     781          }
     782        }
    770783        goto RunDefWndProc;
    771784
Note: See TracChangeset for help on using the changeset viewer.