Ignore:
Timestamp:
Jun 1, 2001, 9:59:00 PM (24 years ago)
Author:
sandervl
Message:

ExtTextOutA fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gdi32/text.cpp

    r5810 r5868  
    1 /* $Id: text.cpp,v 1.23 2001-05-27 19:01:14 sandervl Exp $ */
     1/* $Id: text.cpp,v 1.24 2001-06-01 19:59:00 sandervl Exp $ */
    22
    33/*
     
    451451INT SYSTEM EXPORT InternalDrawTextExW(HDC hdc,LPCWSTR lpchText,INT cchText,LPRECT lprc,UINT dwDTFormat,LPDRAWTEXTPARAMS lpDTParams,BOOL isDrawTextEx)
    452452{
    453   char *astring;
     453  char *astring = NULL;
    454454  INT  rc;
    455455
     
    711711    if (fuOptions & ETO_OPAQUE)
    712712    {
     713//SvL: This doesn't seem to work (anymore). Look at MFC apps for the missing border
     714//     between menu & button bar (all white). (e.g. odin app & acrobat reader 4.05)
     715#if 0
    713716        lpszString = " ";
    714717        cbCount = 1;
    715718        flOptions |= CHSOS_CLIP;
     719#else
     720        HBRUSH hbrush = CreateSolidBrush(GetBkColor(hdc));
     721        HBRUSH oldbrush;
     722
     723        oldbrush = SelectObject(hdc, hbrush);
     724        FillRect(hdc, lprc, hbrush);
     725        SelectObject(hdc, oldbrush);
     726        return TRUE;
     727#endif
    716728    }
    717729    else {
Note: See TracChangeset for help on using the changeset viewer.