Results 1 to 3 of 3

Thread: Disappearing Dialogs in Embedded app

  1. #1
    Newbie
    Join Date
    Aug 2005
    Posts
    55

    Disappearing Dialogs in Embedded app

    I`m new at this so please be gentle. I have searched the forums and found some things to try which I have to no avail. Anyway onto the problem in hand. I am making a skin to display a DVR application I have so I can show reverse camera in the middle of the screen without losing satnav or MP3 capability. I am using the following command line

    "RUN;C:\Program Files\PCDVRMobile\MobileDVR.exe;!TServerWnd!Mobile DVR"

    The program embedds perfectly however when I goto access the menus the dialogs appear then disappear behind the apps main display. After searching the only similar thread with a similar issue contained the following from Guino

    "He should make sure to set the main window as the "parent" of the popup/child window.. this way, when it comes up, It will not be "hidden" behind the main window of the application. He can use the SetParent windows API function to associate the above. IF many dialogs need to be open at the same time, then he should most likely just change the class/window title for his popups so you can use it with skinbedder for instance."

    I asked my Software engineer about the SetPaent command and he replied "Not really sure what you're driving at with SetParent comment, as the menu dialogs are already all application-modal children of TServerWnd (they have to be in order for the menus to be modal to the main window)."

    Anybody have any ideas as I would really like to have this all running from within RR.

    Again sorry if the answer is staring me in the search window

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    It's pretty simple, tell me this:

    Run the application OUTSIDE RR, then bring up the dialog,
    1-can you still click/use the window behind it ?
    2-when you click the window bellow (The main window), does the dialog disappear behind it ?

    If the answer to 1 is YES, then the dialog is NOT modal. If the answer to 2 is YES, then the dialog is not parented by the main window (despite of what he may tell you). This really is a simple change, regardless of the language used, question is if you'll find somebody to apply it. Yes, all windows have a parent, even if it's the desktop window (owned by windows), but this is no requirement -- it's only a choice of the programmer.

    On another note, he may not HAVE to use setparent, as he should probably be providing the window handle for the parent window when creating the dialog.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  3. #3
    Newbie
    Join Date
    Apr 2006
    Location
    Planet Earth
    Posts
    2
    1. No.
    2. No.

    I worked as a developer on the software application in question and I assure you that I definitely know what a modal dialog is!

    The application is only broken when run via RR, same as with OziExplorer (an excellent application that I've been a registered user of for a shade over 3 years). I'm not familiar with RR at all - I don't even have a copy here to be honest - so it may be a user error of some kind or an RR config error that is causing it, but it isn't the embedded application at fault.

    Sorry to be the bearer of bad news.

    Ciao,
    P.

Similar Threads

  1. Alpine City Cruise
    By Hell-Stopper in forum RR Skins
    Replies: 170
    Last Post: 02-22-2007, 10:05 PM
  2. Embedding app with dialogs?
    By froop in forum Road Runner
    Replies: 20
    Last Post: 04-29-2006, 11:28 PM
  3. embedded app on top when switching skins
    By kuo in forum RR Bug Tracker
    Replies: 1
    Last Post: 08-21-2005, 07:39 PM
  4. Compro Actionmate TV + FM embedding app
    By CdRsKuLL in forum Road Runner
    Replies: 6
    Last Post: 08-14-2005, 10:31 PM
  5. Extracting Embedded Web Video
    By VanMan69 in forum General MP3Car Discussion
    Replies: 1
    Last Post: 02-10-2005, 03:27 AM

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
  •