Monitor Info 
Author Message
 Monitor Info

Hi, How do get the width and height of my monitor?
here are some code:

$main = new Mainwindow();

$monitorWidth = /* How do i get its info */
$minitorHeight = /* Same here */

$main->minsize($monitorWidth, $monitorHeight);

Thanks

Sent via Deja.com http://www.*-*-*.com/
Before you buy.



Fri, 05 Jul 2002 03:00:00 GMT  
 Monitor Info

Quote:
> Hi, How do get the width and height of my monitor?

> $main = new Mainwindow();
> $monitorWidth = /* How do i get its info */

$monitorWidth = $main->screenwidth;

Quote:
> $minitorHeight = /* Same here */

$minitorHeight = $main->screenheight;

Quote:
> $main->minsize($monitorWidth, $monitorHeight);

--
Marc Dashevsky  (remove "_" from address to reply by e-mail)


Fri, 05 Jul 2002 03:00:00 GMT  
 Monitor Info

Quote:

> Hi, How do get the width and height of my monitor?
> here are some code:

> $main = new Mainwindow();

> $monitorWidth = /* How do i get its info */

$main->screenwidth

Quote:
> $minitorHeight = /* Same here */

$main->screenheight

Quote:

> $main->minsize($monitorWidth, $monitorHeight);

Slaven

--
use Tk;$c=tkinit->Canvas(-he,20)->grid;$x=5;map{s!\n!!g;map{create$c 'line'=>
map{$a=-43+ord;($x+($a>>3)*2=>5+($a&7)*2)}split''}split"!";$x+=12}split/_/=>'K
PI1_+09IPK_K;-OA1_+K!;A__1;Q!7G_1+QK_3CLPI90,_+K!;A_+1!KQ!.N_K+1Q!.F_1+KN.Q__1+
KN._K+1Q!.F_1+KN.Q_+1Q__+1!KQ!.N_1;Q!7G_K3,09Q_+1!K.Q_K+1Q!.F_1+KN.Q_';MainLoop



Fri, 05 Jul 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. perlref.info for emacs info system?

2. stripping info, transposing info

3. File System monitoring with Perl

4. ANNOUNCE: mon-0.37l, service monitoring daemon

5. Looking for performance monitoring tools in perl

6. monitoring diskspace

7. Monitor file creation

8. monitoring child procs.

9. Document access monitoring

10. Win 2K Process Monitoring

11. Process Monitoring

12. monitoring perl's memory usage?

 

 
Powered by phpBB® Forum Software