mIRC Home    About    Download    Register    News    Help

Print Thread
windows().y bug? #2173 17/12/02 12:45 PM
Joined: Dec 2002
Posts: 18
T
TomT Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: Dec 2002
Posts: 18
I am using mIRC 6.03 and XP Pro. I find that when reading the .y value of a custom window on the desktop, that the value is incremented by '30'. I am curious to know if this is an issue related to mIRC, XP, both or something totally unrelated?

Note .x .w .h remain constant.

Last edited by TomT; 17/12/02 01:00 PM.
Re: windows().y bug? #2174 17/12/02 01:19 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
What switches are you using when creating the window?

Re: windows().y bug? #2175 17/12/02 01:27 PM
Joined: Dec 2002
Posts: 18
T
TomT Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: Dec 2002
Posts: 18
switches used are: -alksd

Re: windows().y bug? #2176 17/12/02 10:03 PM
Joined: Dec 2002
Posts: 1,321
H
Hammer Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
That extra 30 is probably for the titlebar of that window. Try the following to commands. The first gives you information about the window itself, including borders/titlebar. The second gives you just the display area for that window.

//echo -ati2 * (xywh) $window(@windowname).x $window(@windowname).y $window(@windowname).w $window(@windowname).h
//echo -ati2 * (xywh) $window(@windowname).dx $window(@windowname).dy $window(@windowname).dw $window(@windowname).dh


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
Re: windows().y bug? #2177 18/12/02 02:46 AM
Joined: Dec 2002
Posts: 18
T
TomT Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: Dec 2002
Posts: 18
well.. I agree.. thats what is happening.. now.. is there an option I have missed somewhere that is causing that quirk.. cause in talking with someone else with similiar setup as mine.. 6.03 and xp.. they sy they are not experiencing the same oddity

Re: windows().y bug? #2178 18/12/02 08:14 AM
Joined: Dec 2002
Posts: 1,321
H
Hammer Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
Nope, no option to change that. They probably just don't notice the difference, or they have already switched from .y to .dy.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C