From: Todd D. P. <ci...@us...> - 2003-09-22 01:40:26
|
Log Message: ----------- And now we can force controls to Invalidate. Damned if I know why I didn't add this in before. Modified Files: -------------- /cvsroot/decaldev/source/Inject: Inject.idl SinkImpl.h Revision Data ------------- Index: Inject.idl =================================================================== RCS file: /cvsroot/decaldev/source/Inject/Inject.idl,v retrieving revision 1.40 retrieving revision 1.41 diff -u -d -r1.40 -r1.41 --- Inject.idl 17 Sep 2003 23:20:18 -0000 1.40 +++ Inject.idl 22 Sep 2003 01:40:22 -0000 1.41 @@ -302,6 +302,7 @@ [helpstring("Release all objects including the ILayerSite")] HRESULT LayerDestroy(); [propget, helpstring("property Position")] HRESULT Position([out, retval] RECT *pVal); [propput, helpstring("property Position")] HRESULT Position([in, out] RECT *newVal); + [helpstring("Invalidate the layer through ILayerSite")] HRESULT Invalidate(); }; [ Index: SinkImpl.h =================================================================== RCS file: /cvsroot/decaldev/source/Inject/SinkImpl.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- SinkImpl.h 16 Sep 2001 00:38:16 -0000 1.2 +++ SinkImpl.h 22 Sep 2003 01:40:22 -0000 1.3 @@ -77,6 +77,11 @@ { return m_pSite->get_Position(pVal); } + + STDMETHOD(Invalidate)() + { + return m_pSite->Invalidate(); + } }; class ATL_NO_VTABLE ILayerMouseImpl : public ILayerMouse |