CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2003
    Location
    Bangalore
    Posts
    78

    Doubt in MFC ActiveX Control!

    Hi All,

    How to create a custom property in MFC ActiveX control?

    Like,

    xxxxxxx.yyyyyyyy.zzzzzzzz.qqqqqq


    Where,

    xxxxxxx is the control name.

    yyyyyyyy is a property of the control.

    zzzzzzzz is the subproperty of the yyyyyyyy.

    qqqqqq is the subproperty of the zzzzzzzz.

    Eg.

    Font1.Color.Intensity.Value

    With Regards,
    A.Ilamparithi.

  2. #2
    Join Date
    Apr 1999
    Posts
    3,585
    Start with the MSDN article ActiveX Controls: Adding Custom Properties.
    Gort...Klaatu, Barada Nikto!

  3. #3
    Join Date
    Nov 2003
    Location
    Bangalore
    Posts
    78

    Re:

    Originally posted by Mike Harnad
    Start with the MSDN article ActiveX Controls: Adding Custom Properties.
    Hi Mike,

    I had and i know to create Custom properties like,

    xxxxxxxx.yyyyyyyy

    Where,

    xxxxxxxx is the control name,

    yyyyyyyy is the custom property.

    But, the problem is how to create sub property like the example i mentioned above. I dont think that the documentation u suggested and others i have seen seem to have that information.

    With Thanks,
    A.Ilamparithi.

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