aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes IMPOTANT: Drop down Menu disappears partially behind system tray in windows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "IMPOTANT: Drop down Menu disappears partially behind system tray in windows" Watch "IMPOTANT: Drop down Menu disappears partially behind system tray in windows" New topic
Author

IMPOTANT: Drop down Menu disappears partially behind system tray in windows

Tanveer Rameez
Ranch Hand

Joined: Dec 11, 2000
Posts: 158
I have a JApplet with a 'File Menu' menu in which there are about 10 menuitems. I load the html file in which this applet is embedded through a browser(IE65.0).
When I bring the internet browser(when it is not maximized) close to the bottom of the screen, and click on the file menu, then if all the menu items cannot be displayed(because the menu is close to the bottom), then menu items are displayed above the menu i.e. the drop down menu appears above the File' menu. So the drop down menu display is auto adjusted depending on the location of the menu relative to the screen.
But in windows, there is also the System tray(the task bar in the bottom side of the screen). If the browser is placed in such a position, that all the menu items of the menu in the applet would have been visible had the system tray been not there,then usually the last menuitem disappears behind the task bar. Try to increase the height of the System tray and more and more menu items disappear behind the System tray.
Is there no way,
a) I can relocate the whole set of menuitems(i.e the Drop down menu) to be displayed above the menu when it goes behind the task bar.
b) I can know the width of the Windows system taskbar?
please give me your idea even if you are not sure of the solution, because I know it is not easy.
thanks in advance.
Tanveer
[ July 15, 2002: Message edited by: Tanveer Rameez ]

Author of JPhotoBrush Pro (www.jphotobrushpro.com)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IMPOTANT: Drop down Menu disappears partially behind system tray in windows