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
a247086c
Commit
a247086c
authored
Feb 12, 2001
by
Huw D M Davies
Committed by
Alexandre Julliard
Feb 12, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Call LoadImage to load the non-standard sized collate icons.
parent
804edb1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
printdlg.c
dlls/commdlg/printdlg.c
+4
-2
No files found.
dlls/commdlg/printdlg.c
View file @
a247086c
...
...
@@ -639,10 +639,12 @@ static LRESULT PRINTDLG_WMInitDialog(HWND hDlg, WPARAM wParam,
UINT
comboID
=
(
lppd
->
Flags
&
PD_PRINTSETUP
)
?
cmb1
:
cmb4
;
/* load Collate ICONs */
/* We load these with LoadImage becasue they are not a standard
size and we don't want them rescaled */
PrintStructures
->
hCollateIcon
=
LoadI
conA
(
COMDLG32_hInstance
,
"PD32_COLLATE"
);
LoadI
mageA
(
COMDLG32_hInstance
,
"PD32_COLLATE"
,
IMAGE_ICON
,
0
,
0
,
0
);
PrintStructures
->
hNoCollateIcon
=
LoadI
conA
(
COMDLG32_hInstance
,
"PD32_NOCOLLATE"
);
LoadI
mageA
(
COMDLG32_hInstance
,
"PD32_NOCOLLATE"
,
IMAGE_ICON
,
0
,
0
,
0
);
if
(
PrintStructures
->
hCollateIcon
==
0
||
PrintStructures
->
hNoCollateIcon
==
0
)
{
ERR
(
"no icon in resourcefile
\n
"
);
...
...
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