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
e79f0768
Commit
e79f0768
authored
Jul 17, 2001
by
Bill Medland
Committed by
Alexandre Julliard
Jul 17, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
As for the edit control, the style of the borders on the list control
is modified in the dialog loading code, not in the control itself.
parent
a49b5be9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
26 deletions
+7
-26
listbox.c
controls/listbox.c
+7
-26
No files found.
controls/listbox.c
View file @
e79f0768
...
...
@@ -2469,32 +2469,13 @@ static LRESULT WINAPI ListBoxWndProc_locked( WND* wnd, UINT msg,
if
(
!
wnd
)
return
0
;
if
(
!
(
descr
=
*
(
LB_DESCR
**
)
wnd
->
wExtra
))
{
switch
(
msg
)
{
case
WM_CREATE
:
{
if
(
!
LISTBOX_Create
(
wnd
,
NULL
))
return
-
1
;
TRACE
(
"creating wnd=%04x descr=%p
\n
"
,
hwnd
,
*
(
LB_DESCR
**
)
wnd
->
wExtra
);
return
0
;
}
case
WM_NCCREATE
:
{
/*
* When a listbox is not in a combobox and the look
* is win95, the WS_BORDER style is replaced with
* the WS_EX_CLIENTEDGE style.
*/
if
(
(
TWEAK_WineLook
>
WIN31_LOOK
)
&&
(
wnd
->
dwStyle
&
WS_BORDER
)
)
{
wnd
->
dwExStyle
|=
WS_EX_CLIENTEDGE
;
wnd
->
dwStyle
&=
~
WS_BORDER
;
}
}
}
if
(
msg
==
WM_CREATE
)
{
if
(
!
LISTBOX_Create
(
wnd
,
NULL
))
return
-
1
;
TRACE
(
"creating wnd=%04x descr=%p
\n
"
,
hwnd
,
*
(
LB_DESCR
**
)
wnd
->
wExtra
);
return
0
;
}
/* Ignore all other messages before we get a WM_CREATE */
return
unicode
?
DefWindowProcW
(
hwnd
,
msg
,
wParam
,
lParam
)
:
DefWindowProcA
(
hwnd
,
msg
,
wParam
,
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