mIRC Home    About    Download    Register    News    Help

Print Thread
titlebarless dialog #124875 12/07/05 07:13 AM
Joined: Sep 2004
Posts: 73
S
SteeleR Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Sep 2004
Posts: 73
anyone know how to make a titlebarless dialog window ?


HanPeg HanPeg u BuHaru HanPeg nPu noPa}|{eHue kParoM u nAk HanPeg
Re: titlebarless dialog #124876 12/07/05 07:19 AM
Joined: Nov 2003
Posts: 228
S
Seifer Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Nov 2003
Posts: 228
only way I know of is with mdx.dll

Re: titlebarless dialog #124877 12/07/05 07:29 AM
Joined: Sep 2004
Posts: 73
S
SteeleR Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Sep 2004
Posts: 73
10x ... i'll see if it works ...


HanPeg HanPeg u BuHaru HanPeg nPu noPa}|{eHue kParoM u nAk HanPeg
Re: titlebarless dialog #124878 14/07/05 11:48 AM
Joined: Mar 2004
Posts: 139
D
Darkmnm Offline
Vogon poet
Offline
Vogon poet
D
Joined: Mar 2004
Posts: 139
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.