Skip to Content
author's profile photo Former Member
Former Member

PopUp Window

Hello All,

I am trying to create an application which opens in a small window of IE. By small window i mean that the <b>menubar</b> & <b>tool bar</b> etc of <b>Internet Explorer</b> are <b>not available</b> to the user from the <b>start of application</b>.

It is like an <b>applicaion starting in a pop-up</b>.

Is it possible?

Regards,

Aayush

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Aug 10, 2005 at 03:06 PM

    Hi Ayush,

    In any event say openwindow() have this code snippet:-

    IWDWindow mywindow= wdComponentAPI.getWindowManager.

    createExternalWindow(String Url,String Title,Boolean modal);

    mywindow.open();

    For Eg:-

    String Url ="http://www.google.com";

    String Title ="Google Window";

    Boolean Modal ="true or False";

    Note:- As of now only non modal windows are supported.

    Hope it helps.

    Regards,

    guru

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 10, 2005 at 03:41 PM

    Hi Aayash,

    You can create a window using the following code. But you cant drag the window

    IWDWindowInfo wininfo = wdComponentAPI.getComponentInfo().findInWindows("WD_Group_Details");

    IWDWindow myextwindow = wdComponentAPI.getWindowManager().createWindow(wininfo,true);

    myextwindow.setWindowPosition(80,150);

    myextwindow.setWindowSize(800,200);

    ( (Window) myextwindow ).setTitle( "Session Details");

    myextwindow.open();

    Hope this helps you

    Regards

    Rohit

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Aayush Dubey

      I faced the exact a similar problem in which I was trying to open a pop-up in the wdDoInit, or wdDoModifyView methods of the view. But it gave me an IE "Operation aborted" dump.

      Please check /community [original link is broken] messageID=1099475&tstart=0. Read the COMPLETE thread... especially the second last entry. Valery has given the possible explanation for this problem & a perfect workaround .. 😊

      And it works absolutely fine too !

      regards,

      Navneet.

  • Posted on Aug 10, 2005 at 04:38 PM

    Hi,

    delete offline content in IE.then popup windows shd work.

    After opening the window have a button in the window and onclick on it fire

    window.close();

    Regards,

    Guru

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Aayush Dubey

      Hi Aayush

      I have seen your code. You seem to call the popup window from init method of the view. Generally this is not the method.

      You need to call the code what you have written on any action once the view is loaded.

      Now what you are trying to do is create a popup window without a parent window :-).

      Regards

      NagaKishore

  • author's profile photo Former Member
    Former Member
    Posted on Aug 11, 2005 at 05:07 AM

    Hi All,

    Here Aayush is trying to call a popup window in the Init method of one view.

    But he is getting an IE popup and application is terminating.

    Question is whats the problem in calling a popup window in the init method of another view ?

    Regards, Anilkumar

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.