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
f9d9720d
Commit
f9d9720d
authored
Jul 31, 2011
by
Richard Bradbrook
Committed by
Alexandre Julliard
Aug 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Fix to ComboBoxEx processing of WM_ENABLE message.
parent
7e309601
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
comboex.c
dlls/comctl32/comboex.c
+19
-0
No files found.
dlls/comctl32/comboex.c
View file @
f9d9720d
...
...
@@ -1598,6 +1598,22 @@ static LRESULT COMBOEX_Destroy (COMBOEX_INFO *infoPtr)
}
static
LRESULT
COMBOEX_Enable
(
COMBOEX_INFO
*
infoPtr
,
BOOL
enable
)
{
TRACE
(
"hwnd=%p, enable=%s
\n
"
,
infoPtr
->
hwndSelf
,
enable
?
"TRUE"
:
"FALSE"
);
if
(
infoPtr
->
hwndEdit
)
EnableWindow
(
infoPtr
->
hwndEdit
,
enable
);
EnableWindow
(
infoPtr
->
hwndCombo
,
enable
);
/* Force the control to repaint when the enabled state changes. */
InvalidateRect
(
infoPtr
->
hwndSelf
,
NULL
,
TRUE
);
return
1
;
}
static
LRESULT
COMBOEX_MeasureItem
(
COMBOEX_INFO
const
*
infoPtr
,
MEASUREITEMSTRUCT
*
mis
)
{
static
const
WCHAR
strW
[]
=
{
'W'
,
0
};
...
...
@@ -2278,6 +2294,9 @@ COMBOEX_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case
WM_DESTROY
:
return
COMBOEX_Destroy
(
infoPtr
);
case
WM_ENABLE
:
return
COMBOEX_Enable
(
infoPtr
,
(
BOOL
)
wParam
);
case
WM_MEASUREITEM
:
return
COMBOEX_MeasureItem
(
infoPtr
,
(
MEASUREITEMSTRUCT
*
)
lParam
);
...
...
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