Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 3 of 3

OnSelectionChange VC++

This is a discussion on OnSelectionChange VC++ within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi, Did someone figure out how "OnSelectionChange(...)" works in C++ ? I'd like to get the object that was selected ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    OnSelectionChange VC++

    Hi,

    Did someone figure out how "OnSelectionChange(...)" works in C++ ?

    I'd like to get the object that was selected by a mouse click.

    Thanx in advance.

    Cheers,
    Robert

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    IDispatch

    I have the same question:

    Through the message handler I get an IDispatch pNewSelection
    How can I get, let's say the Location object out of pNewSelection?
    How do I have to configure and call the following:

    pNewSelection->GetIDsOfNames(......??......)

    pNewSelection->Invoke(.....??.....)

    CLocation myLoc = ??

    Regards,
    Ben

  3. #3
    tanguy_laverdure is offline Junior Member Yellow Belt
    Join Date
    Dec 2003
    Posts
    17

    OnSelectionChange Event

    Hi,
    I have the same request taht you
    Its seems that only a fiew events work with C++ programmation either with Visual c++ or c++ Builder.

    If you find a way to turn around, please tell me how

    cu,

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VC++ OnSelectionChange event
    By MP2KUser2 in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 10-13-2004, 02:24 PM

Tags for this Thread

Posting Permissions

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


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