mirror of
https://github.com/reactos/reactos.git
synced 2025-02-28 19:32:59 +00:00
[REGEDIT] Add ES_AUTOHSCROLL to address bar window (#7638)
Enable horizontal scroll on address bar. JIRA issue: CORE-19743 - Add ES_AUTOHSCROLL style to the address bar window on its creation.
This commit is contained in:
parent
2da2fba042
commit
17eff53f35
1 changed files with 2 additions and 1 deletions
|
@ -388,7 +388,8 @@ LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa
|
||||||
g_pChildWnd->nSplitPos = 190;
|
g_pChildWnd->nSplitPos = 190;
|
||||||
g_pChildWnd->hWnd = hWnd;
|
g_pChildWnd->hWnd = hWnd;
|
||||||
|
|
||||||
style = WS_CHILD | WS_VISIBLE | WS_TABSTOP;
|
/* ES_AUTOHSCROLL style enables horizontal scrolling and shrinking */
|
||||||
|
style = WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL;
|
||||||
g_pChildWnd->hAddressBarWnd = CreateWindowExW(WS_EX_CLIENTEDGE, L"Edit", NULL, style,
|
g_pChildWnd->hAddressBarWnd = CreateWindowExW(WS_EX_CLIENTEDGE, L"Edit", NULL, style,
|
||||||
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
|
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
|
||||||
hWnd, (HMENU)0, hInst, 0);
|
hWnd, (HMENU)0, hInst, 0);
|
||||||
|
|
Loading…
Reference in a new issue