mIRC Homepage
Posted By: SteeleR titlebarless dialog - 12/07/05 07:13 AM
anyone know how to make a titlebarless dialog window ?
Posted By: Seifer Re: titlebarless dialog - 12/07/05 07:19 AM
only way I know of is with mdx.dll
Posted By: SteeleR Re: titlebarless dialog - 12/07/05 07:29 AM
10x ... i'll see if it works ...
Posted By: Darkmnm Re: titlebarless dialog - 14/07/05 11:48 AM
Yes you do need to use MDX to get this feature done. Below is the code I currently use on one of my script where I didn't want the titlebar.

Code:
on *:dialog:loading:init:0:{
  $mdx MarkDialog $dname
  $mdx SetFont $dname 2 -a 11 600 Dungeon
   [color:red]$mdx SetDialog $dname style dlgmodal[/color]
  $dll(system\dlls\VStyle.dll,NoTheme,$dialog($dname).hwnd)
}


The line of code in red is what makes MDX remove the titlebar.
© mIRC Discussion Forums