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
20f899e7
Commit
20f899e7
authored
Apr 16, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
appwiz.cpl: Use the fancy new icon.
parent
6ef5ccb9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
appwiz.c
dlls/appwiz.cpl/appwiz.c
+14
-3
No files found.
dlls/appwiz.cpl/appwiz.c
View file @
20f899e7
...
...
@@ -899,6 +899,17 @@ static BOOL CALLBACK MainDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPar
return
FALSE
;
}
static
int
CALLBACK
propsheet_callback
(
HWND
hwnd
,
UINT
msg
,
LPARAM
lparam
)
{
switch
(
msg
)
{
case
PSCB_INITIALIZED
:
SendMessageW
(
hwnd
,
WM_SETICON
,
ICON_BIG
,
(
LPARAM
)
LoadIconW
(
hInst
,
MAKEINTRESOURCEW
(
ICO_MAIN
)
));
break
;
}
return
0
;
}
/******************************************************************************
* Name : StartApplet
* Description: Main routine for applet
...
...
@@ -928,14 +939,14 @@ static void StartApplet(HWND hWnd)
/* Fill out the PROPSHEETHEADER */
psh
.
dwSize
=
sizeof
(
PROPSHEETHEADERW
);
psh
.
dwFlags
=
PSH_PROPSHEETPAGE
|
PSH_USEICONID
;
psh
.
dwFlags
=
PSH_PROPSHEETPAGE
|
PSH_USEICONID
|
PSH_USECALLBACK
;
psh
.
hwndParent
=
hWnd
;
psh
.
hInstance
=
hInst
;
psh
.
u
.
pszIcon
=
NULL
;
psh
.
u
.
pszIcon
=
MAKEINTRESOURCEW
(
ICO_MAIN
)
;
psh
.
pszCaption
=
app_title
;
psh
.
nPages
=
1
;
psh
.
u3
.
ppsp
=
&
psp
;
psh
.
pfnCallback
=
NULL
;
psh
.
pfnCallback
=
propsheet_callback
;
psh
.
u2
.
nStartPage
=
0
;
/* Display the property sheet */
...
...
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