Ignore:
Timestamp:
Sep 17, 2006, 3:55:13 PM (15 years ago)
Author:
Eugene Romanenko
Message:

find/findagain bitmaps replaced (closes #71), added 'zoom in/out' toolbar button

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/SOURCE/gui/lucide.cpp

    r122 r129  
    159159    WinSendMsg( hToolBar, TBM_ENABLEITEM, MPFROMSHORT(CM_FITWIDTH), (MPARAM)scalable );
    160160    WinEnableMenuItem( hWndMenu, CM_ZOOM_IN_OUT, scalable );
     161    WinSendMsg( hToolBar, TBM_ENABLEITEM, MPFROMSHORT(CM_ZOOM_IN_OUT), (MPARAM)scalable );
    161162    WinEnableControl( hToolBar, TBID_ZOOM, scalable );
    162163    BOOL rotable = doc->isRotable( ev );
     
    257258        WinSendMsg( hToolBar, TBM_ENABLEITEM, MPFROMSHORT(CM_FITWIDTH), (MPARAM)FALSE );
    258259        WinEnableMenuItem( hWndMenu, CM_ZOOM_IN_OUT, FALSE );
     260        WinSendMsg( hToolBar, TBM_ENABLEITEM, MPFROMSHORT(CM_ZOOM_IN_OUT), (MPARAM)FALSE );
    259261        WinEnableControl( hToolBar, TBID_ZOOM, FALSE );
    260262
     
    615617        WinSendMsg( hWndMenu, MM_SETITEMATTR, MPFROM2SHORT( CM_ZOOM_IN_OUT, TRUE ),
    616618                MPFROM2SHORT( MIA_CHECKED, isZoom ? MIA_CHECKED : FALSE ) );
     619        WinSendMsg( hToolBar, TBM_SETCHECK, MPFROMSHORT( CM_ZOOM_IN_OUT ), (MPARAM)isZoom );
    617620        docViewer->setZoomMode( isZoom );
    618621    }
Note: See TracChangeset for help on using the changeset viewer.