Open a non modal window in foreground/on top of the others

Hi,
I need to show a PDF in a separate browser window. To do that I use the following lines of code:
IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(resource.
     getUrl(WDFileDownloadBehaviour.AUTO.ordinal()));
window.show();
The problem is that the browser's new window is placed in background (i.e., beneath the active window). Do someone knows how to show the window in foreground (i.e., over/on top the active window)?
Thank you,
Pietro

(Closing due to inactivity)

Similar Messages

  • RH 7: In a CHM, how can I open an independent, non-modal window?

    Hi all,
    Using RH7.
    From within a CHM page, how can I open an independent, non-modal window?
    From within a topic I want to display a large picture by clicking an icon. The picture should appear in an independent, non-modal window that the reader can grab on its caption bar and so move the window  around. Thus, the reader can move the picture window to one side of the monitor, for example, and then use it as a reference, while continuing to read the topic on the other side of the monitor.
    Is this possible in RH7? If so, which RH feature would I use to do this?
    TIA
       avi

    Hi there
    I'm guessing you want to simply open a new browser window without any browser controls, right? In this case, you will need to use JavaScript to do it.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Non Modal Window Popup BSP View

    Hi,
    I have a requirement to launch a pop up window which will allow the user to access the original screen from which the pop up was launched (i.e. a non modal window). The pop up window contains a calculator with the intention being that the user would be able to view and copy data displayed on the original screen into the fields of the calculator.
    I have created the calculator as a form view within a BSP component. All of the fields on the form view have been configured using the configuration tab. I have successfully created a modal pop up using the following on the buttons click event:
    comp_controller->window_manager->create_popup( ).
    However, this does not meet my requirement because the form view is displayed in a modal window. I have also attempted to load the pop up using javascript however the view does not initialise correctly when it is loaded which causes a null reference error.
    Can anyone please provide any advice or assistance related to creating a non-modal window for a configured form view within a BSP component? Many of the examples I have found online are related to WebDynPro applications and html pages with flow logic rather than configured views with a controller class.
    Thank you.

    Hi,
    I have a requirement to launch a pop up window which will allow the user to access the original screen from which the pop up was launched (i.e. a non modal window). The pop up window contains a calculator with the intention being that the user would be able to view and copy data displayed on the original screen into the fields of the calculator.
    I have created the calculator as a form view within a BSP component. All of the fields on the form view have been configured using the configuration tab. I have successfully created a modal pop up using the following on the buttons click event:
    comp_controller->window_manager->create_popup( ).
    However, this does not meet my requirement because the form view is displayed in a modal window. I have also attempted to load the pop up using javascript however the view does not initialise correctly when it is loaded which causes a null reference error.
    Can anyone please provide any advice or assistance related to creating a non-modal window for a configured form view within a BSP component? Many of the examples I have found online are related to WebDynPro applications and html pages with flow logic rather than configured views with a controller class.
    Thank you.

  • Regarding TreeItemType and Non Modal window in WDA

    Hello Guys,
    I am showing data in tree format in WDA and handling onAction event of TreeItemType. whenever user is clicking the last node in hierarchy (UI element TreeItemType), I am navigating to detailed view.
    the problem I am facing is that user is expanding the tree and selecting the child node to navigate to detailed view and now when he comes back to initial view, entire tree gets collapsed. and this leads user to again expand the tree.
    Is anyone have idea on this problem. I wanted my first view to be same after user navigates to 2nd view and comes back to 1st one.
    apart from this I have below question,
    1) In WDA, we cannot have non-modal window. Correct?
    2) If we call external window within WDA then the same application will not work in portal environment (WDA iView). Please let me know if this is correct?
    Thanks,
    Chandra

    Hallo Chandra,
    What you do when the control returns from view-2 to view-1 ? . Tree is not collapsing itself i suppose. Some how ,Contexts are being manipulated or node is invalidated forcing supply function to call.
    You could save the lead selected item before you navigate to view-2. When you come back again position the correct item.
    > 1) In WDA, we cannot have non-modal window. Correct?
    In what context you mean ? you can have external_window or link_to_url.
    If you mean popup then it is not possible to have non-modal.
    > 2) If we call external window within WDA then the same application will not work in portal environment (WDA iView). Please let me know if this is correct?
    This is correct.

  • Cannot open PDF in Modal window

    Hi,
    I am trying to execute the reports and open the pdf file in a showModalDialog window, but I get only blank screen. Basically, I want to open the PDF in modal window so that the URL value is not stored or displayed in the screen..
    Is there any setting required or is pdf not supported in modal windows?
    Has anyone faced such problem.
    Thanks & Regds,
    Nandakumar

    As others have said.....first, go to Finder > Preferences and make sure the checkbox is deselected for "open folders in tabs instead of new windows".
    Any folder can be opened in a new window by holding down the Command Key while double-clicking the folder. But sooner or later you will forget to hold down that key, and then a folder will open in a tab (which will probably resize the window and cause much aggravation and cursing).
    If you're like me and don't like tabs very much, there is a way to make folders always open in windows with a simple double-click. (I'm using Mavericks 10.9.5).  Go to any folder on the Desktop, open it, and select View > Hide Toolbar. After that, all folders within that folder will open in a new window. I tried this with the Macintosh HD Folder (which I put on my Desktop) and all folders within it open in new windows with only a double-click.
    Of course, you will lose the sidebar and the toolbar, so it's not a perfect solution, but at least you'll be done with tabs.

  • I am trying to open iTunes on my Windows 7 PC and am getting the following message...the itunes library can not be found or created.  The default location for this file is in the "iTunes" folder in the "Music" folder.  Any ideas?

    I am trying to open iTunes on my Windows 7 PC and am getting the following message...the itunes library can not be found or created.  The default location for this file is in the "iTunes" folder in the "Music" folder.  Any ideas?

    Let's try this first. Hold down the Shift key while you try to launch iTunes. You should eventually see the following dialog:
    Click "Choose library". Browse to inside the following location (depending on what operating system you're running):
    Operating System
    Default location of iTunes library
    Microsoft Windows XP
    \Documents and Settings\[your username]\My Documents\My Music\iTunes\
    Microsoft Windows Vista
    \Users\[your username]\Music\iTunes\
    Microsoft Windows 7
    \Users\[your username]\My Music\iTunes\
    ... and open the iTunes library you find in there.

  • The LOV modal window could not return value to the base page

    when practicing the "create1" task in tutorial, met an issue.
    when create an employee, manageName is a messageLovInput and managerID is a messageTextInput.
    The issue is the LOV modal window could not return value to the mangerName, but can return to managerID .
    If I remove the data boud porperties of the managerName (the bc4j porperties of view name-EmpFullVO and view attribute-MgrName), the lov works fine.
    What is the reason?

    James I would suggest to read the LOV topic in OAF developers' guide. Lov mappings are responsible for bringing pop up values to base page in LOV.
    --Mukul                                                                                                                                                                                                                                                                                                                                                   

  • When I open a link in a website it opens as a new window instead of just staying on the same page

    In any website, when I click on a link it opens in a new window.this even occurs in google when I click any of the results it opens in a new window instead of just staying on the same page.tabs work fine however, it is just links on websites.

    Did you check the search settings on the Google Search Settings page?
    * http://www.google.com/preferences?hl=en
    ''Where results open: Open search results in a new browser window.''
    You can set the browser.link.open_newwindow pref to 1 to open links by default in the current tab.
    *http://kb.mozillazine.org/browser.link.open_newwindow (3)
    You can set this pref to 0 (zero) to do this for all widows opened via JavaScript.
    *http://kb.mozillazine.org/browser.link.open_newwindow.restriction (0)

  • I am not able to open my 'system preferences' it shows up on top, but the window just won't open. I haven't installed anything new, I have also restarted my computer, but still encounter this problem. Help?

    I am not able to open my 'system preferences' it shows up on top, but the window just won't open. I haven't installed anything new, I have also restarted my computer, but still encounter this problem. Help?

    Reinstall Lion, Mountain Lion, or Mavericks without erasing drive
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu.
    Reinstall Lion, Mountain Lion, or Mavericks
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
    OS X Lion- Reinstall Mac OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it is three times faster than wireless.

  • How do I play a video in full-screen mode on one screen of a dual-screen Windows 7 system without blanking out the other screen?

    How do I play a video in full-screen mode on one screen of a dual-screen Windows 7 system without blanking out the other screen?  Not losing the other screen would be useful as I would like to, for example, monitor my emails whilst watching a video or to work on a project whilst watching an instructional video.
    Note : Resizing a window to fill the screen is not acceptable as it still leaves unsightly borders.

    bump

  • When I open multiple images, they open one on top of the other, filling the entire workspace

    I'd like to be able to view them and edit them side by side, but when I click on one, it opens on top of the other. I don't know how to change this so the images can be edited side-by-side. I tried Cascade, but it's grayed out and not an option. Help!

      It’s best to change preferences and then cascade and the other options become available.
    Click Edit à Preferences à General
    Then check Allow Floating Documents in full Edit.
     

  • I have been unsuccessful merging serval pdf files into one file.  I select the Sidebar for both pdfs, then drag one pdf on top of the other and Save the Version.  When I open the file I think I have saved, it shows only the original pdf.  Advice would be

    I have been unsuccessful merging serval pdf files into one file.  I select the Sidebar for both pdfs, then drag one pdf on top of the other and Save the Version.  When I open the file I think I have saved, it shows only the original pdf.  Advice would be appreciated.  Thank you.

    wouldnt it be easier if you could do something like this?
    https://discussions.apple.com/thread/3392535

  • Hyperlinks in PDF to open in non-browser window

    Hi there,
    First off, this is what I want to achieve, if possible:
    1.     Create Word document with hyperlink linking to, predominantly, image files;
    2.     Save this as a PDF
    3.     When clicking on an image link (hyperlink), e.g. test.jpg it should open the client's default image viewer software and NOT a browser, e.g. Paint or Photoshop or whatever they're using...
    Is this possible?
    Then... would it then be possible, somehow, to edit the opening of this link so that it either resizes the on-screen panels so that it shows side-by-side, OR open the image on top of the PDF document?
    Thank you so much for any help!
    Regards,
    W

    i'm not sure what this means:
    app.launchURL("http://www.google.com", true);

  • Non-modal JDialog is not painted and blocks the GUI

    I have developed a GUI that's basically a JFrame with a JDesktopPane.
    The user can, via a menu item, pop up a JDialog that contains some JLists and then select some value from it. Once he/she has done the selection and clicks on OK, the dialog disappears (data processing is then done in the main GUI) and comes back once a specific event has happened. The user then selects other data and so on, until he/she clicks on Cancel, which definitely disposes of the JDialog.
    The graphics of the JDialog are build in the class constructor, which does a pack() but does not make the dialog visible yet. The dialog appears only when doSelection() is called.
         /** Called the first time when user selects the menu item, and then
         when a specific event has happened. */
         public Data[] doSelection() {
              dialog.setVisible(true);
              // ... Code that reacts to user's input. Basically, the ActionListener
              // added to the buttons retrieves the user's selection and calls
              // dialog.setVisible(false) if OK is clicked, or calls dialog.dispose()
              // if Cancel is clicked.
         }Now, everything works fine if the JDialog is modal, but if I make it non-modal only the window decorations of the JDialog are painted, and the control doesn't return to the main GUI. Calling doLayout() or repaint() on the doSelection() has no effect. How can this be fixed?
    I hope I have been able to explain the problem satisfactorily, I could not create a suitable SSCCEE to show you. Thanks in advance for any hint.

    Ok, I've taken some time to think about this problem and I've modified the code a bit.
    Now the dialog shows itself and is responsive (i.e. its JLists can be operated), but the Ok button does not close the dialog as I'd want. I believe that I'm messing up things about threading, and the operations in actionPerformed() should be carried out in another thread, if possible.
    Thanks in advance for any hint / suggestion / comment / insult.
         private Data[] selection;
         /** Constructor */
         public MyDialog() {
              // ... Here is the code that builds the dialog...
              dialog.setModal(false);
              dialog.pack();
              // Note that the dialog is not visible yet
         public Data[] doSelection() {
              operatorAnswer = NONE_YET;
              dialog.setVisible(true);          
              while (operatorAnswer == NONE_YET) {
                   try {
                        wait();
                   } catch (InterruptedException e) { }
              return (operatorAnswer == OK ? selection : null);
         public void actionPerformed(ActionEvent evt) {
              if (okButton.equals(evt.getSource())) {
                   operatorAnswer = OK;
                   retrieveSelection();
                   dialog.setVisible(false);
              else if (cancelButton.equals(evt.getSource())) {               
                   operatorAnswer = CANCEL;
                   dialog.dispose();
         private void retrieveSelection() {
              // ... Here is the code that retrieves selected data from the dialog's JLists
              // and stores it in the "selection" private array...
              notifyAll();
         }

  • When I open up Firefox I get 2 windows one with my tabs and the other is ad on manager how do I stop the second window if I try to close it both windows clos

    This problem just started when I start up Mozilla fire fox it opens 2 sessions or something the first one has my tabs form the previous session the other one is blank except for the 2nd window only has add on information, but when I try to close the second window it automatically closes the whole thing and I have to start all over again, what can I do

    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox Profile Folder that store session data.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    *http://kb.mozillazine.org/Multiple_profile_files_created

Maybe you are looking for

  • IPhone doesn't ring in wifi mode

    Both my wife and I have iPhone 5 phones. We noticed a problem when I first got mine that the phone didn't always let calls go through when it was on the wifi network in the house. Some calls did, some calls did not. We then found that if you turned o

  • Character value truncated in ALV display

    Hi,   We are using DISPLAY() method in class CL_SALV_TABLE to display the ALV output. One of the field in internal table that is being used contains more than 400 characters. But in the output, it is displaying not more than 255 characters. Can you p

  • Slow/fast/reverse in video effects

    Hi I've just got the new iMac with iMovie 08. Does anyone know how I can get into the video effects and the slow/fast/reverse function?

  • FI- Reconciliation ledger

    Hi, I would like to know what is meant by Reconciliation Ledger and How we can create Reconciliation Ledger in the SAP - Retail

  • How to add attribute to the elements in XML file in BPEL transformation

    Hi All- I have to create a XML file using transformation and file adapater and the parent element is USERRECORDS, now when I am creating the XML file using transformation the XML get creates like <?xml version="1.0"> <USERRECORDS> so on But I want th