Re: ActiveX Control: Preview at Design Time
- From: Udo Schneider <Udo.Schneider@xxxxxxxxxxxxxx>
- Date: Fri, 06 Jul 2007 23:22:33 +0200
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
.
- Follow-Ups:
- Re: ActiveX Control: Preview at Design Time
- From: Alexander Nickolov
- Re: ActiveX Control: Preview at Design Time
- References:
- Re: ActiveX Control: Preview at Design Time
- From: Udo Schneider
- Re: ActiveX Control: Preview at Design Time
- From: Igor Tandetnik
- Re: ActiveX Control: Preview at Design Time
- Prev by Date: Re: ActiveX Control: Preview at Design Time
- Next by Date: Force MIDL to generate TLB with local interfaces
- Previous by thread: Re: ActiveX Control: Preview at Design Time
- Next by thread: Re: ActiveX Control: Preview at Design Time
- Index(es):