Activex Control

This is a discussion on Activex Control within the Windows Programming forums, part of the Platform Specific Boards category; I am unable to develop a perfect full fledged activex control using MFC. Can any body help where I can ...

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    21

    Unhappy Activex Control

    I am unable to develop a perfect full fledged activex control using MFC. Can any body help where I can get complete info on it.
    Not what is provided by MSDN

  2. #2
    Unregistered
    Guest
    You should get or borrow a copy of the Visual C++ Programmers Guide.

    Chapter 8 or 9 shows gives you a short course in how to make and Active X control using MFC. Then next chapter deals with ATL.

    If you are using VC++ and use the MFC ActiveX Control Wizard it should be too hard, much is done for you. You should also familiarize yourself with the Class Wizard (Under the view menu) and its Automation tab. There you will add all your Properties, Methods, Events, etc.

  3. #3
    vn1
    vn1 is offline
    Registered User vn1's Avatar
    Join Date
    Jun 2002
    Posts
    13
    So well, it is impossible to create such control without MFC, isn't it?
    Vaidotas.Vilnius.lt

  4. #4
    Registered User
    Join Date
    Oct 2001
    Posts
    13

    Talking

    You can use the ATL instead, which apparently is not MFC.

    MFC ActiveX Controls are just easier and you need to make sure your user has your the MFC dlls or you have to staticly link them making your control bigger. (adds about 300 kb)

    You can make ActiveX controls with ATL, but they are closer to COM objects I guess, but I am not sure.

  5. #5
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786
    Originally posted by blundstrom
    You can use the ATL instead, which apparently is not MFC.

    MFC ActiveX Controls are just easier and you need to make sure your user has your the MFC dlls or you have to staticly link them making your control bigger. (adds about 300 kb)

    You can make ActiveX controls with ATL, but they are closer to COM objects I guess, but I am not sure.
    ATL is a different framework from MFC.......I am only just starting to learn a little ATL and so far I have found it to be a total b*tch to learn!

    It uses a lot of multiple inheritance and a real weird way of using templates......

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 05:23 AM
  2. using the ActiveX control
    By jverkoey in forum Windows Programming
    Replies: 3
    Last Post: 04-10-2004, 06:44 PM
  3. creating an activex control
    By Benzakhar in forum Windows Programming
    Replies: 9
    Last Post: 12-29-2003, 05:32 PM
  4. Can't I reduce the default size of Activex Control (rcBounds)
    By samudrala_99 in forum Windows Programming
    Replies: 1
    Last Post: 10-23-2002, 09:24 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21