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
ed90b185
Commit
ed90b185
authored
Apr 30, 2001
by
Mike McCormack
Committed by
Alexandre Julliard
Apr 30, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Draw the padding area of a combo box.
parent
2ce7bc84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
combo.c
controls/combo.c
+13
-0
No files found.
controls/combo.c
View file @
ed90b185
...
...
@@ -1010,6 +1010,19 @@ static LRESULT COMBO_Paint(LPHEADCOMBO lphc, HDC hParamDC)
CBPaintButton
(
lphc
,
hDC
,
lphc
->
buttonRect
);
}
/* paint the edit control padding area */
if
(
CB_GETTYPE
(
lphc
)
!=
CBS_DROPDOWNLIST
)
{
HPEN
hPrevPen
=
SelectObject
(
hDC
,
GetSysColorPen
(
COLOR_WINDOW
)
);
RECT
rPadEdit
=
lphc
->
textRect
;
InflateRect
(
&
rPadEdit
,
EDIT_CONTROL_PADDING
(),
EDIT_CONTROL_PADDING
());
Rectangle
(
hDC
,
rPadEdit
.
left
,
rPadEdit
.
top
,
rPadEdit
.
right
,
rPadEdit
.
bottom
);
SelectObject
(
hDC
,
hPrevPen
);
}
if
(
!
(
lphc
->
wState
&
CBF_EDIT
)
)
{
/*
...
...
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