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
ca12410f
Commit
ca12410f
authored
Jun 30, 2008
by
Mikołaj Zalewski
Committed by
Alexandre Julliard
Jul 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskmgr: Use own icon in Run dialog.
parent
ca854add
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
run.c
programs/taskmgr/run.c
+3
-2
No files found.
programs/taskmgr/run.c
View file @
ca12410f
...
...
@@ -61,6 +61,7 @@ void TaskManager_OnFileNew(void)
/* Show "Run..." dialog */
if
(
RunFileDlg
)
{
HICON
hIcon
=
LoadIconW
(
GetModuleHandleW
(
NULL
),
MAKEINTRESOURCEW
(
IDI_TASKMANAGER
));
versionInfo
.
dwOSVersionInfoSize
=
sizeof
(
OSVERSIONINFO
);
GetVersionEx
(
&
versionInfo
);
...
...
@@ -68,13 +69,13 @@ void TaskManager_OnFileNew(void)
{
WCHAR
wTitle
[
64
];
LoadStringW
(
GetModuleHandleW
(
NULL
),
IDS_RUNDLG_CAPTION
,
wTitle
,
64
);
RunFileDlg
(
hMainWnd
,
0
,
NULL
,
(
LPCSTR
)
wTitle
,
NULL
,
RFF_CALCDIRECTORY
);
RunFileDlg
(
hMainWnd
,
hIcon
,
NULL
,
(
LPCSTR
)
wTitle
,
NULL
,
RFF_CALCDIRECTORY
);
}
else
{
char
szTitle
[
64
];
LoadStringA
(
GetModuleHandleW
(
NULL
),
IDS_RUNDLG_CAPTION
,
szTitle
,
64
);
RunFileDlg
(
hMainWnd
,
0
,
NULL
,
szTitle
,
NULL
,
RFF_CALCDIRECTORY
);
RunFileDlg
(
hMainWnd
,
hIcon
,
NULL
,
szTitle
,
NULL
,
RFF_CALCDIRECTORY
);
}
}
...
...
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