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 2 of 2

disabling deleting pushpin

This is a discussion on disabling deleting pushpin within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi, someone knows how not to let user delete pushpins in a .net application using a mappoint COM control? Thanks....

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

    disabling deleting pushpin

    Hi,
    someone knows how not to let user delete pushpins
    in a .net application using a mappoint COM control?

    Thanks.

  2. #2
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60
    I haven't done it myself, but have heard of other people who have (try searching these forums and the newsgroup microsoft.public.mappoint), but what they did was:

    trap the "OnNewSelection" event (I'm not sure if that is the exact name, you need to find the one that is called when the user is trying to select a new object).
    Check the object to see if it is a pushpin. If so, return an error code so that MapPoint doesn't continue with the selection process.
    You logic could do a variety of different things, eg. check the pushpin symbol or name, and only disable certain types of pushpins.


    Richard
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Disabling closing of MapPoint?
    By MD2000 in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 05-09-2005, 05:57 PM
  2. Disabling the Save Pop up when application closes
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 02-10-2005, 11:58 PM
  3. Disabling cut option
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 07-09-2004, 04:05 AM
  4. Disabling Cntl Key Functions from MapPoint Control
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 03-18-2003, 07:06 AM
  5. I am deleting a pushpin from my Mapoint control. B....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 06-06-2002, 10:39 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