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

How to disable help in activeX

This is a discussion on How to disable help in activeX within the MapPoint Desktop 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 ...

  1. #1
    prynel_laurent is offline 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

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    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.

  3. #3
    prynel_laurent is offline 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.

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,


    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...

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

    In fact with the AfterRedraw event I can hide the logo with my self logo.
    intersting, how ?

  5. #5
    prynel_laurent is offline 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#.

  6. #6
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    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++

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Is there anyway to disable the MAppoint help
    By kwargo in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 03-08-2004, 02:58 PM
  2. Disable Right mouse button
    By Fisherman´s Friend in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 12-17-2003, 09:48 AM
  3. Disable save
    By Dazzer in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 10-28-2003, 05:30 AM
  4. Disable right mouse button
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 09-10-2003, 06:09 AM
  5. Disable DW.EXE
    By Wim in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 01-25-2003, 07:40 AM

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 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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96