MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




disabling deleting pushpin

This is a discussion on disabling deleting pushpin within the MapPoint 2006/2009 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....


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-28-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
disabling deleting pushpin

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

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 05-28-2004
Winwaed's Avatar
Mapping-Tools.com
Black Belt
 
Join Date: Feb 2004
Posts: 1,142
Blog Entries: 22
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
See the Geoweb Guru for online mapping
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
deleting, disabling, pushpin


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Disabling closing of MapPoint? MD2000 MapPoint 2006/2009 Discussion 1 05-09-2005 04:57 PM
Disabling the Save Pop up when application closes Anonymous MapPoint 2006/2009 Discussion 2 02-10-2005 10:58 PM
Disabling cut option Anonymous MapPoint 2006/2009 Discussion 0 07-09-2004 03:05 AM
Disabling Cntl Key Functions from MapPoint Control Anonymous MapPoint 2006/2009 Discussion 2 03-18-2003 06:06 AM
I am deleting a pushpin from my Mapoint control. B.... Anonymous MapPoint 2006/2009 Discussion 2 06-06-2002 09:39 PM


All times are GMT -5. The time now is 12:45 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Tenerife Holiday
Find a great deal on a Tenerife holiday through UlookUbook! Check out the options online...



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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59