How to draw the bitmap icon on title bar when Windows Aero theme is enabled
问题 I'm developing a MFC application ( DWM library is not available ). I want to draw a bitmap functioning as a button on the title bar. However, the bitmap won't present when the Aero theme is enabled in Windows 7 (There are no problem when I disable the Aero theme). But my application still reactable by clicking on the position of the bitmap. Does anyone can teach me how to solve this problem? Thanks 回答1: Drawing custom data into the frame area with DWM is described on MSDN, also the hit