Marko Binic
2005-08-15 19:25:39 UTC
I was trying to implement a (very simple) rendering behavior for use with a
WebBrowser-control-hosted MSHTML for the first time, so I looked it up on
MSDN and did everything right except the hooking up :(
I can't find the declaration (value) of the constant CLSID_RenderingBehavior
as shown in the MSDN document "Using Rendering Behaviors" at
http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/editing/imprendbehav.asp
To see the sample click on the last "Show Example" on the page.
Here's the problematic code:
CoCreateInstance(CLSID_RenderingBehavior,
NULL,
CLSCTX_INPROC_SERVER,
IID_IElementBehaviorFactory, (void**)&pRBFactory);
Can anyone please help me locate the declaration of the
CLSID_RenderingBehavior constant?
Marko
WebBrowser-control-hosted MSHTML for the first time, so I looked it up on
MSDN and did everything right except the hooking up :(
I can't find the declaration (value) of the constant CLSID_RenderingBehavior
as shown in the MSDN document "Using Rendering Behaviors" at
http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/editing/imprendbehav.asp
To see the sample click on the last "Show Example" on the page.
Here's the problematic code:
CoCreateInstance(CLSID_RenderingBehavior,
NULL,
CLSCTX_INPROC_SERVER,
IID_IElementBehaviorFactory, (void**)&pRBFactory);
Can anyone please help me locate the declaration of the
CLSID_RenderingBehavior constant?
Marko