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
597cb552
Commit
597cb552
authored
Aug 14, 2000
by
Susan Farley
Committed by
Alexandre Julliard
Aug 14, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the edit box before rolling up the listbox, so the
selection isn't lost.
parent
c96e7b95
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
combo.c
controls/combo.c
+12
-12
No files found.
controls/combo.c
View file @
597cb552
...
...
@@ -1395,18 +1395,6 @@ static LRESULT COMBO_Command( LPHEADCOMBO lphc, WPARAM wParam, HWND hWnd )
TRACE
(
"[%04x]: lbox selection change [%04x]
\n
"
,
CB_HWND
(
lphc
),
lphc
->
wState
);
/* do not roll up if selection is being tracked
* by arrowkeys in the dropdown listbox */
if
(
(
lphc
->
dwStyle
&
CBS_SIMPLE
)
||
((
lphc
->
wState
&
CBF_DROPPED
)
&&
!
(
lphc
->
wState
&
CBF_NOROLLUP
))
)
{
CBRollUp
(
lphc
,
(
HIWORD
(
wParam
)
==
LBN_SELCHANGE
),
TRUE
);
}
else
lphc
->
wState
&=
~
CBF_NOROLLUP
;
CB_NOTIFY
(
lphc
,
CBN_SELCHANGE
);
if
(
HIWORD
(
wParam
)
==
LBN_SELCHANGE
)
{
if
(
lphc
->
wState
&
CBF_EDIT
)
...
...
@@ -1421,6 +1409,18 @@ static LRESULT COMBO_Command( LPHEADCOMBO lphc, WPARAM wParam, HWND hWnd )
InvalidateRect
(
CB_HWND
(
lphc
),
&
lphc
->
textRect
,
TRUE
);
}
/* do not roll up if selection is being tracked
* by arrowkeys in the dropdown listbox */
if
(
(
lphc
->
dwStyle
&
CBS_SIMPLE
)
||
((
lphc
->
wState
&
CBF_DROPPED
)
&&
!
(
lphc
->
wState
&
CBF_NOROLLUP
))
)
{
CBRollUp
(
lphc
,
(
HIWORD
(
wParam
)
==
LBN_SELCHANGE
),
TRUE
);
}
else
lphc
->
wState
&=
~
CBF_NOROLLUP
;
CB_NOTIFY
(
lphc
,
CBN_SELCHANGE
);
/* fall through */
case
LBN_SETFOCUS
:
...
...
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