[PATCH] OnAmbientPropertyChange should refresh all properties with a DISPID_UNKNOWN
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Wed Jan 28 03:43:56 CST 2009
---
dlls/shdocvw/oleobject.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/shdocvw/oleobject.c b/dlls/shdocvw/oleobject.c
index 198ff2a..cd5e605 100644
--- a/dlls/shdocvw/oleobject.c
+++ b/dlls/shdocvw/oleobject.c
@@ -718,6 +718,11 @@ static HRESULT WINAPI OleControl_OnAmbientPropertyChange(IOleControl *iface, DIS
TRACE("(%p)->(%d)\n", This, dispID);
switch(dispID) {
+ case DISPID_UNKNOWN:
+ /* Unknown means multiple properties changed, so check them all. */
+ on_offlineconnected_change(This);
+ on_silent_change(This);
+ return S_OK;
case DISPID_AMBIENT_OFFLINEIFNOTCONNECTED:
return on_offlineconnected_change(This);
case DISPID_AMBIENT_SILENT:
--
1.5.4.3
--------------050703040209000007060702--
More information about the wine-patches
mailing list