Changeset 295 for trunk/src/comctl32/updown.c
- Timestamp:
- Jul 12, 1999, 5:58:51 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comctl32/updown.c
r180 r295 1 /* $Id: updown.c,v 1. 5 1999-06-24 16:37:46cbratschi Exp $ */1 /* $Id: updown.c,v 1.6 1999-07-12 15:58:51 cbratschi Exp $ */ 2 2 /* 3 3 * Updown control … … 195 195 196 196 /*if the buddy is a list window, we must set curr index */ 197 if (!lstrcmp A(infoPtr->szBuddyClass,"ListBox"))197 if (!lstrcmpiA(infoPtr->szBuddyClass,"ListBox")) 198 198 { 199 199 newVal = SendMessageA(infoPtr->Buddy,LB_GETCARETINDEX,0,0); … … 245 245 246 246 /*if the buddy is a list window, we must set curr index */ 247 if(!lstrcmp A(infoPtr->szBuddyClass, "ListBox"))247 if(!lstrcmpiA(infoPtr->szBuddyClass, "ListBox")) 248 248 { 249 249 SendMessageA(infoPtr->Buddy,LB_SETCURSEL,infoPtr->CurVal,0); … … 365 365 return FALSE; 366 366 367 /* Store buddy wundow handle */ 368 infoPtr->Buddy = hwndBud; 369 367 370 /* Store buddy window clas name */ 368 371 GetClassNameA (hwndBud, infoPtr->szBuddyClass, 40); … … 529 532 530 533 /* If the buddy is an edit, will set focus to it */ 531 if (!lstrcmp A(infoPtr->szBuddyClass,"Edit")) SetFocus(infoPtr->Buddy);534 if (!lstrcmpiA(infoPtr->szBuddyClass,"Edit")) SetFocus(infoPtr->Buddy); 532 535 533 536 /* Now see which one is the 'active' arrow */ … … 702 705 /*If we released the mouse and our buddy is an edit */ 703 706 /* we must select all text in it. */ 704 if (!lstrcmp A(infoPtr->szBuddyClass,"Edit"))707 if (!lstrcmpiA(infoPtr->szBuddyClass,"Edit")) 705 708 SendMessageA(infoPtr->Buddy,EM_SETSEL,0,MAKELONG(0,-1)); 706 709
Note:
See TracChangeset
for help on using the changeset viewer.