Changeset 185


Ignore:
Timestamp:
Jan 21, 2007, 6:47:29 PM (14 years ago)
Author:
Eugene Romanenko
Message:

Improved size of input fields, initially select text in Find dialog (closes #103)

Location:
trunk/Lucide/SOURCE/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/SOURCE/gui/dialogs.rc

    r183 r185  
    4747                CONTROL "FIND_FIND_WHAT", -1, 7, 29, 58, 8, WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
    4848                PRESPARAMS PP_FONTNAMESIZE "9.WarpSans"
    49                 CONTROL "", IDC_FINDFIELD, 73, 29, 111, 10, WC_ENTRYFIELD, ES_LEFT | ES_AUTOSCROLL | ES_MARGIN | ES_ANY | WS_VISIBLE | WS_GROUP | WS_TABSTOP
     49                CONTROL "", IDC_FINDFIELD, 73, 30, 111, 8, WC_ENTRYFIELD, ES_LEFT | ES_AUTOSCROLL | ES_MARGIN | ES_ANY | WS_VISIBLE | WS_GROUP | WS_TABSTOP
    5050                PRESPARAMS PP_FONTNAMESIZE "9.WarpSans"
    5151                CONTROL "FIND_MATCH_CASE", IDC_FINDMATCHCASE, 8, 6, 177, 10, WC_BUTTON, BS_AUTOCHECKBOX | WS_VISIBLE | WS_GROUP | WS_TABSTOP
     
    5656                PRESPARAMS PP_FONTNAMESIZE "9.WarpSans"
    5757        END
     58
    5859END
    5960
     
    221222DLGTEMPLATE IDD_PASSWORD
    222223BEGIN
    223         DIALOG "PSW_TITLE", 100, 6, 115, 206, 50, WS_VISIBLE, FCF_SYSMENU | FCF_TITLEBAR
    224         BEGIN
    225                 CONTROL "PSW_PASSWORD", -1, 4, 27, 56, 12, WC_STATIC, SS_TEXT | DT_LEFT | DT_VCENTER | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
    226                 PRESPARAMS PP_FONTNAMESIZE "9.WarpSans"
    227                 CONTROL "", IDC_PASSWORD, 64, 28, 136, 10, WC_ENTRYFIELD, ES_LEFT | ES_AUTOSCROLL | ES_MARGIN | ES_UNREADABLE | ES_ANY | WS_VISIBLE | WS_GROUP | WS_TABSTOP
     224        DIALOG "PSW_TITLE", 100, 6, 118, 206, 47, WS_VISIBLE, FCF_SYSMENU | FCF_TITLEBAR
     225        BEGIN
     226                CONTROL "PSW_PASSWORD", -1, 4, 24, 56, 12, WC_STATIC, SS_TEXT | DT_LEFT | DT_VCENTER | DT_MNEMONIC | WS_VISIBLE | WS_GROUP
     227                PRESPARAMS PP_FONTNAMESIZE "9.WarpSans"
     228                CONTROL "", IDC_PASSWORD, 64, 27, 136, 8, WC_ENTRYFIELD, ES_LEFT | ES_AUTOSCROLL | ES_MARGIN | ES_UNREADABLE | ES_ANY | WS_VISIBLE | WS_GROUP | WS_TABSTOP
    228229                PRESPARAMS PP_FONTNAMESIZE "9.WarpSans"
    229230                DEFPUSHBUTTON "PSW_OK", DID_OK, 96, 4, 51, 14
  • trunk/Lucide/SOURCE/gui/findDlg.cpp

    r138 r185  
    9090                               MPFROMSHORT( MAXSEARCHLENGTH ), MPVOID );
    9191            WinSetDlgItemText( hwnd, IDC_FINDFIELD, _this->searchString );
     92            WinSendDlgItemMsg( hwnd, IDC_FINDFIELD, EM_SETSEL, MPFROM2SHORT( 0, MAXSEARCHLENGTH ), MPVOID );
    9293            WinCheckButton( hwnd, IDC_FINDMATCHCASE, _this->caseSensitive );
    9394
Note: See TracChangeset for help on using the changeset viewer.