How to get a transparent rectangle in a view
Posted on 2008-06-25
I have an MFC SDI application. In the View I want to draw a rectangle with a black border. However, I want the inside of the rectangle to be empty i.e. transparent. That is, I want to be able to put the rectangle over other shapes in the View and they will appear through the rectangle.
I have tried it so far using
and nothing covered in the rectangle comes through.