Skip to content

Commit

Permalink
add ES_AUTOHSCROLL to the EDIT to accept the long text
Browse files Browse the repository at this point in the history
  • Loading branch information
oov committed Feb 16, 2016
1 parent 01d97dc commit 19fa183
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.pas
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ function TPlugin.MainProc(Window: HWND; Message: UINT; WP: WPARAM;

Height := FFontHeight + GetSystemMetrics(SM_CYFIXEDFRAME) * 2;
FEditHWND := CreateWindowExW(WS_EX_CLIENTEDGE, 'EDIT', '',
WS_CHILD or WS_VISIBLE or WS_TABSTOP or ES_LEFT, 8, Y, 400,
Height, Window, 3, Filter^.DLLHInst, nil);
WS_CHILD or WS_VISIBLE or WS_TABSTOP or ES_AUTOHSCROLL or
ES_LEFT, 8, Y, 400, Height, Window, 3234, Filter^.DLLHInst, nil);
SendMessageW(FEditHWND, WM_SETFONT, WPARAM(FFont), 0);
Inc(Y, Height);

Expand Down

0 comments on commit 19fa183

Please sign in to comment.