Re: ActiveX Control: Preview at Design Time



Igor Tandetnik wrote:
You need to call IAdviseSink::OnViewChange on the pointer passed to your SetAdvise, whenever anything changes that might affect your view. This is roughly equivalent to calling InvalidateWindow to trigger WM_PAINT.
Did this - thanks for the advise. However I just found out what's the root cause. The Typelib for IViewObject I generated contained the remote interface definitions (see other post). I have to find out how to force MIDL to generate the local definitions.

CU,

Udo
.