MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




ToolBars Color

This is a discussion on ToolBars Color within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, how can i change the mappoint toolbars color?...


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

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 04-26-2005
Member
Yellow Belt
 
Join Date: Dec 2004
Posts: 44
ToolBars Color

Hi,
how can i change the mappoint toolbars color?
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 04-27-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,105
hi,

you cannot, however a workaround can be that you crete your own toolbars.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 05-16-2005
Junior Member
White Belt
 
Join Date: May 2005
Posts: 5
How Can this be done?

Hello, I have been assigned to make an "idiot proof" MapPoint Control application and I only want the users have access to a few specific tools (polygon, zoom, ...). Is there such a "workaround" that will allow me to make my own toolbar? I've thought about using the default VB toolbar and just adding my own command shortcuts, but I can not figure out how to change tools programmatically. Is this the right direction? Is there anything else I could try?
Thanks,
Jeremy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 05-16-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,105
Re: How Can this be done?

Hi Jeremy,

Quote:
Originally Posted by jswitzerTTN
I've thought about using the default VB toolbar and just adding my own command shortcuts
Yes that's the way to go...

Quote:
, but I can not figure out how to change tools programmatically
Almost every thing in mappoint is accessible trough the COM / object model. Not everything. For the things that you cannot access you can send keys to the component (most things have a shortcut key). If you diont wants the user to send these keys by his keyboard then you have to trap keyboard keys before they are sent. This is fun programming
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 05-16-2005
Junior Member
White Belt
 
Join Date: May 2005
Posts: 5
Key Shortcuts

Sounds Like fun.
Could you point me in the right direction with a reference or example for making this happen? For instance: If I wanted to change to the Freeform tool on some event.
Thanks in Advance.
Jeremy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 05-16-2005
Junior Member
White Belt
 
Join Date: May 2005
Posts: 5
Update

Ok, I found the shortcut reference inside MapPoint help. Very cool. still not sure how to switch tools, but I've gotten this far.
Jeremy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 05-16-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,105
Hi Jeremy,

I'm not sure what you means by 'switch tools', can you enlighten your question ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 05-16-2005
Junior Member
White Belt
 
Join Date: May 2005
Posts: 5
Switching tools

Since the MapPoint API does not include a method for creating custom toobars within an application, I want to find a shortcut or command to put the focus on a specific tool on one of the MapPoint toolbars.

Once I have this, I could link it to my own custom VB toolbar object.

For example:
I want the user to be able to zoom in and out on the map, but I don't want to give them the ability to use any of the other tools on the "Navigation" toolbar Provided by the API. I found that this could be done simply using the "+" and "-" keys. So I somehow map buttons for "+" and "-" on my own tool bar, and I have reached my goal.

Now, my problem is that I want to gain focus of the "Freeform tool" on the "Drawing" toolbar, but I cannot find a shortcut. Is this still possible?
Thanks,
Jeremy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 05-17-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,105
Hi Jeremy,

I think I understeand what you mean. Please dont shoot me in the foot if I did not

You have your own toolbars and you want to execute some of the mappoint toolbars. There are several ways to do this. The most easy one is to send a key to the component. Just as you doe now with the zoom keys '+' '-', but this you already know. I think for most (each ?) thing in the toolbar there is a shortcut key. There was an article or post a while ago. Try to do a search for "Hidden" or "hidden features" or something.

The things that does not have shortcut key are maybe accecible trough menu ? Then you can sen dalso key's to it with ctrl or shift...

The othere approach is to send a mouse up message to the button. However I think the button must be visible, and you have to find it's windows handle. However here are tools for that. I also think there was a post or article here concerning this a while ago. Pleas try to find them.

Please give feedback on how you proceed, because this is interssting matter and it will beneifit other people too.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10 (permalink)  
Old 05-17-2005
Junior Member
White Belt
 
Join Date: May 2005
Posts: 5
Just what I was looking for

That is what i'm talking about Wilfried!

I found the article right away, but then I found an old discussion that was even more helpful:

http://www.mp2kmag.com/mappoint/disc...extend+activex

the vb project already had something pretty darn close to what i needed in the example form, but i've already started looking inside the classes and there is a lot of good stuff, I'm gonna look at this some more and I let you know of my progress.
Thanks for everything,
Jeremy
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
color, toolbars


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
Managing Toolbars (In .Net) EdB MapPoint 2006/2009 Discussion 3 02-17-2005 09:19 AM
Customizable Toolbars DavidP Wish List 0 01-12-2005 07:02 PM
Toolbars and C# ddpg MapPoint 2006/2009 Discussion 1 03-29-2004 07:29 AM
toolbars Fisherman´s Friend MapPoint 2006/2009 Discussion 0 09-22-2003 07:13 AM
Toolbars Bart Vervenne Wish List 0 04-11-2003 01:38 PM


All times are GMT -5. The time now is 01:22 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

Ski Chalet Holidays
Considering ski chalet holidays? Why not find out what your options our using the simple ski holiday search online at Holiday Hypermarket. Why not check it out now?

Flights to Cyprus
Find cheap flights to Cyprus on Travel Counsellors. A personal Travel Counsellor can help you plan flights and find accommodation in Cyprus.

Flight
When looking to jet set off, make sure you check out dealchecker.co.uk before you check in anywhere else. Bag a bargain flight from all major scheduled and charter airlines.

Cuba Holidays
Cuba holidays offer an exciting cultural and wonderful culinary experience. Book with The Holiday Place for a great deal.

Portugal
As well as providing some great weather Portugal has much to offer culturally. There are numerous museums, monuments and places of historical interest to explore. Despite the rich history there is a buzzing nightlife and great shopping too.

Price Comparison
Price comparison is the name of the game at Travel.co.uk. Visit our website and see for yourself.

Holidays in Portugal
Find the perfect Algarve holiday. Book holidays in Portugal now at On The Beach.


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