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
b83a16c1
Commit
b83a16c1
authored
Dec 07, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed calls to WIDGETS_IsControl.
parent
8c752fd7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
30 deletions
+13
-30
defdlg.c
windows/defdlg.c
+3
-16
winproc.c
windows/winproc.c
+10
-14
No files found.
windows/defdlg.c
View file @
b83a16c1
...
...
@@ -207,22 +207,9 @@ static LRESULT DEFDLG_Proc( HWND hwnd, UINT msg, WPARAM wParam,
HWND
hwndFocus
=
GetFocus
();
if
(
hwndFocus
)
{
WND
*
wnd
=
WIN_FindWndPtr
(
hwndFocus
);
if
(
wnd
)
{
/* always make combo box hide its listbox control */
if
(
WIDGETS_IsControl
(
wnd
,
BIC32_COMBO
)
)
SendMessageA
(
hwndFocus
,
CB_SHOWDROPDOWN
,
FALSE
,
0
);
else
if
(
WIDGETS_IsControl
(
wnd
,
BIC32_EDIT
)
&&
WIDGETS_IsControl
(
wnd
->
parent
,
BIC32_COMBO
))
SendMessageA
(
wnd
->
parent
->
hwndSelf
,
CB_SHOWDROPDOWN
,
FALSE
,
0
);
}
WIN_ReleaseWndPtr
(
wnd
);
/* always make combo box hide its listbox control */
if
(
!
SendMessageA
(
hwndFocus
,
CB_SHOWDROPDOWN
,
FALSE
,
0
))
SendMessageA
(
GetParent
(
hwndFocus
),
CB_SHOWDROPDOWN
,
FALSE
,
0
);
}
}
return
DefWindowProcA
(
hwnd
,
msg
,
wParam
,
lParam
);
...
...
windows/winproc.c
View file @
b83a16c1
...
...
@@ -1936,20 +1936,16 @@ INT WINPROC_MapMsg32ATo16( HWND hwnd, UINT msg32, WPARAM wParam32,
*
plparam
=
MAKELPARAM
(
HIWORD
(
wParam32
),
(
HMENU16
)
*
plparam
);
return
0
;
case
WM_MDIACTIVATE
:
{
WND
*
tempWnd
=
WIN_FindWndPtr
(
hwnd
);
if
(
WIDGETS_IsControl
(
tempWnd
,
BIC32_MDICLIENT
)
)
{
*
pwparam16
=
(
HWND
)
wParam32
;
*
plparam
=
0
;
}
else
{
*
pwparam16
=
((
HWND
)
*
plparam
==
hwnd
);
*
plparam
=
MAKELPARAM
(
(
HWND16
)
LOWORD
(
*
plparam
),
(
HWND16
)
LOWORD
(
wParam32
)
);
}
WIN_ReleaseWndPtr
(
tempWnd
);
if
(
GetWindowLongA
(
hwnd
,
GWL_EXSTYLE
)
&
WS_EX_MDICHILD
)
{
*
pwparam16
=
((
HWND
)
*
plparam
==
hwnd
);
*
plparam
=
MAKELPARAM
(
(
HWND16
)
LOWORD
(
*
plparam
),
(
HWND16
)
LOWORD
(
wParam32
)
);
}
else
{
*
pwparam16
=
(
HWND
)
wParam32
;
*
plparam
=
0
;
}
return
0
;
case
WM_NCCALCSIZE
:
...
...
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