mIRC Home    About    Download    Register    News    Help

Print Thread
#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
#124876 12/07/05 07:19 AM
Joined: Nov 2003
Posts: 228
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Nov 2003
Posts: 228
only way I know of is with mdx.dll

#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
#124878 14/07/05 11:48 AM
Joined: Mar 2004
Posts: 155
D
Vogon poet
Offline
Vogon poet
D
Joined: Mar 2004
Posts: 155
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.


Link Copied to Clipboard