Results 1 to 7 of 7

Thread: Problems embedding EvoScan

  1. #1
    Low Bitrate
    Join Date
    Jan 2003
    Posts
    71

    Problems embedding EvoScan

    I'm having problems embedding the correct window into RR. I'm trying to embed a datalogging/virtual gauge program called EvoScan. The problem is the main logging window is separate from the virtual gauges (which are what I want to embed). I tried winspector and spy++ and got the class (WindowsForm.10.Window.8.app.0378734a) which is the same for both windows. The main windows has a title "EvoScan v2.8.0006......." (it's really long, but you can see the whole thing in the screen shot), but the gauge window doesn't. So all I have to target them is the class...so it's kinda random as to which window get embedded.

    I found something interesting in spy++ today, and that is that the gauge window I was attempting to embed is the child of another window which DOES have a title of "Gauge - Data ". When I drag the cursor onto the gauge window with winspector, I get the child window's information. I've attached a screen shot of what I'm talking about. I thought this would have solved my problem, because now I could use the gauge window's class and title. That however still had the same random embedding effect, so I decided to try it with just the window title and that didn't embed anything. So I'm not really too sure what the parent window is (as I guess I never really see it) but I was hoping it would embed it's child window, but it doesn't seem like it does. Any advice on how I could get this to work?

    P.S.
    I have no troubles embedding the main window if I wanted. Since it has both a class and a window title, RR works perfectly with it. But I don't want the main window, just the gauges.
    Attached Images Attached Images  

  2. #2
    Low Bitrate
    Join Date
    Jan 2003
    Posts
    71
    I'm not sure if this will be needed for anyone helping me, but here's the different code I've tried in ExecTBL.ini.

    These two randomly embed either the main window or the gauges.
    Code:
    "EVOSCAN","LOAD;EVOSCAN.SKIN||RUN;$EVOSCANPATH$;!WindowsForms10.window.8.app.0.378734a"
    Code:
    "EVOSCAN","LOAD;EVOSCAN.SKIN||RUN;$EVOSCANPATH$;!WindowsForms10.window.8.app.0.378734a!Gauge - Data "
    This one did not embed anything:
    Code:
    "EVOSCAN","LOAD;EVOSCAN.SKIN||RUN;$EVOSCANPATH$;!Gauge - Data "
    This one embeds the main window:
    Code:
    "EVOSCAN","LOAD;EVOSCAN.SKIN||RUN;$EVOSCANPATH$;!WindowsForms10.window.8.app.0.378734a!EvoScan v2.8.0005 - CAN/OBDII/MUTII/MUTIII/OBD1/ALDL/SSMI/SSMII DataLogger - www.evoscan.com"

  3. #3
    MGD
    MGD is offline
    FLAC
    Auto Apps:loading...
    MGD's Avatar
    Join Date
    Feb 2005
    Location
    Los Angeles
    Posts
    1,756
    Why do you have an " ! " in front of your window title? Here is my command for iGuidance and it embeds every time.
    "GPS","LOAD;EXTERNAL_GPS.skin;C:\Program Files\iNav\iGuidance\iGuidanceUMPC.exe;iGuidance"

    Just a thought.

  4. #4
    Low Bitrate
    Join Date
    Jan 2003
    Posts
    71
    Quote Originally Posted by MGD View Post
    Why do you have an " ! " in front of your window title? Here is my command for iGuidance and it embeds every time.
    "GPS","LOAD;EXTERNAL_GPS.skin;C:\Program Files\iNav\iGuidance\iGuidanceUMPC.exe;iGuidance"

    Just a thought.
    You know, I don't really know why. I think I copied it from something else I saw. But getting rid of the "!" worked perfectly! Thanks!!

    But I still have one problem...after RR correctly repositions and resizes the gauges, the main window is still floating behing the gauges, but on top of RR. It doesn't cover all of RR since it doesn't take up the whole screen, but it does cover esstential parts. My current work around is to manually minimize it, but that's annoying and loses the nice sleek interface feel.

  5. #5
    MGD
    MGD is offline
    FLAC
    Auto Apps:loading...
    MGD's Avatar
    Join Date
    Feb 2005
    Location
    Los Angeles
    Posts
    1,756
    Run RRconfig and select ENABLE CLIPPING.
    In the skin where you embed the aplication, clip out the a definition.
    Try the same settings then the A line, like this
    A 0,0,400,350 or whatever your region is, then match that with a C line.
    C 0,0,400,350
    Hope it works.

  6. #6
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,838

    Talking

    Quote Originally Posted by MGD View Post
    A 0,0,400,350
    A,... is depreciated (see the RR history)

    A,... is replaced by AX,...
    12/14/2011
    ------------------------------------------------------------------------
    + New option "OPT_NOFOCUS" for Screen Object Definition "AX", this will cause the embedded window
    to keep its focus even when RR skin is clicked on (no flashing of embedded window)
    ex. AX,0,0,800,450,"OPT_NOFOCUS"
    this will embedd the window at (0,0) 800 wide, 450 tall, with the NO_FOCUS option.
    + New option "OPT_BACKCOLOR#RRGGBB" for Screen Object Definition "AX", this will cause the embedded window
    background color to be set. (in most cases this is not needed)
    ex. AX,0,0,800,450,"OPT_BACKCOLOR#000000"
    this will embedd the window at (0,0) 800 wide, 450 tall, with the Black Background
    + Screen Object Definition; AX, eXtended Application embed area define
    ex. AX,0,0,800,450, "optionlist"
    options;
    OPT_NOTOUCH - do not remove window boarders
    OPT_NOFOCUS - do not lose focus on application when RR screen elements are clicked.
    OPT_BACKCOLOR#RRGGBB - set background window color to RRGGBB.
    OPT_PARENT - embedded window parent window set to RR. (advanced)
    OPT_ATTACHINPUT - sets the embedded windows input proccessing to RR's. (advanced)

    ex. AX,0,0,800,450,"OPT_NOTOUCH,OPT_NOFOCUS"

  7. #7
    MGD
    MGD is offline
    FLAC
    Auto Apps:loading...
    MGD's Avatar
    Join Date
    Feb 2005
    Location
    Los Angeles
    Posts
    1,756
    The A definition still works fine if you want no OPTIONS.
    Always start the easy way and then advance...

Similar Threads

  1. Replies: 3
    Last Post: 04-06-2009, 04:58 PM
  2. Problems embedding GPS application properly
    By Tim K in forum Road Runner
    Replies: 5
    Last Post: 07-27-2006, 10:26 PM
  3. map monkey embedding problems?
    By cyberlancer in forum Road Runner
    Replies: 10
    Last Post: 03-15-2005, 03:56 PM
  4. Embedding problems (not just GPS this time)...
    By djgoofywhitekid in forum Centrafuse
    Replies: 6
    Last Post: 03-11-2005, 06:58 PM
  5. Problems when embedding applications
    By anohman in forum RR Bug Tracker
    Replies: 8
    Last Post: 03-07-2005, 02:44 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
  •