mIRC Home    About    Download    Register    News    Help

Print Thread
#102181 05/11/04 03:43 PM
Joined: Jun 2004
Posts: 291
W
Fjord artisan
OP Offline
Fjord artisan
W
Joined: Jun 2004
Posts: 291
anyone know if theres a dll out there
that can colour in dialogs
i mean all the items aswell
:P
if not
is thee a way i can use the sclick event
with the $mouse identifier
in a dialog window
so i can use pictures to do it?

thanks alot
:P

#102182 05/11/04 09:01 PM
Joined: Mar 2004
Posts: 175
R
Vogon poet
Offline
Vogon poet
R
Joined: Mar 2004
Posts: 175
You can use MDX.dll to colour your dialog, and any items in the dialog at your disposal. You can download it at http://www.dim-bulb.net/~dragonzap/dlls which is at the bottom of the page "mIRC Dialog eXtensions (MDX)". Then make an On Dialog remote event like this:
Code:
On *:DIALOG:DialogName:*:*: {
If ($Devent == init) {

; These 2 dll commands always have to be used in an init dialog event if you are using it for MDX.
dll $Shortfn($ScriptdirMDX\MDX.dll) SetMircVersion $Version
dll $Shortfn($ScriptdirMDX\MDX.dll) MarkDialog $DName

; This tells MDX.dll to set the dialog to the specified rgb colour value.
dll $Shortfn($ScriptdirMDX\MDX.dll) SetDialog $DName bgcolor $Rgb(255,0,0)

; This tells MDX.dll to set a specific id to a certain background, text background, or text colour. For this example, ID number 1.
dll $Shortfn($ScriptdirMDX\MDX.dll) SetColor $DName 1 text $Rgb(255,255,0)
dll $Shortfn($ScriptdirMDX\MDX.dll) SetColor $DName 1 textbg $Rgb(255,255,0)
dll $Shortfn($ScriptdirMDX\MDX.dll) SetColor $DName 1 background $Rgb(255,255,0)
}
}


Link Copied to Clipboard