mIRC Homepage
Posted By: ELITEeNergizer Transparent background - 08/09/10 12:59 AM
How can I make only the background transparent? Also I want to make my window's background image transparent but not having to be a desktop window. Is there a dll for this or something?
Posted By: Voglea Re: Transparent background - 08/09/10 01:15 AM
TDialog.dll: http://www.mircscripts.org/download.php?id=2205&type=5

Screenshot: http://i9.fastpic.ru/big/2010/0907/18/f59cd568aff78371f2ac6be8ba474418.png

Main script:
Code:
alias conky {
  var %rgb = $conky::rgb
  window -Cdpw0 +dL @conky -1 -1 $window(-1).w $window(-1).h
  drawfill -r @conky %rgb %rgb 0 0
  dll TDialog.dll TDColor $window(@conky).hwnd > 0 > %rgb
}
alias conky::rgb {
  var %R = $base(FB,16,10)
  var %G = $base(11,16,10)
  var %B = $base(D2,16,10)
  return $rgb(%R,%G,%B)
}
on *:START: {
  conky
}


and.. drawing anything!
/example_time
Code:
alias example_time {
  var %rgb = $conky::rgb
  drawrect -rf @conky %rgb 0 30 20 $width($time,Verdana,30) $height($time,Verdana,30)
  drawtext -r @conky $rgb(255,255,255) Verdana 30 30 20 $time
  if (!$timer(example_time)) .timerexample_time 0 1 example_time
}
Posted By: ELITEeNergizer Re: Transparent background - 08/09/10 01:18 AM
Does this work on channels, queries and general chat windows?

I'm trying to get a transparent background for those.
Posted By: Voglea Re: Transparent background - 08/09/10 01:28 AM
Originally Posted By: ELITEeNergizer
Does this work on channels, queries and general chat windows?

of course. what is background of channel windows? white?
Code:
dll TDialog.dll TDColor $window(#).hwnd > 0 > $rgb(255,255,255)

or $rgb(0,0,0) if black.. thats simple wink
Posted By: ELITEeNergizer Re: Transparent background - 08/09/10 01:31 AM
//dll TDialog.dll TDColor $window($active).hwnd > 0 > $rgb(255,255,255)
Aint working, the transparency isn't changing

Also I want it to work without it having to be a desktop window.

But the transparency doesn't even change when I make it a desktop window.

Does it not work with windows 7?
Posted By: Voglea Re: Transparent background - 08/09/10 01:41 AM
$window(-2).hwnd for main mIRC window
Posted By: ELITEeNergizer Re: Transparent background - 08/09/10 01:46 AM
I want the window to be transparent so I can see my background which would be the red circled area.

http://i53.tinypic.com/fkn0pv.png
Posted By: Khaled Re: Transparent background - 09/09/10 09:56 AM
Windows does not support transparency in MDI windows, so that is not possible. Transparency is only supported on desktop windows.
Posted By: ELITEeNergizer Re: Transparent background - 09/09/10 05:30 PM
Thanks for the reply. Alright so it's impossible for making a dll to do it. But it's possible for it to be implemented in the future by mIRC? Right?
Posted By: Thels Re: Transparent background - 09/09/10 05:39 PM
Originally Posted By: Khaled
Windows does not support transparency in MDI windows, so that is not possible.


As long as Windows doesn't support it, there's really no way for mIRC to support it. You should bug Microsoft :P
Posted By: Pnk Re: Transparent background - 24/02/11 08:52 PM
Originally Posted By: Khaled
Windows does not support transparency in MDI windows, so that is not possible. Transparency is only supported on desktop windows.


Can i still create transparent desktop window (not dialog) using this .dll? I need window without borders and title!
© mIRC Discussion Forums