Transfer Focus From a Child Dialog To its Parent Frame

Hi
I m working on a Multimedia Desktop Application. I have done alomst 90% of work. Here I have a problem to transfer focus from a Child Dialog to Parent Frame. Remember the whole applicatio does not use Mouse every thing is handled on key events. So I required to transefer the focus from a Child Dialog to its Parent Frame from key board. I also cant use ALT+TAB because
1- Child is a dialog
2- This is a Multimedia Application which will be deployed For TV production and can't allow any Computer
Components to be viewable.
So I want only key press to transfer the focus between Child and The Parent.
Thanks.
Khurram

First u tell me what do u do on the forumI answer questions - when I know the answer.
I give advice on how to use the forums efficiently so you get the best chance to have your question answered and you don't waste other peoples time.
And the post-URL you mentioned, was mistakenly submitted two times.Then respond to your own thread saying you posted it twice by mistake.
any ways I did never see any article posted by you, nor the solutions on the other's posts by you. you just made comments on others posts.which only goes to prove that you never bother to search the fourm before you post a question.
and please let others try to review on my problem.others can still reply

Similar Messages

  • Creating AWT child dialog within a parent hangs in 1.7 but works with 1.6

    Hi,
    We are making use of Java AWT packages. In which we are creating an child dialog within a parent window and it hangs, meaning none of the buttons on the child window works, even the close is not happening (parent, child and console all hangs, need to kill the applet from the task manager). No error/exception is seen in the Console. No deadlocks noticed in the thread dumps.
    This is seen only with JRE1.7 (update 10,11,13,15) version. But the same code is working fine with JRE 1.6 version.
    We also have same codebase of next release, where the code is changed to Swings and that seems to work with JRE1.7.
    Can somebody suggest me what might be causing it to fail with JRE_1.7 at the earliest as this a critical issue.
    Thanks in advance!

    We have a tuxedo service which needs to communicate with a POS device by socket. The parent process provides the tuxedo service. The child process provides the connection management for the device. Unnamed pipe is used for communication between the parent and the child. In the child process, there is no code related to tuxedo. The benefit of that design is the tuxedo server does not need to wait for connection from the device when boots up, and the tuxedo service does not need to wait for connection from the device when the service is called.
    The tuxedo server was developed 10 years ago, and worked fine till we upgraded tuxedo from 10 to 12 recently. That means it worked for 10 years, and it worked in tuxedo 6.5, tuxedo 10. But in tuxedo 12, tmboot does not return for this tuxedo server. We have to press CTRL-C and yes to cancel. After cancel, the tuxedo service seems working fine.

  • Open Dialog Window in Parent Frame

    I have a page viewer web part on my page which is surfacing a News page from another part of our SharePoint farm.  This News page contains links to many articles which I have told to open in a Dialog window using the following code:
    function DisplayArticle(url)
    var options = SP.UI.$create_DialogOptions();
    options.width = 900;
    options.height = 800;
    options.url = url;
    SP.UI.ModalDialog.showModalDialog(options);
    This is working fine although the dialog opens within the boundary of the Page Viewer web part and I would like it to open as if it was a dialog of the parent window.
    Any thoughts?

    Hi,
    Because the dialog function is running within the context of the iframe, seems like its creating the dialog divs as children of the iframe's.
    You can do something like this:
    1) Create some Javascript function in the parent page, some thing like this:
    function DisplayArticleInParent(url)
    var options = SP.UI.$create_DialogOptions();
    options.width = 900;
    options.height = 800;
    options.url = url;
    SP.UI.ModalDialog.showModalDialog(options);
    2) from inside the iframe call parent pages function which we created above something like this:
    parent.DisplayArticleInParent('your article url');
    Genrally window.parent returns a reference to the parent of the current window or subframe.When a window is loaded in an <iframe>, <object>, or <frame>, its parent is the window with the element embedding the window.
    Please refer following link for calling parent window function:
    http://forums.asp.net/t/1117770.aspx
    Hope It might help you
    Please don't forget to 'mark answer/propose answer' or 'vote as helpful' as appropriate.

  • Is it possible to transfer documents from my child's iPad to her teachers PC?

    My daughter is using an iPad in class (yr 6) as she has difficulty writing. Last year she was able to use her own wireless printer, however this year due to the size of the class room ( as in it is crowded), the teacher would like to transfer her work to his computer and then send it to the school's printer. There is no wireless internet at the school, and the iPad doesn't have 3G or what ever it is called. Can this be done, and if so how?
    Thanks for any ideas

    Hi Ruth,
    This one is actually very easy.  Have your daugther bring her power cord to class. 
    -Plug the cord into the teacher's USB drive on his computer
    -Go to "My Computer" on his PC
    -Select "iPad"  (listed in the same area as the DVD drive and C: drive)
    -All files in your daugthers's ipad will be visiable on his PC, hold down CRTL and click on each file you'll like to send over
    -Right click then select "send to"
    -The teacher makes a folder on his desktop with her name and drops all the files into it.

  • Example of using a delegate in wpf forms to pass a paramater from a child to sub in parent

    Hi
    Looking for a example or explanation of how to use delegate to pass a parameter from a wpf form child to a sub in the parent to be executed in vb.net.
    Thanks

    Hi Paul
    As trying to use a delegate as declaring and referencing along the lines of  
    https://msdn.microsoft.com/query/dev12.query?appId=Dev12IDEF1&l=EN-US&k=k(vb.Delegate);k(SolutionItemsProject);k(TargetFrameworkMoniker-.NETFramework,Version%3Dv4.5);k(DevLang-VB)&rd=true
    Thanks
    RB_IA
    My experience with using delegates is related to Multi-threading or otherwise accessing members/methods running on separate threads.
    A WPF example of that would be something like this:
    Option Strict On
    Option Explicit On
    Option Infer Off
    Class MainWindow
    Delegate Sub dSetTitle(window As Window, text As String)
    Dim dispatched As Boolean = False
    Private Sub btnSafeCall_Click(sender As Object, e As RoutedEventArgs) Handles btnSafeCall.Click
    Dim th As New System.Threading.Thread(AddressOf SafeThread)
    th.Start()
    End Sub
    Private Sub btnUnsafeCall1_Click(sender As Object, e As RoutedEventArgs) Handles btnUnsafeCall1.Click
    Dim th As New System.Threading.Thread(AddressOf UnsafeThread)
    th.Start()
    End Sub
    Sub SetTitle(window As Window, text As String)
    If Not dispatched Then
    dispatched = True
    Dispatcher.Invoke(New dSetTitle(AddressOf SetTitle), window, text)
    Else
    dispatched = False
    window.Title = text
    End If
    End Sub
    Sub SafeThread()
    SetTitle(Me, "test2")
    End Sub
    Sub UnsafeThread()
    Me.Title = "test"
    End Sub
    End Class
    “If you want something you've never had, you need to do something you've never done.”
    Don't forget to mark
    helpful posts and answers
    ! Answer an interesting question? Write a
    new article
    about it! My Articles
    *This post does not reflect the opinion of Microsoft, or its employees.

  • How to pass a string from a child thread to a parent thread ?

    I have a Server class listening to a particular port continuously using TCP Sockets . Whenever a client connects to this server socket, a new thread is created to obtain the data from the client socket. The following code shows how this is done -
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.net.*;
    public class TransportHandler extends Thread{
              ServerSocket server_socket;
              int myListeningPort;
              public String clientReq = "";
              public TransportHandler() throws IOException{
                   super();
                   myListeningPort = 80;
                   CreateServSocket();
              //throw the socket exception outside, so that it can be handled
              public TransportHandler(int port) throws IOException{
                   super();
                   myListeningPort = port;          
                   CreateServSocket();
              private void CreateServSocket() throws IOException{
                            //create serversocket
                   server_socket = new ServerSocket(myListeningPort);
              public void printmsg(){
                   System.out.println(clientReq);
              @Override
              public void run() {
                   // TODO Auto-generated method stub
                   StartListening();
              public void StartListening(){
                   while(true){
                        //loop forever listening to connections
                        try {
                             Socket clientSocket = server_socket.accept();
                                             //create new thread to handle client connection
                             Thread clientthread = new Thread(new ClientConnectionHandler(clientSocket));
                             clientthread.setName("Client Handler");
                             clientthread.start();
                             printmsg();
                        } catch (IOException e) {
                             // TODO Auto-generated catch block
                             e.printStackTrace();
              public void StoreReq(String msg){
                   clientReq.concat(msg);
              private class ClientConnectionHandler implements Runnable{
                   Socket ClientSock;
                   BufferedReader sockReader;
                   InputStreamReader isReader;
                   String messageFromClient;
                   public ClientConnectionHandler(Socket sock){
                        ClientSock = sock;
                        try {
                             isReader = new InputStreamReader(ClientSock.getInputStream());
                             sockReader = new BufferedReader(isReader);
                        } catch (IOException e) {
                             // TODO Auto-generated catch block
                             e.printStackTrace();
                   @Override
                   public void run() {
                        // TODO Auto-generated method stub
                        int c= 0;
                        try {
                             while( (messageFromClient = sockReader.readLine())!= null){
                                  StoreReq(messageFromClient);  
                             //System.out.println("clientreq = "+clientReq);
                        } catch (IOException e) {
                             // TODO Auto-generated catch block
                             e.printStackTrace();
    }The TransportHandler is instantiated from another class HttpMessageHandler as shown below -
    import java.io.IOException;
    public class HttpMessageHandler {
         public static void main(String[] args){
              try {
                   TransportHandler server = new TransportHandler();
                   server.start();
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    }So in the above code when the server.start() is executed, the run() method in TransportHandler is executed. How do I get the string contained in clientReq in HttpMessageHandler after the data from client socket is fully read ?
    Edited by: turing09 on Dec 12, 2009 2:13 PM

    Okay, to make my problem more clear to you - basically I am trying to create a simple Http Server, wherein the HttpMessageHandler is an interface between the Http layer & the Transport layer (represented by TransportHandler class). I am trying to code it bottom-up. In my design I require the TransportHandler class to get the client http request data from the TCP socket and pass it onto the HttpMessageHandler class.
    At the same time TransportHandler class must continuously listen to the port to receive other connections. For every client connection, the TransportHandler creates a new ClientHandler thread & this new thread gets the data. The TransportHandler instance & the ClientHandler instance are running in seperate threads. The HttpMessageHandler is running in the main thread. Please note: the member variable clientReq is private & not public
    The problem I am facing here is that even when the ClientHandler thread finishes, I am not able to print the client request data in HttpMessageHandler thread.
    I am able to print the String in the run() method of ClientHandler but not in HttpMessageHandler main() method.
    Any solutions for this?
    Edited by: turing09 on Dec 12, 2009 5:24 PM
    Edited by: turing09 on Dec 12, 2009 5:25 PM

  • How to set the horisontal offset for a node relative its parent in JTree?

    When using large icons for nodes in a JTree the whole tree looks very compact. I found a method setRowHeight(int height) to set the row height that got med some space between the rows. But I couldn't find a simular method to increase the offset between a child node and its parent.
    Any suggestions?

    You can control the offset through the BasicTreeUI, as discussed in this thread:
    http://forum.java.sun.com/thread.jspa?threadID=630707&messageID=3636590
    See reply #8 and #9.

  • How to transfer file from ipod touch to i tunes. i have files in my ipod , ut itunes is  new so its telling if u sync the ipod all the files will be replaced but no files in the itunes.. so kindly help me how to transfer the files  from i pod to itunesb

    how to transfer file from ipod touch to i tunes. i have files in my ipod , ut itunes is  new so its telling if u sync the ipod all the files will be replaced but no files in the itunes.. so kindly help me how to transfer the files  from i pod to itunes......

    Some of the information below has subsequently appeared in a document by turingtest2: Recovering your iTunes library from your iPod or iOS device - https://discussions.apple.com/docs/DOC-3991
    Your i-device was not designed for unique storage of your media. It is not a backup device and media transfer was designed for you maintaining a master copy of your media on a computer which is itself properly backed up against loss. Syncing is one way, computer to device, updating the device content to the content on the computer, not updating or restoring content on a computer. The exception is iTunes Store purchased content.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer - http://support.apple.com/kb/HT1848 - only media purchased from iTunes Store
    For transferring other items from an i-device to a computer you will have to use third party commercial software. Examples (check the web for others; this is not an exhaustive listing, nor do I have any idea if they are any good):
    - Senuti - http://www.fadingred.com/senuti/
    - Phoneview - http://www.ecamm.com/mac/phoneview/
    - MusicRescue - http://www.kennettnet.co.uk/products/musicrescue/
    - Sharepod (free) - http://download.cnet.com/SharePod/3000-2141_4-10794489.html?tag=mncol;2 - Windows
    - Snowfox/iMedia - http://www.mac-videoconverter.com/imedia-transfer-mac.html - Mac & PC
    - iexplorer (free) - http://www.macroplant.com/iexplorer/ - Mac&PC
    - Yamipod (free) - http://www.yamipod.com/main/modules/downloads/ - PC, Linux, Mac [Still updated for use on newer devices? No edits to site since 2010.]
    - 2010 Post by Zevoneer: iPod media recovery options - https://discussions.apple.com/message/11624224 - this is an older post and many of the links are also for old posts, so bear this in mind when reading them.
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive - https://discussions.apple.com/docs/DOC-3141 - dates from 2008 and some outdated information now.
    Copying Content from your iPod to your Computer - The Definitive Guide - http://www.ilounge.com/index.php/articles/comments/copying-music-from-ipod-to-co mputer/ - Information about use in disk mode pertains only to older model iPods.
    Get Your Music Off of Your iPod - http://howto.wired.com/wiki/Get_Your_Music_Off_of_Your_iPod - I am not sure but this may only work with some models and not newer Touch, iPhone, or iPad.
    Additional information here https://discussions.apple.com/message/18324797

  • When using Migration Assistant to transfer files from my pc, I get an error message saying that an attempt was made to access a socket in a way forbidden by its access permissions.  How can I fix this?

    When using Migration Assistant to transfer files from my pc, I get an error message saying that an attempt was made to access a socket in a way forbidden by its access permissions.  How can I fix this?

    You followed:
    http://www.apple.com/support/switch101/

  • How to transfer photos from iphone to itunes windows 7

    How do I transfer/sync my photos from my iphone 4s to my PC running windows 7.  Then I would also like to erase 95% of the photos on my iphone and keep a few, yet I want to keep all of the pictures on my Windows7 PC hard drive.
    Thank you!

    vibosoft iPhone/ipad/ipod to computer transfer program would be the best iOS backup app which can easily backp or transfer photos from iPhone to windows 7 computer.
    There is no doubt that Vibosoft is a good transfer proglam, here is another method
    Step by step toturial on How to transfer photos from iphone to Mac:
    1.Connect the device to your computer. iPhoto should automatically launch into its import window with your device's images and videos listed.
    2.Click Import All. If you want only some of your images imported, select the images and videos you would like to import into iPhoto, then click the Import Selected button.
    3.When the photos finish importing, you will be presented with a dialog asking whether you'd like to delete the original photos from your Camera Roll. Click Delete Photos.

  • How do I transfer songs from my iPad to my computer

    I just got an iPad...I bought songs on iTunes but I don't know how to transfer the songs from my iPad to my computer

    You can use the transfer the purchases feature to put the music into itunes on your computer. Read the instructions copied from......
    http://support.apple.com/kb/ht1848
    If you want to transfer iTunes Store purchases from an iOS device or iPod to a computer, be sure to authorize the computer before connecting the device. To authorize, follow these steps:
    Open iTunes.
    From the Store menu, choose Authorize Computer.
    In the dialog that appears, the Apple ID button is selected by default.
    Enter your Apple ID and password, then click the Authorize button.
    If the iTunes Store purchases on your device were purchased with multiple accounts, you will need to authorize the computer for each one.To transfer iTunes Store purchases from your device to a computer, follow these steps:
    Connect your device to the computer. If it is synced with another iTunes library, the following dialog may appear:
    Click the Transfer Purchases button.
    Important: Clicking Erase and Sync will delete any existing content currently on your device. The content will be replaced with whatever existing content is in the current iTunes library your device is connected to. If there is no content in the iTunes library, nothing will be synced to your device, and your device will be empty.
    iTunes will begin copying any purchases made with any account for which the computer is authorized.
    If when you connect your device you are not prompted by the dialog above, it could be that the option "Do not ask me again" was previously selected. Fortunately, there are two more ways you can copy your purchases from your device.
    After connecting your device to the computer and its icon appears in iTunes, you can choose Transfer Purchases from "Your device name" from the File menu.
    Or, you can right-click (Windows or Mac) or Control-click (Mac only) your device in the iTunes Source list, then choose Transfer Purchases from the shortcut menu that appears.
    Please note that this feature only works for items that were purchased on the iTunes Store. Any items imported from audio CDs or acquired from other sources will not copy from your device to the iTunes library.
    Message was edited by: Demo

  • How do i transfer photos from my iphone to my mac computer?

    Feel like such an idiot because Macs are supposed to be so intuitive, but for the life of me I cannot figure out how to transfer the photos I took with my iPhone to my iMac. I have the phone plugged in through USB. The iMac doesn't seem to recognize it. When I open iTunes though, of course I can see it. But I can find absolutely no utility to allow me to transfer the photos to my computer. Help... what am I missing!
    Thanks!

    Step by step toturial on How to transfer photos from iphone 4/4s/5 to Mac:
    1.Connect the device to your computer. iPhoto should automatically launch into its import window with your device's images and videos listed.
    2.Click Import All. If you want only some of your images imported, select the images and videos you would like to import into iPhoto, then click the Import Selected button.
    3.When the photos finish importing, you will be presented with a dialog asking whether you'd like to delete the original photos from your Camera Roll. Click Delete Photos.
    <Link Edited by Host>

  • How do I transfer pics from my iphone 4 to desk computer?

    How do I transfer pics from iPhone 4 to desk computer?

    You can import pictures from your iOS device using iPhoto (if installed):
    Connect the device to your computer. iPhoto should automatically launch into its import window with your device's images and videos listed.
    Note: If iPhoto does not automatically open, you may wish to enable the behavior.
    Click Import All. If you want only some of your images imported, select the images and videos you would like to import into iPhoto, then click the Import Selected button.
    When the photos finish importing, you will be presented with a dialog asking whether you'd like to delete the original photos from your Camera Roll. Click Delete Photos.
    Note: Deleting photos after importing helps to reduce Camera Roll size, and it improves backup and restore times. You may choose Keep Photos if you wish to import the photos to additional computers.
    If you do not have iPhoto installed on your computer, you can import pictures from the device using Image Capture:
    Connect the iOS device to the computer.
    If Image Capture does not open automatically, you can navigate to your Applications folder and open Image Capture from there.
    Choose the location to which you'd like to import pictures.
    Click Options.
    Click the Options tab if it isn't already selected.
    Enable the option "Delete items from camera after downloading".
    Note: Deleting photos after importing helps to reduce Camera Roll size, and it improves backup and restore times. You may choose Keep Photos if you wish to import the photos to additional computers.
    Click OK.
    Click Download All.
    If you have Aperture, you can use it to import your photos. See the Aperture User Guide for more information.

  • How do you transfer money from one apple id to another

    How do you transfer money from one Apple ID account to another?

    hello guys i have the same problem before but i fixit already if you forget your security questions what you need to do its so aesy you just call apple 8006927753 from free magicjack app you can get it on your iPhone from App Store  just call and ask them to restore your apple id security questions .
    and the guy going to ask for your apple id address tell hem that and after that he will ask you to log in with your apple id and he will tell you to give hem pin code you can fiend it here just folw me …….
    go to this link and log in with your apple id https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/
    after you open the link go to ( manage your apple id ) after you click on manage your apple id  log in with your account.. and go to password and security questions there is something down on the left conner like this
    ( temporary support PIN ) click on that and you will see PIN number just tell the guy and he will restore you apple id password & security questions
    and done you have new security questions and password  you can pay what you want now ….. anything you want to ask I’m happy to help just contact me
    <Email Edited by Host>

  • Cannot transfer music from iTunes to iPod Shuffle

    Still having difficulty getting my head around how this iTunes stuff works.  I logged into iTunes and redeemed a $15 gift card by entering the code on the back.  I saw the $15 balance added to my account.  I proceeded to buy two songs, but now cannot get them onto the iPod Shuffle device.  I'm using a new Windows 8 PC and the iPod does not appear as a device within in iTunes.  So I remove the Shuffle from the USB port and take it to the older Windows 7 PC, plug it in, and now it shows up in iTunes on that machine.  However, when the two new songs I purchased don't show up in the Library there so when I try to Sync with the Shuffle, no new songs come over.
    On the Windows 8 PC, I see the two new songs along with three earlier purchased songs in the Library.  However, only the three earlier songs display the "Download from iCloud" icon next to them.  I'm guessing this means that the two new purchased songs only reside locally on the Windows 8 PC (where the purchase was initiated) and therefore cannot yet be seen from the Windows 7 PC.  If this is the case, how do I get the two new songs into iCloud so that I can transfer them to the Shuffle from the Windows 7 PC?  Or better yet, is there a way to get iTunes to see the Shuffle through Windows 8 so I can just transfer it from there?
    This is all far too confusing than it needs to be.  For a company that touts its "It Just Works" slogan, this experience is extremely disappointing.

    After some period of time, I eventually was able to see the newly purchased songs in the Library from the Windows 7 PC (not sure if there is typically such a delay).  I then finally figured out that I needed to click the "Download from iCloud" icons to manually initiate the download of the two new songs to the iTunes repository on that PC.  At this point, I found that re-running Sync finally completed the transfer of the songs to the iPod Shuffle.
    Still curious about why the device isn't detected on the Windows 8 PC, though.  But apparently it's a common issue as I get a lot of hits on this when I Google it.

Maybe you are looking for