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
0108d642
Commit
0108d642
authored
Oct 24, 1998
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 24, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hack to support integer ids in all static controls.
parent
27829e43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
static.c
controls/static.c
+10
-4
No files found.
controls/static.c
View file @
0108d642
...
...
@@ -174,13 +174,14 @@ LRESULT WINAPI StaticWndProc( HWND32 hWnd, UINT32 uMsg, WPARAM32 wParam,
switch
(
uMsg
)
{
case
WM_NCCREATE
:
case
WM_NCCREATE
:
{
CREATESTRUCT32A
*
cs
=
(
CREATESTRUCT32A
*
)
lParam
;
if
((
TWEAK_WineLook
>
WIN31_LOOK
)
&&
(
wndPtr
->
dwStyle
&
SS_SUNKEN
))
wndPtr
->
dwExStyle
|=
WS_EX_STATICEDGE
;
if
(
style
==
SS_ICON
)
{
CREATESTRUCT32A
*
cs
=
(
CREATESTRUCT32A
*
)
lParam
;
if
(
cs
->
lpszName
)
STATIC_SetIcon
(
wndPtr
,
STATIC_LoadIcon
(
wndPtr
,
cs
->
lpszName
));
...
...
@@ -188,7 +189,6 @@ LRESULT WINAPI StaticWndProc( HWND32 hWnd, UINT32 uMsg, WPARAM32 wParam,
}
if
(
style
==
SS_BITMAP
)
{
CREATESTRUCT32A
*
cs
=
(
CREATESTRUCT32A
*
)
lParam
;
if
(
cs
->
lpszName
)
STATIC_SetBitmap
(
wndPtr
,
STATIC_LoadBitmap
(
wndPtr
,
cs
->
lpszName
));
...
...
@@ -196,8 +196,14 @@ LRESULT WINAPI StaticWndProc( HWND32 hWnd, UINT32 uMsg, WPARAM32 wParam,
wndPtr
->
dwStyle
);
return
1
;
}
if
(
!
HIWORD
(
cs
->
lpszName
))
{
FIXME
(
static
,
"windowName is 0x%04x, not doing DefWindowProc
\n
"
,
LOWORD
(
cs
->
lpszName
)
);
return
1
;
}
return
DefWindowProc32A
(
hWnd
,
uMsg
,
wParam
,
lParam
);
}
case
WM_CREATE
:
if
(
style
<
0L
||
style
>
SS_TYPEMASK
)
{
...
...
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