S3T Posted November 25, 2007 Report Share Posted November 25, 2007 now i have seen this done before... i have a nicklist docked (right) but the list size is wrong.. how do i make the list size the same as the mirc when i maximise like in webchatz.koach.com2 its like something like size $window(@ $+ $1).hwnd list 2, 1 0 151 646, $windows(@ $+ $1).hwnd but am not sure any ideas!? Link to comment Share on other sites More sharing options...
Warrior124 Posted November 25, 2007 Report Share Posted November 25, 2007 (edited) You'd have to set the width, and heigth coordinates to a variable instead of a preset value, such as %nicksize. Then, you can use this code. set %nicksize $dll(dlls\nicklist.dll,GetSize,$1-) Here is a sample dialog. alias ff { if (!%ff. [ $+ [ $1- ] ]) || (!$exists(%ff. [ $+ [ $1- ] ])) set %ff. [ $+ [ $1- ] ] $longfn($findfile($nofile($mircexe),$1-,1)) return %ff. [ $+ [ $1- ] ] } dialog nick { title "" size 0 0 %nicksize option pixels list 1, 0 0 %nicksize, size } on *:JOIN:#: { if ($nick == $me) { set %nicksize $dll($ff(nicklist.dll),GetSize,$chan) dialog -m nick $+ $chan nick } } on *:dialog:nick*:init:*: { dll $ff(mdx.dll) SetMircVersion $version dll $ff(mdx.dll) MarkDialog $dname dll $ff(mdx.dll) SetDialog $dname style dll $ff(mdx.dll) SetControlMDX $dname 1 listview report showsel > $ff(views.mdx) dll $ff(nicklist.dll) Nicklist $dname $right($dname,-4) } Edited November 25, 2007 by Warrior124 Link to comment Share on other sites More sharing options...
S3T Posted November 25, 2007 Author Report Share Posted November 25, 2007 no i lie lol its a notify list (docked left) Link to comment Share on other sites More sharing options...
Guest Travis Posted November 25, 2007 Report Share Posted November 25, 2007 DCX's xdock kicks butt!! It has a switch to dock a dialog to your nicklist. After that you can easily resize it if the nicklist gets resized. Link to comment Share on other sites More sharing options...
S3T Posted November 26, 2007 Author Report Share Posted November 26, 2007 okkkkk... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now