Changeset 1048 for trunk/src


Ignore:
Timestamp:
Sep 25, 1999, 5:24:12 PM (26 years ago)
Author:
cbratschi
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/comctl32/hotkey.c

    r1047 r1048  
    1 /* $Id: hotkey.c,v 1.10 1999-09-25 15:10:27 cbratschi Exp $ */
     1/* $Id: hotkey.c,v 1.11 1999-09-25 15:24:12 cbratschi Exp $ */
    22/*
    33 * Hotkey control
     
    2121HOTKEY_Refresh(HWND hwnd)
    2222{
    23   RECT rect;
    24 
    25   GetClientRect(hwnd,&rect);
    26   InflateRect(&rect,-1,-2); //CB: x only -1 -> bug!
    27   InvalidateRect(hwnd,&rect,FALSE);
     23  InvalidateRect(hwnd,NULL,FALSE);
    2824}
    2925
     
    333329  SetBkMode(hdc,TRANSPARENT);
    334330  CopyRect(&newRect,&rect);
    335   DrawTextA(hdc,text,strlen(text),&newRect,DT_LEFT | DT_BOTTOM | DT_SINGLELINE);
     331  DrawTextA(hdc,text,strlen(text),&newRect,DT_LEFT | DT_BOTTOM | DT_SINGLELINE | DT_NOCLIP);
    336332  DrawTextA(hdc,text,strlen(text),&newRect,DT_LEFT | DT_BOTTOM | DT_SINGLELINE | DT_CALCRECT);
    337333  if (infoPtr->hFont) SelectObject(hdc,oldFont);
Note: See TracChangeset for help on using the changeset viewer.