CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2001
    Location
    Rotmanka, Poland
    Posts
    88

    ActiveX - add custom method problem

    Hi All !

    I have very stupid problem. After long time I back to ActiveX programing. I try create a easy ActiveX control with mfc what will have a one public method, visible from container. Last time I made it in VS 6.0 - basic point.

    I have a VS 8.0 (2005) now. I see at documentation, that I shoud use a Class View, next in control class I shoud use a shortcut menu->add->add method. I havn't add method, but add function (look similarly ), start a dialog. And here start a problem: I havn't any posibilities like VARIANT_BOOL or Internal Name Box. I can only add a normal function what will not create a OCX interface (DISP_FUNCTION and rest)

    Any idea ?
    Thnx in advance
    Olek

  2. #2
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,633

    Re: ActiveX - add custom method problem

    Methods are added to interface
    Attached Images Attached Images
    Last edited by Igor Vartanov; October 2nd, 2007 at 09:15 AM.
    Best regards,
    Igor

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