Rob Richardson wrote:
> Thank you for your reply.
> 
> You say to drag a text box onto the dialog.  I am quite familiar with
> dialog boxes, messages and message handlers.  My question is: what
> dialog?  The files I get automatically when I create an ActiveX control
> project don't include a dialog.  They include a property sheet.  I did
> find an example on the Internet that gives me a good idea of what to do
> with the property page: one creates it by creating it dynamically and
> then calling m_pPropertyPage->Create() in the control's OnCreate()
> handler.  
> 
> But I don't understand why the default control you get when you create
> an ActiveX control project just draws an ellipse in the control's
> OnDraw() event.  Most people will want to drop elements onto some kind
> of form and then write event handlers for those elements.  Is there a
> template available on the Internet anyplace that automatically creates
> an ActiveX control with an active element such as a pushbutton contained
> on the control's property sheet?
> 
> 
> Robert D. Richardson
> Product Engineer Software
>  
> RAD-CON, Inc.
> TECHNOLOGY: Innovative & Proven
> Phone : +1.440.871.5720 ... ext 123
> Fax:  +1.440.871.2948
> Website:  www.RAD-CON.com
> E-mail:  [email protected]

Maybe this will help:

http://www.codeproject.com/KB/COM/CompleteActiveX.aspx

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to