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
74d7ef84
Commit
74d7ef84
authored
Feb 11, 2003
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 11, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Manage internal ctl3d auto subclass flag.
parent
bed2b9c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
ctl3d.c
dlls/ctl3d/ctl3d.c
+7
-3
ctl3d32.c
dlls/ctl3d/ctl3d32.c
+7
-3
No files found.
dlls/ctl3d/ctl3d.c
View file @
74d7ef84
...
...
@@ -21,13 +21,17 @@
#include "wine/winbase16.h"
#include "wine/winuser16.h"
static
BOOL16
CTL3D16_is_auto_subclass
=
FALSE
;
BOOL16
WINAPI
Ctl3dAutoSubclass16
(
HINSTANCE16
hInst
)
{
CTL3D16_is_auto_subclass
=
TRUE
;
return
TRUE
;
}
BOOL16
WINAPI
Ctl3dAutoSubclassEx16
(
HINSTANCE16
hInst
,
DWORD
type
)
{
CTL3D16_is_auto_subclass
=
TRUE
;
return
TRUE
;
}
...
...
@@ -46,7 +50,6 @@ HBRUSH WINAPI Ctl3dCtlColorEx16(UINT16 msg, WPARAM16 wParam, LPARAM lParam)
return
0
;
}
LONG
WINAPI
Ctl3dDlgFramePaint16
(
HWND16
hwnd
,
UINT16
msg
,
WPARAM16
wParam
,
LPARAM
lParam
)
{
return
DefWindowProc16
(
hwnd
,
msg
,
wParam
,
lParam
);
...
...
@@ -64,7 +67,7 @@ WORD WINAPI Ctl3dGetVer16(void)
BOOL16
WINAPI
Ctl3dIsAutoSubclass16
(
void
)
{
return
FALSE
;
return
CTL3D16_is_auto_subclass
;
}
BOOL16
WINAPI
Ctl3dRegister16
(
HINSTANCE16
hInst
)
...
...
@@ -94,15 +97,16 @@ BOOL16 WINAPI Ctl3dSubclassDlgEx16(HWND16 hwnd, DWORD types)
BOOL16
WINAPI
Ctl3dUnAutoSubclass16
(
void
)
{
CTL3D16_is_auto_subclass
=
FALSE
;
return
FALSE
;
}
BOOL16
WINAPI
Ctl3dUnregister16
(
HINSTANCE16
hInst
)
{
CTL3D16_is_auto_subclass
=
FALSE
;
return
TRUE
;
}
BOOL16
WINAPI
Ctl3dUnsubclassCtl16
(
HWND16
hwnd
)
{
return
FALSE
;
...
...
dlls/ctl3d/ctl3d32.c
View file @
74d7ef84
...
...
@@ -21,13 +21,17 @@
#include "winbase.h"
#include "winuser.h"
static
BOOL
CTL3D_is_auto_subclass
=
FALSE
;
BOOL
WINAPI
Ctl3dAutoSubclass
(
HINSTANCE
hInst
)
{
CTL3D_is_auto_subclass
=
TRUE
;
return
TRUE
;
}
BOOL
WINAPI
Ctl3dAutoSubclassEx
(
HINSTANCE
hInst
,
DWORD
type
)
{
CTL3D_is_auto_subclass
=
TRUE
;
return
TRUE
;
}
...
...
@@ -46,7 +50,6 @@ HBRUSH WINAPI Ctl3dCtlColorEx(UINT msg, WPARAM wParam, LPARAM lParam)
return
0
;
}
LONG
WINAPI
Ctl3dDlgFramePaint
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
return
DefWindowProcA
(
hwnd
,
msg
,
wParam
,
lParam
);
...
...
@@ -64,7 +67,7 @@ WORD WINAPI Ctl3dGetVer(void)
BOOL
WINAPI
Ctl3dIsAutoSubclass
(
void
)
{
return
FALSE
;
return
CTL3D_is_auto_subclass
;
}
BOOL
WINAPI
Ctl3dRegister
(
HINSTANCE
hInst
)
...
...
@@ -94,15 +97,16 @@ BOOL WINAPI Ctl3dSubclassDlgEx(HWND hwnd, DWORD types)
BOOL
WINAPI
Ctl3dUnAutoSubclass
(
void
)
{
CTL3D_is_auto_subclass
=
FALSE
;
return
FALSE
;
}
BOOL
WINAPI
Ctl3dUnregister
(
HINSTANCE
hInst
)
{
CTL3D_is_auto_subclass
=
FALSE
;
return
TRUE
;
}
BOOL
WINAPI
Ctl3dUnsubclassCtl
(
HWND
hwnd
)
{
return
FALSE
;
...
...
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