cancel
Showing results for 
Search instead for 
Did you mean: 

open a popup window in the maximaize mode

former_member485701
Active Participant
0 Kudos

Hi All,

I want to open a pop-up window in maximize mode, so that it fitted to my application window

properly.

Is there any method for maximizing pop-up window available?

Regards,

Praveen

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Praveen,

In latest version you can use as follows

window.setWindowSize(new WDCssSize(100, WDWindowUnitOfLength.PER_CENT), new WDCssSize(100, WDWindowUnitOfLength.PER_CENT));

Regards

Ayyapparaj

former_member485701
Active Participant
0 Kudos

Hi Ayyapa,

Thanks for replying.

But, It does not maximize the pop-up window.

Did you used this constructor in your application?

Waiting for your response!

Regards,

Praveen

Former Member
0 Kudos

IWDWindow externalWin = wdComponentAPI.getWindowManager().createNonModalExternalWindow("http://www.google.co.in/", "External");

externalWin.setWindowPosition(WDWindowPos.CENTER);

externalWin.setWindowSize(1280,850);

externalWin.show();

the dimension given above opens the external window in the maximum size

Former Member
0 Kudos

Hi,

You can use setWindowSize() method of IWDWindow.

thanks & regards,

Manoj