MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




How to disable help in activeX

This is a discussion on How to disable help in activeX within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello, I'm beginer with Mappoint and I have some problems. I use the activeX with Visual C++. When I create ...


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 03-20-2006
Junior Member
White Belt
 
Join Date: Mar 2006
Posts: 4
How to disable help in activeX

Hello,

I'm beginer with Mappoint and I have some problems.
I use the activeX with Visual C++. When I create an ActiveX of mappoint , help appears when I click on the right top corner (on the "microsoft mappoint" icon). So I would to disable this icon and the help witch comes with?

Thanks for your reply.

Laurent
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 03-20-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Hi Laurent,

2 problems You cannot disable the Icon in C# and you cannot disable the help that comes with.

Workarounds ? There always are

What you maybe can do is intercept the mouse click if user click on the logo. You can use BeforeClick event, calculate the XY prosition of the mouse pointer, and if it is on the logo then just cancel it. I did never tryed this but should be not any problem.
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 03-21-2006
Junior Member
White Belt
 
Join Date: Mar 2006
Posts: 4
Thanks for your reply.

In fact, I want to use Mappoint in a commercial application, so it's better if the logo doesn't appears.
But how to intercept message in Mappoint (BeforeClick, AfterRedraw)? All exemples I found are in VB or C# not in C++ (They is a topic for this subjet but no solution has been found). In fact with the AfterRedraw event I can hide the logo with my self logo.
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 03-21-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Hi,


Quote:
so it's better if the logo doesn't appears.
If you program in Delphi there is no logo Seems this is the only exception...

Quote:
But how to intercept message in Mappoint (BeforeClick, AfterRedraw)?
Just place a event handler.

Quote:
In fact with the AfterRedraw event I can hide the logo with my self logo.
intersting, how ?
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 03-23-2006
Junior Member
White Belt
 
Join Date: Mar 2006
Posts: 4
My problem is that I don't know how to implement event handler in C++. Exemples are in VB or C#.
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 03-23-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Hi,

Quote:
Originally Posted by prynel_laurent
My problem is that I don't know how to implement event handler in C++. Exemples are in VB or C#.
is it not possible to installe the ActiveX componentin C++ IDE ? Because then it is a matter ofmouse clicking. I do not know how to dothis manually in C++
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
activex, disable


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
Is there anyway to disable the MAppoint help kwargo MapPoint 2006/2009 Discussion 0 03-08-2004 02:58 PM
Disable Right mouse button Fisherman´s Friend MapPoint 2006/2009 Discussion 2 12-17-2003 09:48 AM
Disable save Dazzer MapPoint 2006/2009 Discussion 1 10-28-2003 05:30 AM
Disable right mouse button Anonymous MapPoint 2006/2009 Discussion 3 09-10-2003 06:09 AM
Disable DW.EXE Wim MapPoint 2006/2009 Discussion 2 01-25-2003 07:40 AM


All times are GMT -5. The time now is 03:55 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


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