Hi, I have a pretty complex problem, let me explain a little.
I am making an SDI application and I am trying to create a kind of skin
for this application.
In may main view's OnDraw, I am Drawing some PNG images that makes the
border that have a semi transparent effect on the edges.
My problem is how do I make the backframe transparent. I was able to
obtain some kind of result by ovverriding the view's OnEraseBackground
method by simply not doing anything in the method. But the problem is
that as soon as I move the window, the semi-transparent region does not
get redrawn, so the graphics from the applications below gets moved
around with the window.
As soon as I minimize/maximize the window or cover it by another window,
it gets redrawn properly.
what kind of message should I send to the window to only get the region
around my borders refreshed?
Is this got to do with the Mainframe containing the View or should I
only deal with the view?
Thanks for any help!