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
f8a104f4
Commit
f8a104f4
authored
Jun 27, 2008
by
Mikołaj Zalewski
Committed by
Alexandre Julliard
Jun 30, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskmgr: Move Run dialog caption to resources, use the standard text.
parent
22508654
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
24 additions
and
10 deletions
+24
-10
Da.rc
programs/taskmgr/Da.rc
+1
-0
De.rc
programs/taskmgr/De.rc
+1
-0
En.rc
programs/taskmgr/En.rc
+1
-0
Fr.rc
programs/taskmgr/Fr.rc
+1
-0
Ja.rc
programs/taskmgr/Ja.rc
+1
-0
Ko.rc
programs/taskmgr/Ko.rc
+1
-0
Nl.rc
programs/taskmgr/Nl.rc
+1
-0
No.rc
programs/taskmgr/No.rc
+1
-0
Pl.rc
programs/taskmgr/Pl.rc
+1
-0
Ru.rc
programs/taskmgr/Ru.rc
+1
-0
Si.rc
programs/taskmgr/Si.rc
+1
-0
Tr.rc
programs/taskmgr/Tr.rc
+1
-0
resource.h
programs/taskmgr/resource.h
+4
-2
run.c
programs/taskmgr/run.c
+8
-8
No files found.
programs/taskmgr/Da.rc
View file @
f8a104f4
...
...
@@ -433,6 +433,7 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_APP_TITLE "Opgavebehandler"
IDC_TASKMGR "Opgavebehandler"
IDS_RUNDLG_CAPTION "Create New Task"
END
STRINGTABLE DISCARDABLE
...
...
programs/taskmgr/De.rc
View file @
f8a104f4
...
...
@@ -428,6 +428,7 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_APP_TITLE "Task-Manager"
IDC_TASKMGR "Task-Manager"
IDS_RUNDLG_CAPTION "Create New Task"
END
STRINGTABLE DISCARDABLE
...
...
programs/taskmgr/En.rc
View file @
f8a104f4
...
...
@@ -433,6 +433,7 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_APP_TITLE "Task Manager"
IDC_TASKMGR "Task Manager"
IDS_RUNDLG_CAPTION "Create New Task"
END
STRINGTABLE DISCARDABLE
...
...
programs/taskmgr/Fr.rc
View file @
f8a104f4
...
...
@@ -434,6 +434,7 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_APP_TITLE "Gestionnaire des tches"
IDC_TASKMGR "Gestionnaire des tches"
IDS_RUNDLG_CAPTION "Create New Task"
END
STRINGTABLE DISCARDABLE
...
...
programs/taskmgr/Ja.rc
View file @
f8a104f4
...
...
@@ -434,6 +434,7 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_APP_TITLE "タスク マネージャ"
IDC_TASKMGR "タスク マネージャ"
IDS_RUNDLG_CAPTION "Create New Task"
END
STRINGTABLE DISCARDABLE
...
...
programs/taskmgr/Ko.rc
View file @
f8a104f4
...
...
@@ -433,6 +433,7 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_APP_TITLE "작업 관리자"
IDC_TASKMGR "작엄 관리자"
IDS_RUNDLG_CAPTION "Create New Task"
END
STRINGTABLE DISCARDABLE
...
...
programs/taskmgr/Nl.rc
View file @
f8a104f4
...
...
@@ -428,6 +428,7 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_APP_TITLE "Task Manager"
IDC_TASKMGR "Task Manager"
IDS_RUNDLG_CAPTION "Create New Task"
END
STRINGTABLE DISCARDABLE
...
...
programs/taskmgr/No.rc
View file @
f8a104f4
...
...
@@ -433,6 +433,7 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_APP_TITLE "Oppgavebehandler"
IDC_TASKMGR "Oppgavebehandler"
IDS_RUNDLG_CAPTION "Create New Task"
END
STRINGTABLE DISCARDABLE
...
...
programs/taskmgr/Pl.rc
View file @
f8a104f4
...
...
@@ -433,6 +433,7 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_APP_TITLE "Meneder zada"
IDC_TASKMGR "Meneder zada"
IDS_RUNDLG_CAPTION "Utwrz nowe zadanie"
END
STRINGTABLE DISCARDABLE
...
...
programs/taskmgr/Ru.rc
View file @
f8a104f4
...
...
@@ -433,6 +433,7 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_APP_TITLE " "
IDC_TASKMGR " "
IDS_RUNDLG_CAPTION "Create New Task"
END
STRINGTABLE DISCARDABLE
...
...
programs/taskmgr/Si.rc
View file @
f8a104f4
...
...
@@ -435,6 +435,7 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_APP_TITLE "Upravitelj opravil"
IDC_TASKMGR "Upravitelj opravil"
IDS_RUNDLG_CAPTION "Create New Task"
END
STRINGTABLE DISCARDABLE
...
...
programs/taskmgr/Tr.rc
View file @
f8a104f4
...
...
@@ -433,6 +433,7 @@ STRINGTABLE DISCARDABLE
BEGIN
IDS_APP_TITLE "Grev Yneticisi"
IDC_TASKMGR "Grev Yneticisi"
IDS_RUNDLG_CAPTION "Create New Task"
END
STRINGTABLE DISCARDABLE
...
...
programs/taskmgr/resource.h
View file @
f8a104f4
...
...
@@ -4,15 +4,17 @@
* Used by taskmgr.rc
*
*/
#define IDS_APP_TITLE 103
#define IDC_TASKMGR 109
#define IDS_RUNDLG_CAPTION 110
#define IDD_TASKMGR_DIALOG 102
#define IDD_ABOUTBOX 103
#define IDS_APP_TITLE 103
#define IDM_ABOUT 104
#define IDM_EXIT 105
#define IDD_APPLICATION_PAGE 106
#define IDI_TASKMGR 107
#define IDI_SMALL 108
#define IDC_TASKMGR 109
#define IDR_MAINFRAME 128
#define IDR_TASKMANAGER 130
#define IDD_PROCESS_PAGE 133
...
...
programs/taskmgr/run.c
View file @
f8a104f4
...
...
@@ -54,10 +54,6 @@ void TaskManager_OnFileNew(void)
HMODULE
hShell32
;
RUNFILEDLG
RunFileDlg
;
OSVERSIONINFO
versionInfo
;
WCHAR
wTitle
[
40
];
WCHAR
wText
[
256
];
char
szTitle
[
40
]
=
"Create New Task"
;
char
szText
[
256
]
=
"Type the name of a program, folder, document, or Internet resource, and Task Manager will open it for you."
;
hShell32
=
LoadLibrary
(
_T
(
"SHELL32.DLL"
));
RunFileDlg
=
(
RUNFILEDLG
)(
FARPROC
)
GetProcAddress
(
hShell32
,
(
char
*
)((
long
)
0x3D
));
...
...
@@ -70,12 +66,16 @@ void TaskManager_OnFileNew(void)
if
(
versionInfo
.
dwPlatformId
==
VER_PLATFORM_WIN32_NT
)
{
MultiByteToWideChar
(
CP_ACP
,
MB_PRECOMPOSED
,
szTitle
,
-
1
,
wTitle
,
40
)
;
MultiByteToWideChar
(
CP_ACP
,
MB_PRECOMPOSED
,
szText
,
-
1
,
wText
,
256
);
RunFileDlg
(
hMainWnd
,
0
,
NULL
,
(
LPCSTR
)
wTitle
,
(
LPCSTR
)
wText
,
RFF_CALCDIRECTORY
);
WCHAR
wTitle
[
64
]
;
LoadStringW
(
GetModuleHandleW
(
NULL
),
IDS_RUNDLG_CAPTION
,
wTitle
,
64
);
RunFileDlg
(
hMainWnd
,
0
,
NULL
,
(
LPCSTR
)
wTitle
,
NULL
,
RFF_CALCDIRECTORY
);
}
else
RunFileDlg
(
hMainWnd
,
0
,
NULL
,
szTitle
,
szText
,
RFF_CALCDIRECTORY
);
{
char
szTitle
[
64
];
LoadStringA
(
GetModuleHandleW
(
NULL
),
IDS_RUNDLG_CAPTION
,
szTitle
,
64
);
RunFileDlg
(
hMainWnd
,
0
,
NULL
,
szTitle
,
NULL
,
RFF_CALCDIRECTORY
);
}
}
FreeLibrary
(
hShell32
);
...
...
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