cancel
Showing results for 
Search instead for 
Did you mean: 

Removing Status Bar from Application Window

Amey-Mogare
Contributor
0 Kudos

Hi all,

Is there any way to hide/remove status bar of browser window?

I tried removing it through following line of code:-


//This MainWin is the default window for the application
IWDWindowInfo WindowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("MainWin");
IWDWindow Window = wdComponentAPI.getWindowManager().createModalWindow(WindowInfo);
Window.removeWindowFeature(WDWindowFeature.STATUS_BAR);

But its not working.

I tried writing this code inside wdDoInit() of component controller / View's init / onAction event. But no use.

Any ideas on this?

Thanks and regards,

Amey Mogare

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

try this code


IWDWindowInfo WindowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("MainWin");
IWDWindow Window = wdComponentAPI.getWindowManager().createModalWindow(WindowInfo);
Window.removeWindowFeature(WDWindowFeature.STATUS_BAR);
Window.show();

Regards,

Naga

Amey-Mogare
Contributor
0 Kudos

Hi,

Thank you for reply.

But I want to hide address bar from default application window! This application would be triggered from a link in another (web dynpro / non-web dynpro) application.

And user should not be able to see where he is gets navigated.

So, is there anyway we can hide address bar from default application window of a Web Dynpro application?

Thanks and regards,

Amey Mogare

Former Member
0 Kudos

Hi,

IWDWindowInfo WindowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("MainWin");
	IWDWindow Window = wdComponentAPI.getWindowManager().createModalWindow(WindowInfo);
	Window.removeWindowFeature(WDWindowFeature.STATUS_BAR);
	Window.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
	Window.show();

Regards,

Naga

Answers (0)