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

Re: toolbars in mfc dialog

This is a discussion on Re: toolbars in mfc dialog within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi, I am using a mappoint active x in a MFC dialog box. I have got it to work, but ...

  1. #1
    djcapslock is offline Junior Member White Belt
    Join Date
    Mar 2005
    Posts
    3

    Re: toolbars in mfc dialog

    Hi,
    I am using a mappoint active x in a MFC dialog box. I have got it to work, but when i resize the control occassionally the toolbar does not refresh correctly, some of the buttons becoming blank. Does anybody no of a solution to this problem.
    Thanks
    David

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

    I never had this problem, but you can redraw it by calling:
    MP.Invalidate();
    or:
    MP.Refresh();

    BTW: what is an MFC dialog box ?

  3. #3
    djcapslock is offline Junior Member White Belt
    Join Date
    Mar 2005
    Posts
    3

    Re: Refreshing mapppoint

    Hi,
    MFC is a form of c++ for windows. I found in the end that redrawWindow with RDW_ALLCHILDREN as flag worked best. Infact it seems this was the only way to get the toolbars and everything to refresh.

    Dave

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. ToolBars Color
    By Gianmaria in forum MapPoint Desktop Discussion
    Replies: 9
    Last Post: 05-17-2005, 03:01 PM
  2. Customizable Toolbars
    By DavidP in forum Wish List
    Replies: 0
    Last Post: 01-12-2005, 08:02 PM
  3. Toolbars and C#
    By ddpg in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-29-2004, 08:29 AM
  4. toolbars
    By Fisherman´s Friend in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 09-22-2003, 08:13 AM
  5. Toolbars
    By Bart Vervenne in forum Wish List
    Replies: 0
    Last Post: 04-11-2003, 02:38 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