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
b7ad8fbb
Commit
b7ad8fbb
authored
Oct 18, 2006
by
Huw Davies
Committed by
Alexandre Julliard
Oct 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oledlg: Send the OLEUI_MSG_ENDDIALOG messsage when closing the dialog.
parent
bda36798
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
pastespl.c
dlls/oledlg/pastespl.c
+12
-2
No files found.
dlls/oledlg/pastespl.c
View file @
b7ad8fbb
...
...
@@ -288,6 +288,11 @@ static void init_lists(HWND hdlg, ps_struct_t *ps_struct)
EnableWindow
(
GetDlgItem
(
hdlg
,
IDOK
),
0
);
}
static
void
send_end_dialog_msg
(
HWND
hdlg
,
ps_struct_t
*
ps_struct
,
UINT
id
)
{
SendMessageW
(
hdlg
,
oleui_msg_enddialog
,
id
,
0
);
}
static
void
update_structure
(
HWND
hdlg
,
ps_struct_t
*
ps_struct
)
{
ps_struct
->
ps
->
dwFlags
=
ps_struct
->
flags
;
...
...
@@ -338,6 +343,13 @@ static INT_PTR CALLBACK ps_dlg_proc(HWND hdlg, UINT msg, WPARAM wp, LPARAM lp)
{
case
IDOK
:
case
IDCANCEL
:
send_end_dialog_msg
(
hdlg
,
ps_struct
,
LOWORD
(
wp
));
return
FALSE
;
}
return
FALSE
;
default:
if
(
msg
==
oleui_msg_enddialog
)
{
if
(
wp
==
IDOK
)
update_structure
(
hdlg
,
ps_struct
);
EndDialog
(
hdlg
,
wp
);
...
...
@@ -345,8 +357,6 @@ static INT_PTR CALLBACK ps_dlg_proc(HWND hdlg, UINT msg, WPARAM wp, LPARAM lp)
return
TRUE
;
}
return
FALSE
;
default:
return
FALSE
;
}
}
...
...
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