Page 1 of 6 123456 LastLast
Results 1 to 10 of 51

Thread: embedding copilot in mediacar

  1. #1
    kuo
    kuo is offline
    Variable Bitrate kuo's Avatar
    Join Date
    Jun 2003
    Location
    Greensboro, NC
    Posts
    439

    embedding copilot in mediacar

    mediacar is a really great front end, but for those of us who use copilot it's kind of hard to use both together. one solution is to always show the taskbar, but it would be nice if you could use copilot embedded into mediacar. i don't know exactly what is needed to be able to embed a program. i think that the window has to be moveable and resizable, of which copilot can do neither. i messed around with the exe file and was able to put the guidance screen into a window and make it moveable. i have not been able to make it resizeable. the caption for the window is "In-Vehicle Guidance". Can anyone tell me what exactly i need to make copilot do so that we can embed it into mediacar?

  2. #2
    Maximum Bitrate mobileh1's Avatar
    Join Date
    Apr 2004
    Location
    San Francisco
    Posts
    454
    Thats not what I see.

    In Driver mode I see that the top level (non child) windows is captioned:

    "CoPilot 2003" and is actually a dialog frame. The styles are:

    popup/visible/disabled/clipsibs/overlapped.

    This is a container window only, the main panel has a caption of:

    "In-Vehicle Route Guidance"

    which contains two windows: PanelMap and PanelGPSTop

    I have been able to get windows to embed by getting the caption correct and the window suporting resize.

    Without the author of MediaCar the only knowledge I have been able to get is empirical. By making my own things embedd. This have been pretty easy, but I haven't started on co-Pilot yet. I first need to figure out why it hangs sometimes when I click the itinary, and why it tells me to turn left and yet the map clearly shows right sometimes. I have 2003 with the latest patch. Im impressed with the quality of the program except these important errors in makes (and the very annoying hangs). at least its better than Desinator which didnt even have my town on!

    Please let me know how this goes. If you dont figure it out, I'll write a wrapper program that launches and finds the CoPilot windows and tells it to resize. If it wont listen, then its possible to change the window styles for a window too, you need the processid which can be found by enumerating the process table.
    .//Daren
    (Epia M10000/C134) (C137/MII 10000) Liliput /Opus 150W/DVD/512MB/80GB/Hummer H1
    MediaCar/CoPilot7/Routis

  3. #3
    Maximum Bitrate mobileh1's Avatar
    Join Date
    Apr 2004
    Location
    San Francisco
    Posts
    454
    Kuo

    You might find this program useful. I wrote it to help you figure this out.

    When you run it (there is a release build and source) you enter some search string, like "CoPilot" (no * in these, unlike MC).

    The program will then enumerate all visible windows with a caption and try and match the first to whatever you typed.

    When you have something selected you can click resize and it will do a MoveWindow to 100,100, 800, 600 - offset 100,100, size 800x600.

    This is just an illustration. I was able to get CoPilot to resize and move just fine using this. The problem is that when CoPiloit first starts it doesnt have the window that you ultimately resize created yet...

    You'll see when you play with this.

    Obviously feel free to play with the program and make it more useful.

    The app is a MSVC6 project.
    Attached Files Attached Files
    .//Daren
    (Epia M10000/C134) (C137/MII 10000) Liliput /Opus 150W/DVD/512MB/80GB/Hummer H1
    MediaCar/CoPilot7/Routis

  4. #4
    FLAC
    Join Date
    Jun 2003
    Location
    Memphis - TN
    Posts
    1,272
    Think you could make that command lind based, ad we could run a batch file to look for the window, create the window, so Media car can snap it into place?
    2011 Nissan Frontier SL
    AMD X3 2.2 | M4-ATX | 16Gb SSD | 2GB DDR3-1333 | MSI GF615M-P33 MB
    OBDPROS USB | BU-303 GPS l LILLIPUT TS | Car2PC adapter | XM Direct | USB Dual band N with custom mag-mount antenna.

  5. #5
    kuo
    kuo is offline
    Variable Bitrate kuo's Avatar
    Join Date
    Jun 2003
    Location
    Greensboro, NC
    Posts
    439
    hey mobile,

    i think i'm going to have to wait for you to write your wrapper program. i got copilot laptop 7 to embed into mediacar but i do not know how to make it resizeable. when it was embedded, the buttons were cut off. also you can't switch to any other module in mediacar without first quiting copilot. i'm going to keep looking at this but i hope someone smarter than me figures it out first.

  6. #6
    Raw Wave Laidback's Avatar
    Join Date
    Oct 2003
    Location
    Madrid
    Posts
    1,984
    Quote Originally Posted by kuo
    hey mobile,

    i think i'm going to have to wait for you to write your wrapper program. i got copilot laptop 7 to embed into mediacar but i do not know how to make it resizeable. when it was embedded, the buttons were cut off. also you can't switch to any other module in mediacar without first quiting copilot. i'm going to keep looking at this but i hope someone smarter than me figures it out first.
    Which buttons were cut off? If you can't switch to another module then it's not embedded.

  7. #7
    Constant Bitrate gubon13's Avatar
    Join Date
    Apr 2004
    Location
    Los Angeles
    Posts
    193
    i will try to look into this for routis as well. i have similar problems with resizing and not being embedded.
    "Is Wayne Brady gonna have to choke a b@$#*??!!"

  8. #8
    kuo
    kuo is offline
    Variable Bitrate kuo's Avatar
    Join Date
    Jun 2003
    Location
    Greensboro, NC
    Posts
    439
    what i meant when i said i got copilot embedded was that the copilot window became only as big as the media car window. i'm running 1600x1200 on my desktop computer and mediacar is running at 848x480. when copilot normally opens up it goes fullscreen, but when i put the caption as "in-vehicle route guidance" in mediacar and opened it embedded, copilot opened up at 1600x1200 but the visible window was only 848x480 so a all of the buttons on the right were not visible. i think it showed the top left 848x480 of the 1600x1200 window. i hope that made some sense.

  9. #9
    Jesus Freak antimatter's Avatar
    Join Date
    Jan 2004
    Location
    California
    Posts
    4,545
    As a new owner of copilot this thread is of importance to me. Is there any we we can come up some way to embed this in mediacar?
    -Jesus- King of Kings Lord of Lords

  10. #10
    FLAC aoLhaTer's Avatar
    Join Date
    Mar 2003
    Location
    Rohnert Park, CA
    Posts
    1,122
    id be highly interested to this as well

Page 1 of 6 123456 LastLast

Similar Threads

  1. Free DVD player for MediaCar
    By igmt in forum MediaCar
    Replies: 40
    Last Post: 06-11-2004, 01:30 AM
  2. Need Help with MapPoint and MediaCar
    By screa_34 in forum MediaCar
    Replies: 2
    Last Post: 04-21-2004, 11:38 AM
  3. Need help on Mediacar playing mp3
    By cwho122 in forum MediaCar
    Replies: 1
    Last Post: 03-17-2004, 03:21 AM
  4. Mediacar V1.8.5
    By coyote in forum MediaCar
    Replies: 47
    Last Post: 02-16-2004, 01:16 PM
  5. New CoPilot Software released!!
    By wallyworld in forum GPS
    Replies: 2
    Last Post: 09-30-2003, 01:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •