MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Problems with Pushpin dataset

This is a discussion on Problems with Pushpin dataset within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Sylvain, Ok, I ran the sample code and it does that same thing here. Really wierd. I've tried several things ...


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
  #11 (permalink)  
Old 11-23-2002
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
Sylvain,

Ok, I ran the sample code and it does that same thing here. Really wierd. I've tried several things but nothing is working yet. Will let you know if I come up with an idea.
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12 (permalink)  
Old 11-25-2002
Junior Member
White Belt
 
Join Date: Aug 2002
Posts: 3
Workaround - Flashing "Find" dialog issue

The "Find" Dialog looks like it wants to be sort of modal. By detecting if a window with "Find" as a title is currently visible at the top of the timer event seems to prevent the problem.

A bit of a hack, but with a bit of extra work it might be acceptable. Localization will be an issue.

Another approach that would take some research would be to try to track down the window handle of the mappoint control and subclass for the desired messages.


Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function IsWindowVisible Lib "user32" (ByVal hwnd As Long) As Long
Private Declare Function GetParent Lib "user32" (ByVal hwnd As Long) As Long


Private Function IsFindVisible() As Boolean
Dim lHwnd As Long
Dim lRet As Long

IsFindVisible = False

lHwnd = FindWindow(vbNullString, "Find")

If (lHwnd <> 0) Then
If (GetParent(lHwnd) = Me.hwnd) And (IsWindowVisible(lHwnd)) Then
IsFindVisible = True
End If
End If

End Function


and as the first executable line in the Timer event

If IsFindVisible() Then Exit Sub
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #13 (permalink)  
Old 11-26-2002
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
Sylvain,

Did the post by: kdybvik do the trick for you? Sounds like it might be a good solution. Let us know if it worked out for you.
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #14 (permalink)  
Old 11-28-2002
Junior Member
Yellow Belt
 
Join Date: Aug 2002
Posts: 12
Yes John, I just finished trying it and it works fine.

Thanks for all your help, it was appreciated.

Sylvain
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
dataset, problems, pushpin


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
PushPin dataset is saved in .ptm? PeppeM MapPoint 2006/2009 Discussion 1 05-06-2006 01:53 PM
Add a newly created Pushpin to Dataset Yazzy MapPoint 2006/2009 Discussion 1 08-24-2005 02:46 PM
Having problems getting location from pushpin Anonymous MapPoint 2006/2009 Discussion 0 11-02-2004 11:33 AM
delphi iterate pushpin dataset merlino MapPoint 2006/2009 Discussion 1 10-12-2004 10:20 AM
Find Nearby Pushpin in dataset Dazzer Products: Pushpin Tool, Single State Mapper 1 10-16-2003 04:05 PM


All times are GMT -5. The time now is 11:15 PM.


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