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
abecb134
Commit
abecb134
authored
May 07, 2001
by
Duane Clark
Committed by
Alexandre Julliard
May 07, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Swap portrait/landscape icon when button clicked.
parent
d69c774d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
printdlg.c
dlls/commdlg/printdlg.c
+8
-0
No files found.
dlls/commdlg/printdlg.c
View file @
abecb134
...
...
@@ -1025,12 +1025,20 @@ static LRESULT PRINTDLG_WMCommand(HWND hDlg, WPARAM wParam,
case
rad1
:
/* Paperorientation */
if
(
lppd
->
Flags
&
PD_PRINTSETUP
)
{
lpdm
->
u1
.
s1
.
dmOrientation
=
DMORIENT_PORTRAIT
;
SendDlgItemMessageA
(
hDlg
,
ico1
,
STM_SETIMAGE
,
(
WPARAM
)
IMAGE_ICON
,
(
LPARAM
)(
PrintStructures
->
hPortraitIcon
));
}
break
;
case
rad2
:
/* Paperorientation */
if
(
lppd
->
Flags
&
PD_PRINTSETUP
)
{
lpdm
->
u1
.
s1
.
dmOrientation
=
DMORIENT_LANDSCAPE
;
SendDlgItemMessageA
(
hDlg
,
ico1
,
STM_SETIMAGE
,
(
WPARAM
)
IMAGE_ICON
,
(
LPARAM
)(
PrintStructures
->
hLandscapeIcon
));
}
break
;
case
cmb1
:
...
...
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