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
Page 5 of 5 FirstFirst ... 345
Results 41 to 44 of 44

Access some hidden features in MapPoint2002 ActiveX control

This is a discussion on Access some hidden features in MapPoint2002 ActiveX control within the MapPoint Desktop Discussion forums, part of the Map Forums category; Thanks Wilfried; Is it posible you share this small class in C# with those API functions or where can obtain ...

  1. #41
    CONTEMPO is offline Junior Member White Belt
    Join Date
    Jul 2005
    Posts
    4
    Thanks Wilfried;

    Is it posible you share this small class in C# with those API functions or where can obtain it ??

    I woul be great you.

    contempo@ya.com

    Thanks in advanced

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

    Here are some I regulary use. You have to add the ones you needed for your use.

    Code:
    using System;
    using System.Text;
    using System.Xml;
    using System.IO;
    using System.Windows.Forms;
    using System.Runtime.InteropServices;   // needed to call external application (winAPI dll)
    
    namespace Mestdagh.biz
    {
        public static class Win32
        {
            [DllImport("kernel32.dll")]
            public static extern Boolean AllocConsole();
            [DllImport("User32.dll")]
            public static extern IntPtr FindWindow(string ClassName, string WindowName);
            [DllImport("User32.dll")]
            public static extern Boolean PostMessage(IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam);
            [DllImport("User32.dll")]
            public static extern Boolean PostMessage(IntPtr hWnd, uint Msg, int wParam, int lParam);
            [DllImport("User32.dll")]
            public static extern Boolean SendMessage(IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam);
            [DllImport("User32.dll")]
            public static extern Boolean SendMessage(IntPtr hWnd, uint Msg, int wParam, int lParam);
            [DllImport("User32.dll")]
            public static extern Int32 SetForegroundWindow(int hWnd);
            [DllImport("User32.dll")]
            public static extern Boolean EnumChildWindows(int hWndParent, Delegate lpEnumFunc, int lParam);
            [DllImport("User32.dll")]
            public static extern Int32 GetWindowText(int hWnd, StringBuilder s, int nMaxCount);
            [DllImport("User32.dll")]
            public static extern Int32 GetWindowTextLength(int hwnd);
            [DllImport("user32.dll", EntryPoint = "GetDesktopWindow")]
            public static extern int GetDesktopWindow();
            [DllImport("User32.dll")]
            public static extern void keybd_event(byte bVk, byte bScan, int dwFlags, int dwExtraInfo);
        }

  3. #43
    ultiblade is offline Junior Member White Belt
    Join Date
    Aug 2006
    Posts
    8
    Hi !

    Just to let you know, i had some problems with Sergiy's code update for mp2006. Changed the sentence "Private Property Get hWnd_Frame() As Long" in updated mappoint.cls to Public and it works perfect !

    Thanks guys ! Great code ...

  4. #44
    corsagsituned is offline Junior Member White Belt
    Join Date
    Aug 2006
    Posts
    1

    Mapponit 2006 in delphi 2006

    Can somebody help me to install mappoint 2006 in delphi 2006?

Page 5 of 5 FirstFirst ... 345

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. MS Access Mappoint ActiveX
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 05-21-2005, 06:31 PM
  2. Re: Keyboard control in mappoint activex control
    By djcapslock in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-10-2005, 11:16 AM
  3. MS Access and Mappoint ActiveX Control
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 06-26-2004, 02:29 PM
  4. Using MP ActiveX Control in Access/Foxpro etc
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 02-21-2003, 12:51 PM
  5. Hi EB Can i use the Map point control features ....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 05-14-2002, 03:03 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