MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Re: toolbars in mfc dialog

This is a discussion on Re: toolbars in mfc dialog within the MapPoint 2006/2009 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 ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-01-2005
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
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 06-01-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
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 ?
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 06-04-2005
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
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


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
ToolBars Color Gianmaria MapPoint 2006/2009 Discussion 9 05-17-2005 02:01 PM
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 02:00 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 Travel
Holiday Hypermarket wants to make ski travel easy for you. Find out key information about destinations in our travel guides. We search leading tour operators for great value ski travel.

Spain Weather
Check out Spain Weather - Travel Counsellors details information on Spain including, weather, flights and accommodation.

Holiday Jamaica
What springs to mind when you hear the word Jamaica? Bob Marley and Rum? Think again. Book a low cost holiday in Jamaica to explore this island for yourself.

Dubai Holidays
Dubai holidays provide you with exotic sights, desert safaris and superb cuisine. There is an extensive range of things to do and see!

Canaries
Find out all about the Canaries when you check out the ulookubook.com travel guides. Not only can you get a great holiday deal but you can find out useful information about potential holiday destinations.

Cheap Travel
Travel.co.uk is a travel comparison service which makes it easy to search and find your cheap travel options.

Cheap Holidays in Sharm el Sheikh
Egypt awaits! Visit On The Beach for info on cheap holidays in Sharm el Sheikh.


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