Custom Window on Desktop With Transparent Bkg - 24/04/12 06:30 AM
So I basically want to have a @window with rounded corners and this is what I have so far:
I can't seem to get rid of the tiny corners on the rounded edge. Is there a way to do this without a .dll?
Code:
alias dtv.drbkg { var %win = @dtv.bkg | if ($window(%win)) close -@ %win window -Bphf +d %win 1 1 150 300 drawrect %win 1 2 0 0 150 300 drawrect -fd %win 14 1 0 0 150 300 10 10 drawrect -fd %win 15 1 1 1 148 298 10 10 drawrect -fd %win 0 1 2 2 146 296 10 10 drawsave %win $scriptdirdtv_bkg.bmp close -@ %win }
I can't seem to get rid of the tiny corners on the rounded edge. Is there a way to do this without a .dll?