Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
956c847f
Commit
956c847f
authored
Dec 13, 2000
by
Louis Philippe Gagnon
Committed by
Alexandre Julliard
Dec 13, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Invalidate the focus rect when a listbox is resized.
parent
db0747d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
listbox.c
controls/listbox.c
+8
-0
No files found.
controls/listbox.c
View file @
956c847f
...
...
@@ -112,6 +112,8 @@ static TIMER_DIRECTION LISTBOX_Timer = LB_TIMER_NONE;
static
LRESULT
WINAPI
ComboLBWndProcA
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
);
static
LRESULT
WINAPI
ListBoxWndProcA
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
);
static
LRESULT
LISTBOX_GetItemRect
(
WND
*
wnd
,
LB_DESCR
*
descr
,
INT
index
,
RECT
*
rect
);
/*********************************************************************
* listbox class descriptor
...
...
@@ -409,6 +411,12 @@ static void LISTBOX_UpdateSize( WND *wnd, LB_DESCR *descr )
wnd
->
hwndSelf
,
descr
->
width
,
descr
->
height
);
LISTBOX_UpdatePage
(
wnd
,
descr
);
LISTBOX_UpdateScroll
(
wnd
,
descr
);
/* Invalidate the focused item so it will be repainted correctly */
if
(
1
==
LISTBOX_GetItemRect
(
wnd
,
descr
,
descr
->
focus_item
,
&
rect
))
{
InvalidateRect
(
wnd
->
hwndSelf
,
&
rect
,
FALSE
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment