You missed the most important part of your clarification: what mIRC option are you talking about?
Are you referring to setting windows as Desktop windows?
Custom windows can be toggled to the desktop if they were opened with the -D switch:
/window -D @mywindow
and then you can toggle it.
Note that creating a desktop window isn't what "docking" means.