Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
b9ce4fd5
Commit
b9ce4fd5
authored
Sep 11, 1999
by
Nick Holloway
Committed by
Alexandre Julliard
Sep 11, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
For Win 3.x applications, if they have either horizontal or vertical
scrollbars, enable both.
parent
f4fca7c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
listbox.c
controls/listbox.c
+12
-0
No files found.
controls/listbox.c
View file @
b9ce4fd5
...
...
@@ -7,6 +7,7 @@
#include <string.h>
#include <stdlib.h>
#include "wine/winuser16.h"
#include "wine/winbase16.h"
#include "winuser.h"
#include "winerror.h"
#include "drive.h"
...
...
@@ -2203,6 +2204,17 @@ static BOOL LISTBOX_Create( WND *wnd, LPHEADCOMBO lphc )
descr
->
locale
=
0
;
/* FIXME */
descr
->
lphc
=
lphc
;
if
(
(
GetExpWinVer16
(
wnd
->
hInstance
)
&
0xFF00
)
==
0x0300
&&
(
descr
->
style
&
(
WS_VSCROLL
|
WS_HSCROLL
)
)
)
{
/* Win95 document "List Box Differences" from MSDN:
If a list box in a version 3.x application has either the
WS_HSCROLL or WS_VSCROLL style, the list box receives both
horizontal and vertical scroll bars.
*/
descr
->
style
|=
WS_VSCROLL
|
WS_HSCROLL
;
}
if
(
lphc
)
{
TRACE_
(
combo
)(
"[%04x]: resetting owner %04x -> %04x
\n
"
,
...
...
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