The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner

Reply
 
Thread Tools Display Modes
Old 09-04-2006, 09:50 AM   #1
Newbie
 
Join Date: Aug 2005
Posts: 54
My Photos: (0)
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
darkseid is offline   Reply With Quote
Sponsored Links
Old 09-06-2006, 01:08 AM   #2
RoadRunner Mastermind
guino's CarPC Specs
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Vehicle: 04/Mazda/RX-8
Posts: 8,028
My Photos: (5)
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.
__________________
Road 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."
guino is offline   Reply With Quote
Old 09-07-2006, 05:01 PM   #3
Newbie
 
Join Date: Apr 2006
Location: Planet Earth
Posts: 2
My Photos: (0)
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.
Phaedrus is offline   Reply With Quote
Sponsored Links
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

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


All times are GMT -5. The time now is 02:40 AM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics