Ignore:
Timestamp:
Aug 23, 2014, 4:21:44 PM (11 years ago)
Author:
rousseau
Message:

Modified or replaced some structures

structures:
o DEVMODEA
o DEVMODEW
o NMLVCUSTOMDRAW
o NOTIFYICONDATAA
o NOTIFYICONDATAW
o OPENFILENAME
o OSVERSIONINFOA
o OSVERSIONINFOW
o OSVERSIONINFOEXA
o OSVERSIONINFOEXW
o SCROLLBARINFO
o SHELLEXECUTEINFOA
o SHELLEXECUTEINFOW
o TTTOOLINFOA
o TTTOOLINFOW

All sources for swt.dll now compile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/swt/src/user32/scroll.cpp

    r10119 r22081  
    140140          lprect->left--;
    141141          lprect->right++;
    142         } 
    143         else 
     142        }
     143        else
    144144        if (win32wnd->getStyle() & WS_VSCROLL)
    145145            lprect->right++;
     
    164164          lprect->top--;
    165165          lprect->bottom++;
    166         } 
    167         else 
     166        }
     167        else
    168168        if (win32wnd->getStyle() & WS_HSCROLL)
    169169          lprect->bottom++;
     
    982982            SCROLL_DrawMovingThumb(hdc, &rect, vertical, arrowSize, thumbSize);
    983983#ifdef __WIN32OS2__
    984             //This message is sent in Windows when the user clicks on the 
     984            //This message is sent in Windows when the user clicks on the
    985985            //scroll thumb (even without moving) (NT4, SP6)
    986986            SendMessageA( hwndOwner, vertical ? WM_VSCROLL : WM_HSCROLL,
     
    13431343            infoPtr->Page = info->nPage;
    13441344            action |= SA_SSI_REPAINT_INTERIOR;
    1345             bChangeParams = TRUE; 
     1345            bChangeParams = TRUE;
    13461346        }
    13471347    }
     
    13681368            infoPtr->MinVal = 0;
    13691369            infoPtr->MaxVal = 0;
    1370             bChangeParams = TRUE; 
     1370            bChangeParams = TRUE;
    13711371        }
    13721372        else
     
    13781378                infoPtr->MinVal = info->nMin;
    13791379                infoPtr->MaxVal = info->nMax;
    1380                 bChangeParams = TRUE; 
     1380                bChangeParams = TRUE;
    13811381            }
    13821382        }
     
    14161416          new_flags = ESB_DISABLE_BOTH;
    14171417          action |= SA_SSI_REFRESH;
    1418         } 
    1419         else 
     1418        }
     1419        else
    14201420        if (nBar != SB_CTL && bChangeParams)
    14211421        {
     
    14241424          goto done;
    14251425        }
    1426       } 
     1426      }
    14271427      else  /* Show and enable scroll-bar */
    14281428      {
     
    15871587//testestset
    15881588    static int nestlevel = 0;
    1589    
     1589
    15901590    //NOTE: This is an ugly workaround for an endless loop in CVP
    15911591    //      Need to make sure there isn't a better fix.
    1592     if(++nestlevel == 1) 
     1592    if(++nestlevel == 1)
    15931593        SetScrollInfo( hwnd, nBar, &info, bRedraw );
    15941594    nestlevel--;
     
    17641764  SCROLL_GetScrollBarRect(hwnd,nBar,&psbi->rcScrollBar,&arrowSize,&psbi->dxyLineButton,&psbi->xyThumbTop);
    17651765  psbi->xyThumbBottom = psbi->xyThumbTop+psbi->dxyLineButton;
    1766   psbi->bogus = 0; //CB: undocumented!
     1766  //~ psbi->bogus = 0; //CB: undocumented!
     1767///-------------------------------------------------------------------[swt-os2]
     1768  psbi->reserved = 0; //CB: undocumented!
     1769///----------------------------------------------------------------------------
    17671770  psbi->rgstate[0] = IsWindowVisible(hwnd) ? STATE_SYSTEM_INVISIBLE:0;
    17681771  psbi->rgstate[1] = psbi->rgstate[2] = psbi->rgstate[3] = psbi->rgstate[4] = psbi->rgstate[5] = psbi->rgstate[0]; //CB: todo
Note: See TracChangeset for help on using the changeset viewer.