Changeset 449


Ignore:
Timestamp:
May 3, 2010, 2:51:34 PM (12 years ago)
Author:
Silvan Scherrer
Message:

made spinbutton wider ticket:198

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/gui/toolbar.cpp

    r367 r449  
    7272                        Lucide::goToPage( spbmValue - 1 );
    7373                    }
     74                }
     75
     76                if ( ( controlId == TBID_PAGENUM ) && ( notifyCode == SPBN_SETFOCUS )
     77                     && !Lucide::dontSwitchPage )
     78                {
     79/* @todo highlight the text in the spinbutton (is that possible at all???)
     80                   BOOL rc = (BOOL)WinSendDlgItemMsg( hwnd, TBID_PAGENUM, EM_SETSEL,
     81                                      MPFROM2SHORT(1,10), NULL); */
    7482                }
    7583
     
    225233    WinSendMsg( cs.ctrlHandle, SPBM_SETLIMITS, MPFROMLONG( 0 ), MPFROMLONG( 0 ) );
    226234    WinSetPresParam( cs.ctrlHandle, PP_FONTNAMESIZE, deffontlen, deffont );
    227     cs.cx = 50;
     235    cs.cx = 75;
    228236    cs.cy = 0;
    229237    cs.bubbleText = NULL;
Note: See TracChangeset for help on using the changeset viewer.