okay, this time I'm needing a little dialog help, lol. Is there a way to dock a $window to a $dialog? For instance I was wondering if there is a way to dock a whisper window to a dialog? I've seen a dll that can dock dialogs to windows, but I don't think it will work in the way I was wanting.
That would be mdx.dll..
You have to make where the chat is displayed a button and then set it to a window using mdx.. then you have to grab $window(@..).hwnd to put that window in the dialog..
Don't ask me about details on how to do this because I don't remember the code.
err0r: 666 + 1337 = 2003 backwards is 3002 which is how many people ozzy has banned from tg
err0r: spooky
in the dialog, where you want the window to appear, make it as a button, including the size. So if you wanted a pretty big window, it would originally be a pretty big button.
from there, you will need both mdx.dll and dialog.mdx
dll $mdx SetControlMDX $dname 5 Window > $dialogmdxwindow -h @ $+ %gdnick -1 -1 700 300
did -a $dname 5 grab $window(@ $+ %gdnick $+ ).hwnd @ $+ %gdnick
the above quote is from my whisper dialog that i have in GD4.x
basically you need to change 5 to the id you want. $mdx = mdx.dll and $dialogmdx = dialog.mdx
@ $+ %gdnick would be the window you want, so in this case you would have it as say @test intest of @ $+ %gdnick
then you would grab that window, and put it over the top. ofcourse it does take some playing around to get it right, but the steps i have shown you here should get you there.
Sign in to reply or start a new topic where your account has permission.