Ignore:
Timestamp:
Dec 24, 1999, 7:42:46 PM (26 years ago)
Author:
sandervl
Message:

Message handling rewrite

File:
1 edited

Legend:

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

    r2160 r2200  
    1 /* $Id: user32.cpp,v 1.62 1999-12-20 16:45:17 cbratschi Exp $ */
     1/* $Id: user32.cpp,v 1.63 1999-12-24 18:39:11 sandervl Exp $ */
    22
    33/*
     
    129129BOOL WIN32API InflateRect( PRECT lprc, int dx, int  dy)
    130130{
    131     dprintf(("USER32:  InflateRect\n"));
     131    dprintf2(("USER32:  InflateRect\n"));
    132132    if (!lprc)
    133133    {
     
    16221622//******************************************************************************
    16231623/*****************************************************************************
    1624  * Name      : int WIN32API GetWindowRgn
    1625  * Purpose   : The GetWindowRgn function obtains a copy of the window region of a window.
    1626  * Parameters: HWND hWnd handle to window whose window region is to be obtained
    1627  *             HRGN hRgn handle to region that receives a copy of the window region
    1628  * Variables :
    1629  * Result    : NULLREGION, SIMPLEREGION, COMPLEXREGION, ERROR
    1630  * Remark    :
    1631  * Status    : UNTESTED STUB
    1632  *
    1633  * Author    : Patrick Haller [Thu, 1998/02/26 11:55]
    1634  *****************************************************************************/
    1635 
    1636 int WIN32API GetWindowRgn (HWND hWnd,
    1637                               HRGN hRgn)
    1638 {
    1639   dprintf(("USER32:GetWindowRgn (%08xh,%08x) not implemented.\n",
    1640          hWnd,
    1641          hRgn));
    1642   //Attention: Win32 hwnd handle!
    1643 
    1644   return (NULLREGION);
    1645 }
    1646 //******************************************************************************
    1647 //******************************************************************************
    1648 #if 0
    1649 BOOL WIN32API InvalidateRgn( HWND hWnd, HRGN hRgn, BOOL bErase)
    1650 {
    1651 #ifdef DEBUG
    1652     WriteLog("USER32:  InvalidateRgn\n");
    1653 #endif
    1654     hWnd = Win32Window::Win32ToOS2Handle(hWnd);
    1655 
    1656     return O32_InvalidateRgn(hWnd,hRgn,bErase);
    1657 }
    1658 #endif
    1659 /*****************************************************************************
    16601624 * Name      : BOOL WIN32API PaintDesktop
    16611625 * Purpose   : The PaintDesktop function fills the clipping region in the
     
    16781642  return (FALSE);
    16791643}
    1680 /*****************************************************************************
    1681  * Name      : int WIN32API SetWindowRgn
    1682  * Purpose   : The SetWindowRgn function sets the window region of a window. The
    1683  *             window region determines the area within the window where the
    1684  *             operating system permits drawing. The operating system does not
    1685  *             display any portion of a window that lies outside of the window region
    1686  * Parameters: HWND  hWnd    handle to window whose window region is to be set
    1687  *             HRGN  hRgn    handle to region
    1688  *             BOOL  bRedraw window redraw flag
    1689  * Variables :
    1690  * Result    : If the function succeeds, the return value is non-zero.
    1691  *             If the function fails, the return value is zero.
    1692  * Remark    :
    1693  * Status    : UNTESTED STUB
    1694  *
    1695  * Author    : Patrick Haller [Thu, 1998/02/26 11:55]
    1696  *****************************************************************************/
    1697 
    1698 int WIN32API SetWindowRgn(HWND hWnd,
    1699                              HRGN hRgn,
    1700                              BOOL bRedraw)
    1701 {
    1702   dprintf(("USER32:SetWindowRgn (%08xh,%08xh,%u) not implemented.\n",
    1703          hWnd,
    1704          hRgn,
    1705          bRedraw));
    1706   //Attention: Win32 hwnd handle!
    1707 
    1708   return (0);
    1709 }
    1710 //******************************************************************************
    1711 //******************************************************************************
    1712 BOOL WIN32API ValidateRect( HWND hwnd, const RECT * lprc)
    1713 {
    1714 #ifdef DEBUG
    1715     WriteLog("USER32:  ValidateRect\n");
    1716 #endif
    1717     hwnd = Win32Window::Win32ToOS2Handle(hwnd);
    1718 
    1719     return O32_ValidateRect(hwnd,lprc);
    1720 }
    1721 //******************************************************************************
    1722 //******************************************************************************
    1723 BOOL WIN32API ValidateRgn( HWND hwnd, HRGN  hrgn)
    1724 {
    1725 #ifdef DEBUG
    1726     WriteLog("USER32:  ValidateRgn\n");
    1727 #endif
    1728     hwnd = Win32Window::Win32ToOS2Handle(hwnd);
    1729 
    1730     return O32_ValidateRgn(hwnd,hrgn);
    1731 }
    17321644
    17331645/* Filled Shape Functions */
     
    17691681    return O32_GetKeyboardType(nTypeFlag);
    17701682}
     1683
     1684/* Message and Message Queue Functions */
     1685
     1686
     1687/* Device Context Functions */
     1688
     1689
     1690/* Window Station and Desktop Functions */
    17711691/*****************************************************************************
    17721692 * Name      : HDESK WIN32API GetThreadDesktop
     
    17891709  return (NULL);
    17901710}
    1791 
    1792 /* Message and Message Queue Functions */
    1793 
    1794 
    1795 /* Device Context Functions */
    1796 
    1797 
    1798 /* Window Station and Desktop Functions */
    17991711
    18001712/*****************************************************************************
Note: See TracChangeset for help on using the changeset viewer.