--- In [email protected], "theophil23" <theophi...@...> wrote:
>
> > So do top corners on win7 work properly while bottom look funny.  Or is it 
> > more than that.
> 
> As far as I can understand without having win7 installed, is the fact that 
> with Aeoro Glass activated the glass border is drawn outside the whole form.
> 
> In other words:
> In PP, when you call SetWindowRgn(IntPtr hWnd, IntPtr hRgn, bool bRedraw)
> the glass border is drawn OUTSIDE of your assigned hRgn value and that's why 
> the glass rectangle is still visible on ALL edges.
> 
> One possible workaround I can think of, is to read the system parameter for 
> the (glass) border width and just add it to your hRgn value.
> 

OK, thanks.  It's not clear to me if that border is a separate window (like 
shadows) or just something special in the way aero draws windows.  Powerpro's 
existing code creates a region which the window is redrawn in as the AND of a 
rectangle set to caption height and width  with any existing region already 
associated with the window (xp round corners are based on the system assigning 
a region to the window).  So if the aero glass boarder was part of the window, 
it should not show.


>


Reply via email to