UI Framework-1: Browser Window
2021-06-27 13:07
On Windows Vista, we only use the glass mode when desktop compositing is enabled; in Classic or Vista Basic modes we use the XP Luna mode. Because the user is able to toggle the compositing on and off by changing Windows themes, we need to be able to dynamically change frame mode. For more information about how this is done in views, see the views::Widget documentation. The browser window provides two NonClientFrameView subclasses - GlassBrowserFrameView and OpaqueBrowserFrameView which are swapped in the BrowserFrame‘s NonClientView when DWM is toggled.
文章标题:UI Framework-1: Browser Window
文章链接:http://soscw.com/essay/98435.html