In pure Java, no. The Win32 call is SystemParametersInfo(...) - use SPI_GETWORKAREA (gets the "work area" of the desktop - the rectangle not obscured by desktop bars (taskbar, etc.)) or ABM_GETTASKBARPOS (gets the info for the size of the taskbar) for the action.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/sys info_4p67.asp The other thing you could do is not let right click menus extend outside of the IDEA window (or at least try - I realize this can't always be done if the IDEA window is really small). Jason Boehle [EMAIL PROTECTED] -----Original Message----- From: Eugene Belyaev [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 3:20 PM To: [EMAIL PROTECTED] Subject: RE: [Eap-list] BUG: editor pop-up menu shows up under taskbar Any clue on how to check for the height? Best regards, Eugene Belyaev IntelliJ Software, http://www.intellij.com "Develop with pleasure" > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Jason Boehle > Sent: Thursday, February 14, 2002 10:01 PM > To: '[EMAIL PROTECTED]' > Subject: [Eap-list] BUG: editor pop-up menu shows up under taskbar > > > Win2K w/ SP2, Sun JDK 1.3.1_02, IDEA 602. > > I have my Taskbar configured to be the height of two window > icons, so it can hold two rows of window icons. The IDEA > editor pop-up menu appears to have a constant height check > instead of actually checking the system for height of the > Taskbar. See attached pic, the pop-up is under the Taskbar. > > Jason Boehle > [EMAIL PROTECTED] > > _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
