Sunday, January 11, 2009

SL unmanaged helpers on codeplex

I posted updated version of unmanaged helpers for accessing SL object model. With helpers you can write code in C++ which matches C# or jscript.

For example here is how to add an event handler to an object

vObj.addEventListener(L"MouseEnter",
CXcpDelegateT(CObject)::create(this, &CObject::OnMouseEnter));

Source code is available on http://www.codeplex.com/mydock

No comments: