Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b2499c97
Commit
b2499c97
authored
Sep 14, 2004
by
Robert Shearman
Committed by
Alexandre Julliard
Sep 14, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set class hbrBackground and style to the same as native.
parent
50c7fd4e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
ipaddress.c
dlls/comctl32/ipaddress.c
+3
-3
status.c
dlls/comctl32/status.c
+2
-2
trackbar.c
dlls/comctl32/trackbar.c
+2
-2
updown.c
dlls/comctl32/updown.c
+2
-2
No files found.
dlls/comctl32/ipaddress.c
View file @
b2499c97
...
...
@@ -565,12 +565,12 @@ void IPADDRESS_Register (void)
WNDCLASSW
wndClass
;
ZeroMemory
(
&
wndClass
,
sizeof
(
WNDCLASSW
));
wndClass
.
style
=
CS_GLOBALCLASS
;
wndClass
.
lpfnWndProc
=
(
WNDPROC
)
IPADDRESS_WindowProc
;
wndClass
.
style
=
CS_GLOBALCLASS
|
CS_DBLCLKS
|
CS_HREDRAW
|
CS_VREDRAW
;
wndClass
.
lpfnWndProc
=
IPADDRESS_WindowProc
;
wndClass
.
cbClsExtra
=
0
;
wndClass
.
cbWndExtra
=
sizeof
(
IPADDRESS_INFO
*
);
wndClass
.
hCursor
=
LoadCursorW
(
0
,
(
LPWSTR
)
IDC_IBEAM
);
wndClass
.
hbrBackground
=
GetStockObject
(
WHITE_BRUSH
);
wndClass
.
hbrBackground
=
(
HBRUSH
)(
COLOR_WINDOW
+
1
);
wndClass
.
lpszClassName
=
WC_IPADDRESSW
;
RegisterClassW
(
&
wndClass
);
...
...
dlls/comctl32/status.c
View file @
b2499c97
...
...
@@ -1270,11 +1270,11 @@ STATUS_Register (void)
ZeroMemory
(
&
wndClass
,
sizeof
(
WNDCLASSW
));
wndClass
.
style
=
CS_GLOBALCLASS
|
CS_DBLCLKS
|
CS_VREDRAW
;
wndClass
.
lpfnWndProc
=
(
WNDPROC
)
StatusWindowProc
;
wndClass
.
lpfnWndProc
=
StatusWindowProc
;
wndClass
.
cbClsExtra
=
0
;
wndClass
.
cbWndExtra
=
sizeof
(
STATUSWINDOWINFO
*
);
wndClass
.
hCursor
=
LoadCursorW
(
0
,
(
LPWSTR
)
IDC_ARROW
);
wndClass
.
hbrBackground
=
(
HBRUSH
)(
COLOR_
3D
FACE
+
1
);
wndClass
.
hbrBackground
=
(
HBRUSH
)(
COLOR_
BTN
FACE
+
1
);
wndClass
.
lpszClassName
=
STATUSCLASSNAMEW
;
RegisterClassW
(
&
wndClass
);
...
...
dlls/comctl32/trackbar.c
View file @
b2499c97
...
...
@@ -1816,11 +1816,11 @@ void TRACKBAR_Register (void)
ZeroMemory
(
&
wndClass
,
sizeof
(
WNDCLASSW
));
wndClass
.
style
=
CS_GLOBALCLASS
;
wndClass
.
lpfnWndProc
=
(
WNDPROC
)
TRACKBAR_WindowProc
;
wndClass
.
lpfnWndProc
=
TRACKBAR_WindowProc
;
wndClass
.
cbClsExtra
=
0
;
wndClass
.
cbWndExtra
=
sizeof
(
TRACKBAR_INFO
*
);
wndClass
.
hCursor
=
LoadCursorW
(
0
,
(
LPWSTR
)
IDC_ARROW
);
wndClass
.
hbrBackground
=
(
HBRUSH
)(
COLOR_
3D
FACE
+
1
);
wndClass
.
hbrBackground
=
(
HBRUSH
)(
COLOR_
BTN
FACE
+
1
);
wndClass
.
lpszClassName
=
TRACKBAR_CLASSW
;
RegisterClassW
(
&
wndClass
);
...
...
dlls/comctl32/updown.c
View file @
b2499c97
...
...
@@ -958,11 +958,11 @@ void UPDOWN_Register(void)
ZeroMemory
(
&
wndClass
,
sizeof
(
WNDCLASSW
)
);
wndClass
.
style
=
CS_GLOBALCLASS
|
CS_VREDRAW
|
CS_HREDRAW
;
wndClass
.
lpfnWndProc
=
(
WNDPROC
)
UpDownWindowProc
;
wndClass
.
lpfnWndProc
=
UpDownWindowProc
;
wndClass
.
cbClsExtra
=
0
;
wndClass
.
cbWndExtra
=
sizeof
(
UPDOWN_INFO
*
);
wndClass
.
hCursor
=
LoadCursorW
(
0
,
(
LPWSTR
)
IDC_ARROW
);
wndClass
.
hbrBackground
=
(
HBRUSH
)(
COLOR_
3D
FACE
+
1
);
wndClass
.
hbrBackground
=
(
HBRUSH
)(
COLOR_
BTN
FACE
+
1
);
wndClass
.
lpszClassName
=
UPDOWN_CLASSW
;
RegisterClassW
(
&
wndClass
);
...
...
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