mIRC Home    About    Download    Register    News    Help

Print Thread
#83154 16/05/04 01:19 AM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
is there a way to move an icon in a dialog? w/o opening and then closeing it ;/ that would be annoying


Need amazing web design for low price: http://www.matrixn3t.net
#83155 16/05/04 08:34 AM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
No. You cannot resize nor move a control on an open dialog. You can only alter what's displayed in that control.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#83156 16/05/04 10:49 AM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
You could do it using mdx.dll.


New username: hixxy
#83157 16/05/04 05:28 PM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
how would i go about of moveing it w/ mdx.... =/ thats something i didnt know _-_;


Need amazing web design for low price: http://www.matrixn3t.net
#83158 16/05/04 07:01 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Read the "MoveControl" section of the "dialog.hlp" help file that came with it.


New username: hixxy
#83159 16/05/04 07:57 PM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
thank you will do


Need amazing web design for low price: http://www.matrixn3t.net
#83160 17/05/04 01:05 AM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
erm new problem.....

ok i now know how to get it too move..... but theres a problem..

i put in
//dll $md MoveControl <dlg> <id> <new pos>

and it does it.... but .... it doesnt move

but heres the really odd part....

it doesnt show that it moves untill u make mirc minimize it or goto a diff proggy then come back to mirc... and it shows it moved...

i have tryed 2 diffrent aproces to over come this but both have failed

1) i move the icon then hide and restore visability....
2) make the dialog inactive and return its activeness

both failed any other ideas?


Need amazing web design for low price: http://www.matrixn3t.net
#83161 17/05/04 01:22 AM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Works fine for me, maybe you need a better pc? wink


New username: hixxy
#83162 17/05/04 02:08 AM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
eh no my pc is just fine


Need amazing web design for low price: http://www.matrixn3t.net
#83163 17/05/04 02:41 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
It happens to me too (XP Home)..I'll test it on 98SE later perhaps...

#83164 17/05/04 08:48 PM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
I haven't tried it (and I can't), so I have no idea if it works, but have you tried did -g $dname ID $did($dname,ID) after the MoveControl call?


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
#83165 17/05/04 09:33 PM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
herm that seems to work .... but like the 2 previous trys it leaves a box where the last one was ;/


Need amazing web design for low price: http://www.matrixn3t.net
#83166 17/05/04 09:39 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Make sure you are moving the correct id.


New username: hixxy
#83167 17/05/04 09:46 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
I got the same result. Using /dialog -s to move the dialog off the screen and back again seems to work.
Code:
alias redraw {
  var %t = $dialog($dname).x $dialog($dname).y $dialog($dname).cw $dialog($dname).ch
  dialog -sb $dname -10000 -10000 0 0
  dialog -s $dname %t
}

Last edited by Collective; 17/05/04 10:07 PM.
#83168 18/05/04 12:05 AM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
im not trying to move the [censored] dialog, im attempting to move an icon on the dialog and it works but it leaves a small box where the old icon was _+_


Need amazing web design for low price: http://www.matrixn3t.net
#83169 18/05/04 01:02 AM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
He is saying that moving it off the screen, then back on fixes the icon problem.


New username: hixxy
#83170 18/05/04 01:07 AM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
ic..... srry for missunderstanding ;/


Need amazing web design for low price: http://www.matrixn3t.net

Link Copied to Clipboard