FiRe
New Member
Posts: 1,800
|
Post by FiRe on Jun 9, 2003 11:18:25 GMT -5
I am trying to get a white background on my dialog. I have this br] alias mdx return dlls\mdx.dll on *:dialog:cp:init:*:{ if $devent = init { /dll $mdx SetMircVersion $version /dll $mdx MarkDialog $dname cp /dll $mdx SetDialog $dname bgcolor $rgb(0,0,0) /dll $mdx SetColor $dname 1,2,3,4,7 background $rgb(0,0,0) /dll $mdx SetColor $dname 1,2,3,4,7 textbg $rgb(0,0,0) /dll $mdx SetColor $dname 1,2,3,4,7 text $rgb(200,200,0) } } However this makes the background black!! How do I make it white?
|
|
|
Post by w0rd on Jun 9, 2003 11:21:13 GMT -5
Have you tried replacing the 0's with 225?
3 0's = black
3 225's = white
I think..
|
|
|
Post by Loon on Jun 9, 2003 11:49:17 GMT -5
255
|
|
Trad
New Member
Posts: 1,122
|
Post by Trad on Jun 9, 2003 12:15:47 GMT -5
if mIRC's dialog windows are opened with WS_EX_LAYERED then i can make a dll to make them transparent, but im not sure if it uses that or not :S
But if it does use it, do you think i should make transparency.dll ?
|
|
FiRe
New Member
Posts: 1,800
|
Post by FiRe on Jun 9, 2003 12:23:48 GMT -5
Its all right, thanks Loon ;D
|
|
Fisher
xTeam
If a Stamped Ever Happens to Run at You, Never Stop and Shout Jumangi, it Doesn't Work!!!!
Posts: 3,187
|
Post by Fisher on Jun 9, 2003 14:45:57 GMT -5
trad...how about instead of just transparent....all colours, that way itl give you a bit of a chalange:P
edite** include transparent in the colours:p
|
|
|
Post by tek on Jun 9, 2003 15:25:12 GMT -5
there is already a transparency dll :/
|
|
Trad
New Member
Posts: 1,122
|
Post by Trad on Jun 9, 2003 15:28:50 GMT -5
I dont know how to change backgrounds in the API anyway yet.
when i do, you bet i will add them. but transparency will only work for Win2k/XP, just giving you a foreward warning.
|
|
Trad
New Member
Posts: 1,122
|
Post by Trad on Jun 9, 2003 15:35:36 GMT -5
lol i dont care i will make one anyway.
|
|
|
Post by Lazer on Jun 9, 2003 16:59:08 GMT -5
hmm tek where can u get this dll i wouldnt mind a look at it
|
|
|
Post by DestroyerX on Jun 13, 2003 7:09:52 GMT -5
anyway 2 make the backround white with no dll, just go0d old dialog
|
|
Trad
New Member
Posts: 1,122
|
Post by Trad on Jun 13, 2003 8:41:14 GMT -5
nope.
and if there was, why do you think people use dll's if they didnt have to?
|
|
|
Post by DestroyerX on Jun 13, 2003 18:59:53 GMT -5
ppl do drug's and they don't have 2, ppl buy eh i made my point already, uhmm well that sux eh lol thnx for telling meh ;D
|
|
Nyx
New Member
Mafia2K
Posts: 35
|
Post by Nyx on Jun 13, 2003 20:35:32 GMT -5
hmm tek where can u get this dll i wouldnt mind a look at it probably www.mircscripts.org or search it on google.
|
|
|
Post by [[-B|aDe-]] on Jun 13, 2003 23:40:02 GMT -5
i no how to make it white with out dll's ;D just make a jpg file thats all white and put heaps of them on ur dialog, it takes about 4 times longer to load but it works
|
|