Ignore:
Timestamp:
Nov 19, 1999, 6:59:35 PM (26 years ago)
Author:
cbratschi
Message:

fixed listbox scrolling, first work on combo code

File:
1 edited

Legend:

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

    r1667 r1781  
    1 /* $Id: uitools.cpp,v 1.16 1999-11-09 17:07:23 cbratschi Exp $ */
     1/* $Id: uitools.cpp,v 1.17 1999-11-19 17:59:35 cbratschi Exp $ */
    22/*
    33 * User Interface Functions
     
    19021902//******************************************************************************
    19031903//******************************************************************************
    1904 int WIN32API DrawTextW( HDC arg1, LPCWSTR arg2, int arg3, PRECT arg4, UINT  arg5)
    1905 {
    1906  char *astring = UnicodeToAsciiString((LPWSTR)arg2);
     1904int WIN32API DrawTextW( HDC hDC, LPCWSTR lpString, int nCount, PRECT lpRect, UINT nFormat)
     1905{
     1906 char *astring = UnicodeToAsciiString((LPWSTR)lpString);
    19071907 int   rc;
    19081908
     
    19101910    WriteLog("USER32:  DrawTextW %s\n", astring);
    19111911#endif
    1912     rc = O32_DrawText(arg1, astring, arg3, arg4, arg5);
     1912    rc = O32_DrawText(hDC,astring,nCount,lpRect,nFormat);
    19131913    FreeAsciiString(astring);
    19141914    return(rc);
     
    19161916//******************************************************************************
    19171917//******************************************************************************
    1918 int WIN32API DrawTextA(HDC arg1, LPCSTR arg2, int arg3, PRECT arg4, UINT arg5)
     1918int WIN32API DrawTextA(HDC hDC, LPCSTR lpString, int nCount, PRECT lpRect, UINT nFormat)
    19191919{
    19201920#ifdef DEBUG
    1921     WriteLog("USER32: DrawTextA %s", arg2);
     1921    WriteLog("USER32: DrawTextA %s %d", lpString,nCount);
    19221922#endif
    1923     return O32_DrawText(arg1, arg2, arg3, arg4, arg5);
     1923    return O32_DrawText(hDC,lpString,nCount,lpRect,nFormat);
    19241924}
    19251925/*****************************************************************************
Note: See TracChangeset for help on using the changeset viewer.