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
f58d80d1
Commit
f58d80d1
authored
Jun 15, 2000
by
David Lassonde
Committed by
Alexandre Julliard
Jun 15, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented the More Windows... menu item for MDI.
parent
a4b73d43
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
0 deletions
+22
-0
mdi.h
include/mdi.h
+6
-0
sysres_En.rc
resources/sysres_En.rc
+15
-0
user32.rc
resources/user32.rc
+1
-0
mdi.c
windows/mdi.c
+0
-0
No files found.
include/mdi.h
View file @
f58d80d1
...
@@ -20,6 +20,12 @@
...
@@ -20,6 +20,12 @@
#define WM_MDICALCCHILDSCROLL 0x10AC
/* this is exactly what Windows uses */
#define WM_MDICALCCHILDSCROLL 0x10AC
/* this is exactly what Windows uses */
/* "More Windows..." definitions */
#define MDI_MOREWINDOWSLIMIT 9
/* after this number of windows, a "More Windows..."
option will appear under the Windows menu */
#define MDI_IDC_LISTBOX 100
#define MDI_IDS_MOREWINDOWS 13
extern
LRESULT
WINAPI
MDIClientWndProc
(
HWND
hwnd
,
UINT
message
,
extern
LRESULT
WINAPI
MDIClientWndProc
(
HWND
hwnd
,
UINT
message
,
WPARAM
wParam
,
LPARAM
lParam
);
WPARAM
wParam
,
LPARAM
lParam
);
...
...
resources/sysres_En.rc
View file @
f58d80d1
...
@@ -46,3 +46,18 @@ BEGIN
...
@@ -46,3 +46,18 @@ BEGIN
PUSHBUTTON "&No", 7, 304, 56, 40, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&No", 7, 304, 56, 40, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END
END
MDI_MOREWINDOWS DIALOG FIXED IMPURE 20, 20, 232, 122
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Select Window"
FONT 8, "MS Shell Dlg"
BEGIN
LISTBOX MDI_IDC_LISTBOX, 5, 7, 222, 90, WS_VSCROLL | WS_HSCROLL /* defined in mdi.h */
DEFPUSHBUTTON "OK", IDOK, 75, 100, 35, 14
PUSHBUTTON "Cancel", IDCANCEL, 120, 100, 35, 14
END
STRINGTABLE DISCARDABLE
{
MDI_IDS_MOREWINDOWS "&More Windows..." /* defined in mdi.h */
}
resources/user32.rc
View file @
f58d80d1
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
#include "winuser.h"
#include "winuser.h"
#include "winnls.h"
#include "winnls.h"
#include "dlgs.h"
#include "dlgs.h"
#include "mdi.h"
/*
/*
* Everything that does not depend on language,
* Everything that does not depend on language,
...
...
windows/mdi.c
View file @
f58d80d1
This diff is collapsed.
Click to expand it.
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