- Timestamp:
- Sep 25, 1999, 5:24:12 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comctl32/hotkey.c
r1047 r1048 1 /* $Id: hotkey.c,v 1.1 0 1999-09-25 15:10:27cbratschi Exp $ */1 /* $Id: hotkey.c,v 1.11 1999-09-25 15:24:12 cbratschi Exp $ */ 2 2 /* 3 3 * Hotkey control … … 21 21 HOTKEY_Refresh(HWND hwnd) 22 22 { 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); 28 24 } 29 25 … … 333 329 SetBkMode(hdc,TRANSPARENT); 334 330 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); 336 332 DrawTextA(hdc,text,strlen(text),&newRect,DT_LEFT | DT_BOTTOM | DT_SINGLELINE | DT_CALCRECT); 337 333 if (infoPtr->hFont) SelectObject(hdc,oldFont);
Note:
See TracChangeset
for help on using the changeset viewer.