> 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.
- I'm not shure. The declaration of the NONCLIENTMETRICS structure for win7/Vista has a member more than XP. It is the iPaddedBorderWidth which means the glass border. So, to receive the correct window dimensions you have to pay attention to add the iPaddedBorderWidth, which has to be explicitly retrieved. There is the need to differ between win7 and older versions. May you find this information helpful: http://msdn.microsoft.com/en-us/library/ms724506(VS.85).aspx (look at the iPaddedBorderWidth info)
