Suppose the dialogs name is Test. Here is how you will dock using rebar.dll
This will dock the dialog Master to the left of the chat window.
dll $findfile($mircdir,rebar.dll,1) Dock $dialog(Master).hwnd > left
This will dock the dialog Master to the right of the chat window
dll $findfile($mircdir,rebar.dll,1) Dock $dialog(Master).hwnd > right
This will dock the dialog Master to the top of the chat window
dll $findfile($mircdir,rebar.dll,1) Dock $dialog(Master).hwnd > top
This will dock the dialog Master to the bottom of the chat window
dll $findfile($mircdir,rebar.dll,1) Dock $dialog(Master).hwnd > bottom
Just copy what code you want to use. 
Edited Jul 24, 2004 7:24 PM by Warrior124