Problem Fixed.I did a little bit of thinking and exploring .. and i come up with a suitable if not fantastic solution to that dotty area as mentioned above.
Instead of drawing an ellipse shadow and covering unwanted areas, I drew a filled rectangle and then fill the outside area to COVER the unwanted part of the rectangle.
[b]Pseudo code:[/b]
Create Window.
draw Fill the background of the window with shadow colour
Draw Rounded Filled Box (Dialog Background)
Draw Rounded Hilight box (Dialog Hilight lines)
Draw Shadow Lines for bottom and right side of Dialog
Draw Shadow filled rectangle over bottom right corner to cover Hilight rounded corner
Draw Rounded Border Box
Draw Fill the background of the window with desired colour
Mirc Script Code:alias SME_MENU {
window -adk0opx +f @SME_MENU -1 -1
var %screen.w = $window($active).w
var %panel.w = 300
var %panel.x = $calc((%screen.w / 2) - (%panel.w / 2))
var %screen.h = $window($active).h
var %panel.h = 400
var %panel.y = $calc((%screen.h / 2) - (%panel.h / 2))
var %ex = 50
var %ey = 26
drawfill -r $active $dlgcol(dsh) 0 1 1
drawrect -rfd $active $dlgcol(dbg) 1 %panel.x %panel.y %panel.w %panel.h %ex %ey
drawrect -rd $active $dlgcol(dhl) 1 $calc(%panel.x + 1) $calc(%panel.y + 1) $calc(%panel.w - 2) $calc(%panel.h - 2) %ex %ey
drawline -r $active $dlgcol(dsh) 1 $calc(%panel.x + (%ex / 2)) $calc(%panel.y + %panel.h - 2) $calc((%panel.x + %panel.w) - (%ex / 2)) $calc(%panel.y + %panel.h - 2)
drawline -r $active $dlgcol(dsh) 1 $calc(%panel.x + %panel.w - 2) $calc(%panel.y + (%ey / 2)) $calc(%panel.x + %panel.w - 2) $calc((%panel.y + %panel.h) - (%ey / 2))
drawrect -rfd $active $dlgcol(dsh) 1 $calc(((%panel.x + %panel.w) - %ex) - 1) $calc(((%panel.y + %panel.h) - %ey) - 1) %ex %ey
drawrect -ref $active $dlgcol(dbg) 1 $calc(((%panel.x + %panel.w) - %ex) - 2) $calc(((%panel.y + %panel.h) - %ey) - 2) %ex %ey
drawrect -rf $active $dlgcol(dbg) 1 $calc((%panel.x + %panel.w) - %ex - 1) $calc((%panel.y + %panel.h - 1) - %ey) $calc(%ex / 2) $calc(%ey - 1)
drawrect -rf $active $dlgcol(dbg) 1 $calc((%panel.x + %panel.w) - %ex - 1) $calc((%panel.y + %panel.h) - %ey - 1) $calc(%ex - 1) $calc(%ey / 2)
drawrect -rd $active $dlgcol(dbr) 1 %panel.x %panel.y %panel.w %panel.h %ex %ey
drawfill -r $active $dlgcol(bg) $dlgcol(dbr) $calc(%panel.x + %panel.w - 3) $calc(%panel.y + %panel.h - 3)
}
Result: