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

Thread: Control Event

  1. #1
    Join Date
    Jun 2009
    Posts
    8

    Talking Control Event

    How to get send / receive event from an ocx control ?
    I have Created a class in the client inheriting from IAdviseSink
    and a class in the ocx inherited from IDataObject
    also implemented the DAdvise function and called CreateDataAdviseHolder in the ocx
    where can I find a good simple example of it ?
    How does the client gets the OnDataChange event function

    10x

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,090

    Re: Control Event

    What is 10x??

  3. #3
    ovidiucucu's Avatar
    ovidiucucu is offline Moderator/Reviewer Power Poster
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,021

    Re: Control Event

    If the client application is MFC or ATL, then simply use the wizard to map events.
    Do the same in the ActiveX control.
    Ovidiu Cucu
    "When in Rome, do as Romans do."
    Visit: Microsoft Virtual Academy
    Follow: https://twitter.com/#!/ovidiucucu
    My blog: http://codexpert.ro/blog/author/ovidiu-cucu/

  4. #4
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    5,957

    Re: Control Event

    Quote Originally Posted by HanneSThEGreaT View Post
    What is 10x??
    Evidently it should stand for tenx or tenks. Pidgin English most probably.
    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
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center