Ignore:
Timestamp:
Jul 12, 1999, 5:58:51 PM (26 years ago)
Author:
cbratschi
Message:

wine-990704 updates, TBCUSTOMIZE implemented

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:46 cbratschi Exp $ */
     1/* $Id: updown.c,v 1.6 1999-07-12 15:58:51 cbratschi Exp $ */
    22/*
    33 * Updown control
     
    195195
    196196  /*if the buddy is a list window, we must set curr index */
    197   if (!lstrcmpA(infoPtr->szBuddyClass,"ListBox"))
     197  if (!lstrcmpiA(infoPtr->szBuddyClass,"ListBox"))
    198198  {
    199199    newVal = SendMessageA(infoPtr->Buddy,LB_GETCARETINDEX,0,0);
     
    245245
    246246  /*if the buddy is a list window, we must set curr index */
    247   if(!lstrcmpA(infoPtr->szBuddyClass, "ListBox"))
     247  if(!lstrcmpiA(infoPtr->szBuddyClass, "ListBox"))
    248248  {
    249249    SendMessageA(infoPtr->Buddy,LB_SETCURSEL,infoPtr->CurVal,0);
     
    365365    return FALSE;
    366366
     367  /* Store buddy wundow handle */
     368  infoPtr->Buddy = hwndBud;
     369
    367370  /* Store buddy window clas name */
    368371  GetClassNameA (hwndBud, infoPtr->szBuddyClass, 40);
     
    529532
    530533      /* If the buddy is an edit, will set focus to it */
    531       if (!lstrcmpA(infoPtr->szBuddyClass,"Edit")) SetFocus(infoPtr->Buddy);
     534      if (!lstrcmpiA(infoPtr->szBuddyClass,"Edit")) SetFocus(infoPtr->Buddy);
    532535
    533536      /* Now see which one is the 'active' arrow */
     
    702705   /*If we released the mouse and our buddy is an edit */
    703706   /* we must select all text in it.                   */
    704    if (!lstrcmpA(infoPtr->szBuddyClass,"Edit"))
     707   if (!lstrcmpiA(infoPtr->szBuddyClass,"Edit"))
    705708       SendMessageA(infoPtr->Buddy,EM_SETSEL,0,MAKELONG(0,-1));
    706709
Note: See TracChangeset for help on using the changeset viewer.