CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: ActiveX control

  1. #1
    Join Date
    Dec 2000
    Location
    Greece, Athens
    Posts
    219

    ActiveX control

    i have implemented an activeX control to draw a graph. now i want to place some controls around so that the user is able to interact with it (same as the properties tab dialog, but the controls are placed around). Also, i need to display the activeX in a window.

    i am thinking of creating a CSplitterWnd in my application, place the controls in the view on the left pane, and the activeX in the view of the right pane. But this means i ll have to handle these from the application, is that correct approach?

    Alternatively, how could i make my activeX to be a window, with toolbar & controls & etc around ?

    thx

    giorgos

  2. #2
    Join Date
    Sep 2001
    Location
    Bristol, England
    Posts
    321

    Re: ActiveX control

    You could try creating a CFormView (a view based on a dialog)


  3. #3
    Join Date
    Oct 2001
    Location
    CA,USA
    Posts
    60

    Re: ActiveX control

    Put all your controls on a dialog.
    Create that dialog in your control.
    See my article at
    http://atcsoft.freeservers.com/thele...gToControl.htm

    Please rate the article if it is of any use to you. This encourages me to reply more and more and more.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured