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
ca854add
Commit
ca854add
authored
Jul 08, 2008
by
Mikołaj Zalewski
Committed by
Alexandre Julliard
Jul 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: RunFileDlg: Allow custom icons.
parent
eb4ed9ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
dialogs.c
dlls/shell32/dialogs.c
+6
-3
No files found.
dlls/shell32/dialogs.c
View file @
ca854add
...
...
@@ -139,9 +139,12 @@ static INT_PTR CALLBACK RunDlgProc (HWND hwnd, UINT message, WPARAM wParam, LPAR
if
(
prfdp
->
uFlags
&
RFF_CALCDIRECTORY
)
FIXME
(
"RFF_CALCDIRECTORY not supported
\n
"
);
SetClassLongPtrW
(
hwnd
,
GCLP_HICON
,
(
LPARAM
)
prfdp
->
hIcon
)
;
SendMessageW
(
GetDlgItem
(
hwnd
,
IDC_RUNDLG_ICON
),
STM_SETICON
,
(
WPARAM
)
LoadIconW
(
NULL
,
(
LPCWSTR
)
IDI_WINLOGO
),
0
);
if
(
prfdp
->
hIcon
==
NULL
)
prfdp
->
hIcon
=
LoadIconW
(
NULL
,
(
LPCWSTR
)
IDI_WINLOGO
);
SendMessageW
(
hwnd
,
WM_SETICON
,
ICON_BIG
,
(
LPARAM
)
prfdp
->
hIcon
);
SendMessageW
(
hwnd
,
WM_SETICON
,
ICON_SMALL
,
(
LPARAM
)
prfdp
->
hIcon
);
SendMessageW
(
GetDlgItem
(
hwnd
,
IDC_RUNDLG_ICON
),
STM_SETICON
,
(
WPARAM
)
prfdp
->
hIcon
,
0
);
FillList
(
GetDlgItem
(
hwnd
,
IDC_RUNDLG_EDITPATH
),
NULL
,
(
prfdp
->
uFlags
&
RFF_NODEFAULT
)
==
0
)
;
SetFocus
(
GetDlgItem
(
hwnd
,
IDC_RUNDLG_EDITPATH
))
;
return
TRUE
;
...
...
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