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

Resizing the MapPoint control at run-time

This is a discussion on Resizing the MapPoint control at run-time within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi, If I programmatically resize the MapPoint control on a form at run-time and then click on the resized control, ...

  1. #1
    Jonny1234 is offline Junior Member White Belt
    Join Date
    Dec 2006
    Posts
    10

    Resizing the MapPoint control at run-time

    Hi,

    If I programmatically resize the MapPoint control on a form at run-time and then click on the resized control, it jumps back to its previous size.

    Is this a problem which is common to all development languages using the MapPoint control?

    A search on Google led me to an article which spoke about some ActiveX controls (not specifically the MapPoint control) reverting back to the state they were in when they were "in-place activated".

    Please can anyone suggest why this might be happening and if there is any way around it. Is there any way I can inform the control that it has been resized, and that this is now the size it should keep?

    Thanks for your help.

    Regards,
    Jonny

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

    Re: Resizing the MapPoint control at run-time

    Hi Jonny,

    Very simple solution: put panels on the form, drop the mappoint control on the panel you want and align it to client (the panel). Then just resize the panel in your code.

  3. #3
    Jonny1234 is offline Junior Member White Belt
    Join Date
    Dec 2006
    Posts
    10

    Re: Resizing the MapPoint control at run-time

    Thanks for your reply, Wilfried.

    Your solution works. Much appreciated.

    Regards,
    Jonny

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. run-time error 16391 with MP control in vb6
    By cwrude in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 08-28-2006, 01:14 PM
  2. resizing map
    By wonman in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 10-18-2005, 08:55 PM
  3. Re: Keyboard control in mappoint activex control
    By djcapslock in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-10-2005, 11:16 AM
  4. Resizing custom pushpins
    By jenmoretti in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 01-05-2004, 06:38 PM
  5. Mappoint Run-Time Licensing Available??
    By NickSP in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 08-28-2003, 05:00 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 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