/ Forside / Teknologi / Udvikling / Java / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Java
#NavnPoint
molokyle 3688
Klaudi 855
strarup 740
Forvirret 660
gøgeungen 500
Teil 373
Stouenberg 360
vnc 360
pmbruun 341
10  mccracken 320
How to get fullscreen, excluding Windows s~
Fra : Soren Hansen


Dato : 01-05-01 21:59

Hi

How do i get the screen size, excluding the Windows start line? I want to
make an application, which fills the screen, but the Start line must always
be visible. Even if it sits at the sides or the top of the screen.

How do I do that!?!?!?!?

--

------------
Soren Hansen
sh.dk@get2net.dk





 
 
Joona I Palaste (01-05-2001)
Kommentar
Fra : Joona I Palaste


Dato : 01-05-01 23:04

Soren Hansen <sh.dk@get2net.dk> scribbled the following
on comp.lang.java.programmer:
> Hi

> How do i get the screen size, excluding the Windows start line? I want to
> make an application, which fills the screen, but the Start line must always
> be visible. Even if it sits at the sides or the top of the screen.

> How do I do that!?!?!?!?

AFAIK this isn't possible with the standard Java release. You have to
rely on Microsoft-specific extensions (com.ms.*).

--
/-- Joona Palaste (palaste@cc.helsinki.fi) ---------------------------\
| Kingpriest of "The Flying Lemon Tree" G++ FR FW+ M- #108 D+ ADA N+++|
| http://www.helsinki.fi/~palaste W++ B OP+ |
\----------------------------------------- Finland rules! ------------/

"A bicycle cannot stand up by itself because it's two-tyred."
- Sky Text

Stephen Woods (02-05-2001)
Kommentar
Fra : Stephen Woods


Dato : 02-05-01 01:01

The Start Menu visibility is obviously specific to Microsoft Win32
platforms. You could simply make your application start with a maximized
window (JFrame, Frame), and just make sure the "Always on Top" property is
set in the Start Menu Properties dialog box.

If you have to programmatically make sure that property is set, then you'll
have to rely on whatever proprietary tools Microsoft has provided for Java.


Stephen Woods
Altara Systems
http://www.altarasystems.com


"Soren Hansen" <sh.dk@get2net.dk> wrote in message
news:CsFH6.220$T22.32580@news010.worldonline.dk...
> Hi
>
> How do i get the screen size, excluding the Windows start line? I want to
> make an application, which fills the screen, but the Start line must
always
> be visible. Even if it sits at the sides or the top of the screen.
>
> How do I do that!?!?!?!?
>
> --
>
> ------------
> Soren Hansen
> sh.dk@get2net.dk
>
>
>
>
>



Søg
Reklame
Statistik
Spørgsmål : 177552
Tips : 31968
Nyheder : 719565
Indlæg : 6408847
Brugere : 218887

Månedens bedste
Årets bedste
Sidste års bedste