Re: ActiveX Control: Preview at Design Time
- From: "Alexander Nickolov" <agnickolov@xxxxxxxx>
- Date: Mon, 9 Jul 2007 14:24:43 -0700
Don't put standard interfaces in type libs. If they aren't in one
already, there might just be a good reason for that... :)
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@xxxxxxxx
MVP VC FAQ: http://vcfaq.mvps.org
=====================================
"Udo Schneider" <Udo.Schneider@xxxxxxxxxxxxxx> wrote in message
news:f6mbqp$i2h$1@xxxxxxxxxxxxxxxxxxxx
Igor Tandetnik wrote:
You need to call IAdviseSink::OnViewChange on the pointer passed to yourDid this - thanks for the advise. However I just found out what's the root
SetAdvise, whenever anything changes that might affect your view. This is
roughly equivalent to calling InvalidateWindow to trigger WM_PAINT.
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
.
- 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
- From: Udo Schneider
- Re: ActiveX Control: Preview at Design Time
- Prev by Date: Re: Force MIDL to generate TLB with local interfaces
- Next by Date: Re: Which Win32 command in cmd prompt to give LIST of Wireless Network
- Previous by thread: Re: ActiveX Control: Preview at Design Time
- Next by thread: Force MIDL to generate TLB with local interfaces
- Index(es):