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
bc0b0204
Commit
bc0b0204
authored
Jul 30, 1999
by
Francis Beaudet
Committed by
Alexandre Julliard
Jul 30, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the border for the listbox created by the simple combobox.
parent
95fd3cd4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
combo.c
controls/combo.c
+15
-2
No files found.
controls/combo.c
View file @
bc0b0204
...
...
@@ -488,7 +488,8 @@ static LRESULT COMBO_Create( LPHEADCOMBO lphc, WND* wnd, LPARAM lParam)
if
(
lphc
->
owner
||
!
(
lpcs
->
style
&
WS_VISIBLE
)
)
{
UINT
lbeStyle
;
UINT
lbeStyle
=
0
;
UINT
lbeExStyle
=
0
;
/*
* Initialize the dropped rect to the size of the client area of the
...
...
@@ -535,14 +536,26 @@ static LRESULT COMBO_Create( LPHEADCOMBO lphc, WND* wnd, LPARAM lParam)
lbeStyle
|=
LBS_DISABLENOSCROLL
;
if
(
CB_GETTYPE
(
lphc
)
==
CBS_SIMPLE
)
/* child listbox */
{
lbeStyle
|=
WS_CHILD
|
WS_VISIBLE
;
/*
* In win 95 look n feel, the listbox in the simple combobox has
* the WS_EXCLIENTEDGE style instead of the WS_BORDER style.
*/
if
(
TWEAK_WineLook
>
WIN31_LOOK
)
{
lbeStyle
&=
~
WS_BORDER
;
lbeExStyle
|=
WS_EX_CLIENTEDGE
;
}
}
else
/* popup listbox */
lbeStyle
|=
WS_POPUP
;
/* Dropdown ComboLBox is not a child window and we cannot pass
* ID_CB_LISTBOX directly because it will be treated as a menu handle.
*/
lphc
->
hWndLBox
=
CreateWindowExA
(
0
,
lphc
->
hWndLBox
=
CreateWindowExA
(
lbeExStyle
,
clbName
,
NULL
,
lbeStyle
,
...
...
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