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
95524833
Commit
95524833
authored
Oct 26, 1998
by
NF Stevens
Committed by
Alexandre Julliard
Oct 26, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a minor problem with the menus for mdi child windows.
parent
23e5ab1e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
mdi.c
windows/mdi.c
+26
-0
No files found.
windows/mdi.c
View file @
95524833
...
...
@@ -1200,6 +1200,7 @@ LRESULT WINAPI DefFrameProc32A( HWND32 hwnd, HWND32 hwndMDIClient,
return
ret
;
}
case
WM_NEXTMENU
:
case
WM_SETFOCUS
:
case
WM_SIZE
:
return
DefFrameProc16
(
hwnd
,
hwndMDIClient
,
message
,
...
...
@@ -1238,6 +1239,7 @@ LRESULT WINAPI DefFrameProc32W( HWND32 hwnd, HWND32 hwndMDIClient,
HeapFree
(
GetProcessHeap
(),
0
,
txt
);
return
ret
;
}
case
WM_NEXTMENU
:
case
WM_SETFOCUS
:
case
WM_SIZE
:
return
DefFrameProc32A
(
hwnd
,
hwndMDIClient
,
message
,
...
...
@@ -1389,6 +1391,14 @@ LRESULT WINAPI DefMDIChildProc16( HWND16 hwnd, UINT16 message,
clientWnd
->
parent
->
hwndSelf
);
break
;
case
WM_SYSCHAR
:
if
(
wParam
==
'-'
)
{
SendMessage16
(
hwnd
,
WM_SYSCOMMAND
,
(
WPARAM16
)
SC_KEYMENU
,
(
LPARAM
)(
DWORD
)
VK_SPACE
);
return
0
;
}
}
return
DefWindowProc16
(
hwnd
,
message
,
wParam
,
lParam
);
...
...
@@ -1442,6 +1452,14 @@ LRESULT WINAPI DefMDIChildProc32A( HWND32 hwnd, UINT32 message,
case
WM_SIZE
:
case
WM_NEXTMENU
:
return
DefMDIChildProc16
(
hwnd
,
message
,
(
WPARAM16
)
wParam
,
lParam
);
case
WM_SYSCHAR
:
if
(
wParam
==
'-'
)
{
SendMessage32A
(
hwnd
,
WM_SYSCOMMAND
,
(
WPARAM32
)
SC_KEYMENU
,
(
LPARAM
)(
DWORD
)
VK_SPACE
);
return
0
;
}
}
return
DefWindowProc32A
(
hwnd
,
message
,
wParam
,
lParam
);
}
...
...
@@ -1480,6 +1498,14 @@ LRESULT WINAPI DefMDIChildProc32W( HWND32 hwnd, UINT32 message,
case
WM_SIZE
:
case
WM_NEXTMENU
:
return
DefMDIChildProc32A
(
hwnd
,
message
,
(
WPARAM16
)
wParam
,
lParam
);
case
WM_SYSCHAR
:
if
(
wParam
==
'-'
)
{
SendMessage32W
(
hwnd
,
WM_SYSCOMMAND
,
(
WPARAM32
)
SC_KEYMENU
,
(
LPARAM
)(
DWORD
)
VK_SPACE
);
return
0
;
}
}
return
DefWindowProc32W
(
hwnd
,
message
,
wParam
,
lParam
);
}
...
...
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