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
aa9fdd06
Commit
aa9fdd06
authored
Oct 19, 2006
by
Huw Davies
Committed by
Alexandre Julliard
Oct 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oledlg: Minimal 'As Icon' handling. Just disable for now.
parent
15768f85
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
pastespl.c
dlls/oledlg/pastespl.c
+18
-0
No files found.
dlls/oledlg/pastespl.c
View file @
aa9fdd06
...
...
@@ -290,6 +290,23 @@ static void init_lists(HWND hdlg, ps_struct_t *ps_struct)
EnableWindow
(
GetDlgItem
(
hdlg
,
IDOK
),
0
);
}
static
void
update_as_icon
(
HWND
hdlg
,
ps_struct_t
*
ps_struct
)
{
HWND
icon_display
=
GetDlgItem
(
hdlg
,
IDC_PS_ICONDISPLAY
);
HWND
display_as_icon
=
GetDlgItem
(
hdlg
,
IDC_PS_DISPLAYASICON
);
HWND
change_icon
=
GetDlgItem
(
hdlg
,
IDC_PS_CHANGEICON
);
/* FIXME. No as icon handling */
ps_struct
->
flags
&=
~
PSF_CHECKDISPLAYASICON
;
CheckDlgButton
(
hdlg
,
IDC_PS_DISPLAYASICON
,
ps_struct
->
flags
&
PSF_CHECKDISPLAYASICON
);
EnableWindow
(
display_as_icon
,
0
);
ShowWindow
(
icon_display
,
SW_HIDE
);
EnableWindow
(
icon_display
,
0
);
ShowWindow
(
change_icon
,
SW_HIDE
);
EnableWindow
(
change_icon
,
0
);
}
static
void
update_result_text
(
HWND
hdlg
,
ps_struct_t
*
ps_struct
)
{
WCHAR
resource_txt
[
200
];
...
...
@@ -341,6 +358,7 @@ static void update_result_text(HWND hdlg, ps_struct_t *ps_struct)
static
void
selection_change
(
HWND
hdlg
,
ps_struct_t
*
ps_struct
)
{
update_as_icon
(
hdlg
,
ps_struct
);
update_result_text
(
hdlg
,
ps_struct
);
}
...
...
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