mIRC Home    About    Download    Register    News    Help

Print Thread
#96462 01/09/04 10:05 PM
Joined: Dec 2003
Posts: 28
L
LEET Offline OP
Ameglian cow
OP Offline
Ameglian cow
L
Joined: Dec 2003
Posts: 28
Hi,

I found out for myself that if you use $window().dw to return the value of an inactive window, it returns a false answer. I searched through the forum and found out that this is normal (from Khaled's explanation). ie. because only the top window is maximised, mdi makes the other windows smaller etc.

So i was wondering what other alternatives can i use to return the width in pixels of the text display area of an inactive window correctly how it was left.

Any suggestions welcome. thx smirk


I R WITH STUPID -> LEET
#96463 02/09/04 11:44 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
store the values in a hash table when the windows are activated:

on *:active:*:{ hadd -m windows $active $window($active).dw }

$hget(windows,windowname)


New username: hixxy

Link Copied to Clipboard