Re: I want to ask some questions about container
Are you talking about an OLE container? Or an ActiveX
Document Container? Or an ActiveX Control Container?
Or some other kind of container?
Some generic answers. For 1, unless your container is itself
a COM object server, you shouldn't need to register it. For 2,
assuming an ActiveX Control container, you typically don't
need to create object classes via the ATL new object wizard.
You need to call AtlAxWinInit once during initialization, then
place your ActiveX Controls on dialogs implemented via
CAxDialogImpl, or create them dynamically at runtime via
CAxWindow.
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@mvps.org
MVP VC FAQ: http://vcfaq.mvps.org
=====================================
"Lee Tow" <fbjlt@pub3.fz.fj.cn> wrote in message
news:OoQ%23mi6uHHA.3668@TK2MSFTNGP03.phx.gbl...
Hello all:
1:The container don't need to register,does it right?
2:I create a project using atl in vc6,I want to
develop a container,and then insert a new atl object,
now I want to know what category and object I need select?
thanks very much.