Make editor dialog to transparent and full

The editor dialog should be transparent and full size to draw some
virtual windows.
Fix drawing bug

Because of using CPaintDC, the virtual window not drawed in dialog. So I
add getting DC with GetDC() function and draw rectangle.