|
|
Joined: Dec 2002
Posts: 397
Fjord artisan
|
OP
Fjord artisan
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
|
|
|
|
Joined: Dec 2002
Posts: 1,321
Hoopy frood
|
Hoopy frood
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
|
|
|
|
Joined: Nov 2003
Posts: 2,327
Hoopy frood
|
Hoopy frood
Joined: Nov 2003
Posts: 2,327 |
You could do it using mdx.dll.
New username: hixxy
|
|
|
|
Joined: Dec 2002
Posts: 397
Fjord artisan
|
OP
Fjord artisan
Joined: Dec 2002
Posts: 397 |
how would i go about of moveing it w/ mdx.... =/ thats something i didnt know _-_;
|
|
|
|
Joined: Nov 2003
Posts: 2,327
Hoopy frood
|
Hoopy frood
Joined: Nov 2003
Posts: 2,327 |
Read the "MoveControl" section of the "dialog.hlp" help file that came with it.
New username: hixxy
|
|
|
|
Joined: Dec 2002
Posts: 397
Fjord artisan
|
OP
Fjord artisan
Joined: Dec 2002
Posts: 397 |
|
|
|
|
Joined: Dec 2002
Posts: 397
Fjord artisan
|
OP
Fjord artisan
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?
|
|
|
|
Joined: Nov 2003
Posts: 2,327
Hoopy frood
|
Hoopy frood
Joined: Nov 2003
Posts: 2,327 |
Works fine for me, maybe you need a better pc?
New username: hixxy
|
|
|
|
Joined: Dec 2002
Posts: 397
Fjord artisan
|
OP
Fjord artisan
Joined: Dec 2002
Posts: 397 |
|
|
|
|
Joined: Dec 2002
Posts: 3,138
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,138 |
It happens to me too (XP Home)..I'll test it on 98SE later perhaps...
|
|
|
|
Joined: Jan 2003
Posts: 2,523
Hoopy frood
|
Hoopy frood
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
|
|
|
|
Joined: Dec 2002
Posts: 397
Fjord artisan
|
OP
Fjord artisan
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 ;/
|
|
|
|
Joined: Nov 2003
Posts: 2,327
Hoopy frood
|
Hoopy frood
Joined: Nov 2003
Posts: 2,327 |
Make sure you are moving the correct id.
New username: hixxy
|
|
|
|
Joined: Dec 2002
Posts: 3,138
Hoopy frood
|
Hoopy frood
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. 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.
|
|
|
|
Joined: Dec 2002
Posts: 397
Fjord artisan
|
OP
Fjord artisan
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 _+_
|
|
|
|
Joined: Nov 2003
Posts: 2,327
Hoopy frood
|
Hoopy frood
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
|
|
|
|
Joined: Dec 2002
Posts: 397
Fjord artisan
|
OP
Fjord artisan
Joined: Dec 2002
Posts: 397 |
ic..... srry for missunderstanding ;/
|
|
|
|
|
|